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. 1.1.6 is now bbPress 1.0 alpha compatible

    if you see the user info repeat twice in the posts that means you have an early 1.0 release which has a bug that causes that, and need to either upgrade bbPress or edit function post_author_title_link and change it's phrase get_post_author_title_link to just post_author_title_link

    Posted: 3 years ago #
  2. meitershaker

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    works great :p

    Posted: 3 years ago #
  3. Hello,

    This plug in is a fantastic (and very user friendly) idea.

    I have the very last 1.0 alpha (i update reglarily using svn right now rev1679) and still get the info repeated twice..see :
    http://luc.saint-elie.com/bbpress

    In which file can I find the function to correct ?

    Thanks

    Posted: 3 years ago #
  4. The function is in template-functions.php
    You can do an svn switch to the trunk.
    svn switch http://svn.automattic.com/bbpress/trunk/
    The 1.0 alpha tag is locked at that revision number and won't update.

    Posted: 3 years ago #
  5. hey _ck_ mightve missed the solution but I'm also having wrap problems with custom title.

    I tried white-space: nowrap; and white-space: normal; as you suggested but not workin'.

    Using the latest version of the plugin and latest stable version of BBPress. 0.9.0.2?

    Posted: 3 years ago #
  6. Well there is a nowrap in the post-count-plus.php stylesheet:
    $post_count_plus['style']=".post_count_plus {color:SlateGray; line-height:150%; white-space:nowrap;}

    But wrapping of the title can also be affected by the parent container. If you are using a custom theme, look for .threadauthor in it's stylesheet.

    Posted: 3 years ago #
  7. Nekita

    Member

    @beernews:
    Changing the 'space:nowrap' variable in the php file didn't yield the desired result for me either, however changing the equivalent line in the Admin Settings under 'Custom style for post author info' did the trick.
    Hope this helps.

    Posted: 3 years ago #
  8. Wow, this is perfect. :thumbup:

    Posted: 3 years ago #
  9. johnhiler

    Member

    The post counts are working great for me! I wanted to customize the placement of the post count, so I found the php function and added it to the template.

    Is there a similar function I could use to display the Custom Title? I haven't been able to find it in the code... I know there are admin settings, but was hoping for a function I could use to once again customize placement.

    Thanks!
    John

    Posted: 3 years ago #
  10. Hi _ck_ another great plug-in :) Thanks

    Posted: 3 years ago #
  11. I think when I combine this with the subscribe plugin, my postcount doesn't update anymore. Atleast it started adding post count after I deactived the subscribe plugin.

    Posted: 3 years ago #
  12. Hmm, the subscribe plugin is very new and very alpha so it's possible I broke something.

    However it does work fine on my bbpress 0.9 install with both plugins active.

    Posted: 3 years ago #
  13. JesperA

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Awesome plugin, the problem for me is that i changed the default link for the name to point at the author page in wordpress like this:

    <li><?php printf(__('Skrevs för %1$s sedan av'), get_topic_start_time(), get_topic_author()) ?><a href="http://www.speedrevision.se/author/<?php printf(__('%2$s'), get_topic_start_time(), get_topic_author()) ?>"><?php printf(__('%2$s'), get_topic_start_time(), get_topic_author()) ?></a> </li>

    The problem is that this plugin adds the span class inside my link so it gets broken, here:
    http://www.speedrevision.se/forum/topic/testar-en-till-topic
    (my username under the topic)

    Posted: 3 years ago #
  14. johnhiler

    Member

    I have dozens of plugins active on my bbpress install. This is the one plugin that has made by far the biggest impact on posting activity. Interesting, it wasn't the post counts that did it... it was assigning Custom Titles to various levels of posting activity. I am flabbergasted at the impact on posting.

    I strongly recommend this stats plugin along with post-count-plus, so you can see the impact for yourself:
    http://bbpress.org/plugins/topic/mini-stats/

    Posted: 3 years ago #
  15. This is great ^_^

    The only thing I've noticed is that it doesn't realize that my wordpress DB isn't the same as my BBpress DB, so would it be possible to add optional options for accessing the WP database if it's different?

    Posted: 3 years ago #
  16. just wondering if anyone knows a way to change the plugin a little tiny bit so that you can have an icon for "Hot posts" as well.... ones that have 20 or more replies to them, or something like that.

    Posted: 3 years ago #
  17. This plugin is more geared towards highlighting the user data.
    Add topic icons is better for another plugin (ie. Topic Icons)

    That's a good idea though.

    Posted: 3 years ago #
  18. How easy is it to hook into the function that formats the username? Say for the Private Message plug in or the User List plug in? Basically for any place where the name isn't formatted, is there a quick and easy way to do that? :)

    Posted: 3 years ago #
  19. So I basically wrapped the text inside the link in:
    post_count_plus_user_color((empty($user->display_name) ? $user->user_nicename : $user->display_name), $user->ID)

    My guess is this is as good a way as any?

    Posted: 3 years ago #
  20. Well if you want to allow display names, yes that's about right.
    Except that nicename is a sanitized version of the user_login, so for output just use user_login.

    Posted: 3 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.