bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

show me all your mini-plugin functions

(4 posts)
  • Started 5 months ago by _ck_
  • Latest reply from _ck_
  • This topic is not resolved

Tags:

  1. There are a number of little mini-plugins in simple code form that have never been published in the plugin browser, floating around the forum.

    I've written several myself and already use a single file called "bb-tweaks.php" to keep track of them.

    Let's publish a collective bb-tweaks.php plugin that has them all, with all the actions hooks or direct calls disabled but documented so others can take advantage of the features.

    Post your code, or link to other's code found buried on the forum, here?

    Posted 5 months ago #
  2. This is a great idea.

    I'm not sure if anybody made an official plugin out of this one:
    http://bbpress.org/forums/topic/limit-long-words?replies=13#post-10120

    Posted 5 months ago #
  3. Here's a function that changes the last poster to a link to the last post:

    function geek_addlatest_link()
    {
    global $topic;
    echo ' topic_id) . '">'.get_topic_last_poster($topic->topic_id).'';
    }

    Just needs to be added into a theme like this:

    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php geek_addlatest_link(); ?></td>

    Posted 5 months ago #
  4. Here's one I forgot I wrote awhile back:

    Grab the number of users who call any particular topic a favorite:
    http://bbpress.org/forums/topic/favourites?replies=5#post-8764

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.