bbPress Plugin Browser »

Post Count Plus - Dynamic Titles, Colors & More! (1.1.10)

Download

Version: 1.1.10

Last Updated: 2009-1-27

Requires bbPress Version: 0.8.2 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
(17)

Your Rating

Author: _ck_


  1. We need a private forums system that doesn't revert back to open when you access the admin panel and has more functionality if you get bored =).

    Posted: 3 years ago #
  2. I'm not following the problem with the private forums plugin - it works great for me?

    Posted: 3 years ago #
  3. When you go into the Admin menu, sometimes for some reason the private forums become public again. Also, there's no way to set a private forum for regular members with a password, or add a forum role.

    For example, we need a private donators forum, but have no way to assign a role, or assign a password to a private forum.

    Posted: 3 years ago #
  4. I am currently testing the next (minor) version of this which will show the nicknames in their assigned colours all over the forum, not just the topic lists. This can be previewed at http://bbshowcase.org

    Posted: 3 years ago #
  5. citizenkeith

    Member

    Excellent! Just what I needed.

    I have installed it with 0.9.0.1 and it's working fine. However, some of my users have long custom titles. They are not wrapping in the side column... they are running into the actual post. Do I need to adjust css, or is this something you can change in the plugin?

    Posted: 3 years ago #
  6. Citizenkeith, look for this in the CSS and remove it white-space: nowrap; and that should force long lines in the profile to wrap.

    Posted: 3 years ago #
  7. citizenkeith

    Member

    Thanks _ck_

    I gave it a try, but it didn't work. :(

    Posted: 3 years ago #
  8. @CK:

    There is small bug when it comes to profile page.

    It spits out code as <span class="post_count_plus"><font color....

    In title tag of the page. Check out the profile page here http://www.technospot.net/forums/profile/admin

    Posted: 3 years ago #
  9. should be some minor problem in post_count_plus_custom_title and post_count_plus_user_color .

    Posted: 3 years ago #
  10. Another Update: if I Match USERNAME color to TITLE color? set this option to know. the bug get fixed

    Posted: 3 years ago #
  11. citizenkeith

    Member

    _ck_

    Not sure if you saw it, but the nowrap suggestion didn't work with long post titles. Any other ideas?

    Posted: 3 years ago #
  12. ashishmoht, I can't get your site to load but that problem is not happening on other sites I so I am wondering if you have some other plugin conflicting?

    OH! Wait, there was an update this morning that I rolled back where I add one too many filters. Try downloading a fresh copy and replacing it to see if the title problem goes away?

    citizenkeith, I also can't see a site for you but there must be a parent container that is forcing nowrap - so instead try forcing it back on instead of removing it, ie. white-space: normal; (inside the post-count css)

    Posted: 3 years ago #
  13. _CK_: Works fine now. Thanks

    Posted: 3 years ago #
  14. CK whats the new update about ?

    Posted: 3 years ago #
  15. I accidentally left the special titles turned on in feeds, which is very bad for proper xml. Now properly off in 1.1.2

    You shouldn't lose any settings, just replace the plugin file directly.

    Posted: 3 years ago #
  16. haagendazs1

    Member

    Hi ck,

    I'm having a pretty small problem with this plugin. Everything works seemingly properly but if I have "Match USERNAME color to TITLE color?" set to "Yes", then a small java exclamation mark error appears on the bottom-left corner of IE7 every time I go to the topic page in my forum. If I refresh, this error is gone. The error shows this message:

    Line: 125
    Char: 40
    Error: Expected ')'
    Code: 0
    URL: (localhost address)

    I believe it's pointing to the part in the topic page where the plugin specifies what color to make the username, but I'm not that sure.

    Any help would be greatly appreciated, and thanks for the plugin, it's really awesome :)

    Posted: 3 years ago #
  17. I run with that setting on bbshowcase.org and I don't get that error in IE7. The fact that it's gone when you refresh is very strange.

    In fact now that I think about it, I don't use javascript at all in that plugin. So I highly suspect another plugin or even possibly the bbPress core with jquery.

    If you do a "view source" is there anything helpful at line 125 ? IE is pretty stupid about reporting the location incorrectly, but check just in case.

    Posted: 3 years ago #
  18. haagendazs1

    Member

    Hey ck,

    After looking for the error for a while I think it only happens to Admins who have the ability to delete posts. It comes from this line, in the "<div class='poststuff'>" container:

    onclick='return ajaxPostDelete(43, "<span class="post_count_plus"><font color="SlateBlue">Username</font></span>", this);'

    This line shows up only if you're logged in as an Admin, and it's in the "DELETE" part of the "poststuff". The error is specifically pointing to:

    "<span class="post_count_plus"><font color="SlateBlue">Username</font></span>"

    because of using double quotes instead of alternating single/double quotes. I'm not really sure how to fix this, but if you could help it'd be great. I guess this wasn't too big a deal since it would've only affected Admins :P

    Posted: 3 years ago #
  19. haagendazs1

    Member

    I tried removing the double quotes from the plugin and it made the error go away, but of course this makes the code less nice. In post-count-plus.php, on line 143, I changed it from:

    if ($color) {$user_name='<span class="post_count_plus"><font color="'.$color.'">'.$user_name.'</font></span>';}

    to

    if ($color) {$user_name='<span class=post_count_plus><font color='.$color.'>'.$user_name.'</font></span>';}

    This does fix the error, but is there another way to do it without modifying the plugin? Thanks!

    Posted: 3 years ago #
  20. haagendazs, thanks for pointing that out.

    For some reason I did that inconsistently to my typical technique and I am not sure why, I may have just been tired when I created that part.

    I've also discovered a very nasty problem for admin or mods that can see the delete post link since it uses ajax and tries to place the user's name in there, which gets injected with html. I believe this was related to your javascript error too.

    Try 1.1.3 when you see it here, and see if it solves it like your fix.

    Posted: 3 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.