Skip to:
Content
Pages
Categories
Search
Top
Bottom

Tags widget / function for bbPress 2.0+


  • POS2012
    Participant

    @pos2012

    I DO like the tags function in this very install (bbpress.org), where I can add the tags I’d like to add to whatever topic I read.

    But in the bbPress 2.1 install I have I can not see that function.

    Is there a way I can call that function in the template, or a widget I can add to WP?

Viewing 5 replies - 1 through 5 (of 5 total)

  • POS2012
    Participant

    @pos2012

    I found that if I go do wp-admin and then to Forum/Topics – and then click “Edit”, I’ll get access to add tags.

    Can I some how add this to the forum topic’s thread to add tags as I can do here at bbPress.org?

    This is the code there:

    I think this is the form start:

    <form name="post" action="post.php" method="post" id="post">

    Then comes this:

    <div class="tagsdiv" id="topic-tag">
    <div class="jaxtag">
    <div class="nojs-tags hide-if-js">
    <p>Add or remove tags</p>
    <textarea name="tax_input[topic-tag]" rows="3" cols="20" class="the-tags" id="tax-input-topic-tag" >my tag 1,my tag 2</textarea></div>
    <div class="ajaxtag hide-if-no-js">
    <label class="screen-reader-text" for="new-tag-topic-tag">Topic Tags</label>
    <div class="taghint">Add New Tag</div>
    <p><input type="text" id="new-tag-topic-tag" name="newtag[topic-tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    <input type="button" class="button tagadd" value="Add tag" tabindex="3" /></p>
    </div>
    </div>
    <div class="tagchecklist"></div>
    </div>

    A hidde field that probably is important:

    <input type='hidden' id='post_ID' name='post_ID' value='44' />

    Then the main post button:

    <div id="publishing-action">
    <img src="http://domain.com/wp-admin/images/wpspin_light.gif" class="ajax-loading" id="ajax-loading" alt="" />
    <input name="original_publish" type="hidden" id="original_publish" value="Update" />
    <input name="save" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="Update" />
    </div>

    Can I use this for anything?

    I’m using bbPress 2.1 too but the tag function doesn’t seem to be missing, and I able to add tag without going to the backend. What are you missing?


    POS2012
    Participant

    @pos2012

    Can you tag a post when NOT replying to a topic or writing a new one?

    Here in bbPress.org I can (as logged in) tag topics I have not participated in. In this way I can make the forum even more cross-indexed etc.

    See the “tags” module to the left here :-)

    Can you do that in your bbPress 2.1 ?

    Sorry for my misunderstanding. I do some research on this page and found these lines :

    <form id=”tag-form” method=”post” action=”https://bbpress.org/forums/tag-add.php&#8221; class=”add:tags-list:”>

    <p>

    <input name=”tag” type=”text” id=”tag” />

    <input type=”hidden” name=”id” value=”41539″ />

    <input type=”hidden” name=”page” value=”1″ />

    <input type=”hidden” id=”_wpnonce” name=”_wpnonce” value=”52b8e94f11″ /><input type=”hidden” name=”_wp_http_referer” value=”/forums/topic/tags-widget-function-for-bbpress-20″ /> <input type=”submit” name=”submit” id=”tagformsub” value=”Add Tag” />

    </p>

    </form>

    The problem is, bbpress.org is using version 1.1 and the 2.1 don’t come with a tag-add.php. However I do find it in the buddypress bp-forums folder (which is a group forum and do different thing)

    The value=”41539″, value=”52b8e94f11″, and value=”/forums/topic/tags-widget-function-for-bbpress-20″ seems to vary between post. But until now I still working on the actual value.


    POS2012
    Participant

    @pos2012

    Any developer / code genius that would like to look at this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar