bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Topic Icons (0.0.5)

Download

Version: 0.0.5

Last Updated: 2008-7-31

Requires bbPress Version: 0.8.3 or higher

Compatible up to: 0.9

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(8)

Your Rating

Author: _ck_


  1. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    It doesn't have that ability yet but it's something I had thought about adding eventually.

    Posted: 1 year ago #
  2. supreme87

    Member

    I got this error in topic icons

    Warning: eregi() [function.eregi]: REG_EMPTY in .../forum/bb-plugins/topic-icons/topic-icons.php on line 127

    Posted: 1 year ago #
  3. codec

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Good job _ck_. Nice Plugin. But I have a small issue with it. Whenever I try to stick or close a topic, it shows [sticky] & [closed] codes in front of the topic icons. How can I remove those codes?

    Posted: 11 months ago #
  4. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    codec, add this to the top or bottom of the plugin:

    remove_filter('topic_title', 'bb_closed_title', 30);
    remove_filter('bb_topic_labels', 'bb_closed_label', 10);
    remove_filter('bb_topic_labels', 'bb_sticky_label', 20);
    Posted: 11 months ago #
  5. codec

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    You are a star _ck_. It worked. Many thanks for your prompt support.

    Posted: 11 months ago #
  6. Hey _ck_,

    Great plugin.

    Just wondering how can I mass-icon a bunch of forum IDs?

    Right now, there's this array:
    $topic_icons['forums']=array("1" => "default", "2" => "default");

    Is there a way to set a default icon for all forums?

    Posted: 8 months ago #
  7. First of all i must say thanks alot for the plugin! It works great!

    I also want to know if there is a way to set a default icon.

    Because if i don't set it becomes blank.

    My issue is that if the topic is in a child/Sub forum I want it to display the Icon of the Parent forum.
    An option could be, if i set an If Statement that checks if the parent forum is "this", then Output This Icon, otherwise output topic_icon(); .. Kind of a hack.. But the get_forum_parent() doesn't work for me.

    Any suggestions??

    But It would be solved If I could just modify the plugin to allow a Default fall back icon.

    Posted: 7 months ago #
  8. Sorry to bump but Im really in need of a "Default icon" fallback. Is there anyone who have achieved this somehow?

    Posted: 7 months ago #
  9. Im' sorry I should have checked the BbShowcase. Answer to what i was looking for was here:

    http://bbshowcase.org/forums/topic/topic-icons-question

    Put a default icon into the list with the name "default"

    Then modify this function

    function forum_icon($automatic=false,$id=0) {

    at the very end it says:
    else {return false;} // nope, nothing found

    change that to

    else {echo topic_icons_graphic("default");}

    Posted: 7 months ago #
  10. Hello,

    It is possible to change the opacity of the icon. If there is a new post 100%, otherwise 50%?

    Posted: 5 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.