Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Displaying forum topic tags (21 posts)

Started 2 years ago by: Boone Gorges

  • Profile picture of Boone Gorges Boone Gorges said 2 years ago:

    You can enter tags on your forum topics but they don’t actually show up anywhere in the default theme. Here’s a little code (mostly lifted from the Kakumei theme that comes with bbPress) that you can put into your theme’s groups/single/forum/topic.php where you want forum topics to appear:

    $topic ) ); ?> <?php printf(__('No tags yet.'), bb_get_tag_page_link() ); ?>

  • Profile picture of Boone Gorges Boone Gorges said 2 years ago:

    I guess I’ll do it in pastebin:

    http://pastebin.com/hXgfJnY1

  • Profile picture of Boone Gorges Boone Gorges said 2 years ago:

    PS you’ll probably want to style that ul.

  • Profile picture of rich! @ etiviti rich! @ etiviti said 2 years ago:

    i use this and works as well

    <div id=”topic-tags”>
    <p><?php _e(‘Tags:’); ?></p>
    <?php
    $ttags = bb_get_topic_tags( bp_get_the_topic_id() );
    if ( $ttags ) : ?>
    <?php bb_list_tags( ‘topic=’. bp_get_the_topic_id() .’tags=’.$ttags ); ?>
    <?php else : ?>
    <p><?php printf(__(‘No <a href=”%s”>tags yet.’), bp_get_forum_directory_permalink() . ‘/#tags’ ); ?></p>
    <?php endif; ?>
    </div>

  • Is there any way to show all the groups forum tags on the group page?

  • Profile picture of agrundner agrundner said 1 year, 9 months ago:

    @boonebgorges @nuprn1 thanks for posting the instructions. It answered my query. I think it’s odd that topic tags don’t show up in threads in the default theme. Anyway, it works :) Next thing BP needs to do is provide a forum tag manager tool (unless there’s already one and I didn’t see it) similar to Dashboard > Posts > Post Tags and allow the topic creators to edit tags like they can their Title and Content under Edit Topic. Right now I have to do forum tag management using phpMyAdmin.

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    @boonebgorges @nuprn1 I tried both of these snippets in a new forum with TAGS i added and neither of them are showing the topic tags…
    I posted this in the topic.php direclty under the


    items… Any idea as to why these won’t show up? BP 1.2.5.2 WP 3.0.1

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    direcly under the:
    -?php do_action( ‘bp_before_group_forum_topic’ ) ?-
    -?php if ( bp_has_forum_topic_posts() ) : ?-

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    Ok, I can get @nuprn1 s to work (had to change the quotes back to normal in the cut& paste). How can I make this a tag cloud? Is there a plugin for this… It is simply long-listing them….

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    Ok… so I’m looking at this, I guess what I really want to do is show a Tag Cloud of the Forum Topics in the GROUP. So the Group would show the tags of all the forum topics entered in that Group. Because there are so many forums that “cross” each other within a group, this makes good sense. A Tag Cloud of the tags listed in the forums of a Group… Any ideas? Anyone already doing this and can share? Thanks!

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    Looking at this codex page: http://codex.wordpress.org/Template_Tags/wp_tag_cloud Is there an easy way to use the taxonomy parameter with this? Don’t know.

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    Hey BP gurus… any help or thoughts on this? Thanks.

  • Profile picture of rich! @ etiviti rich! @ etiviti said 1 year, 9 months ago:

    quickly looking around in the bbpress code – i don’t see any forum level tag heat maps – only for top_tags and topic_tags.

    have a look at the code that powers this bbpress plugin, though it may take some reworking for buddypress

    http://bbpress.org/plugins/topic/hot-tags-plus/

  • Profile picture of Pisanojm Pisanojm said 1 year, 9 months ago:

    @nuprn1 Can you post a link as to where you are using the above code that you listed so I can see how you are using it? Thanks.

  • Profile picture of rich! @ etiviti rich! @ etiviti said 1 year, 9 months ago:

    for my first reply? on the topic:

    http://etivite.com/groups/buddypress/forum/topic/quick-tip-disable-group-activity-status-update-post-form-for-members/#topic