Indo-IPB Posted February 6, 2012 Share Posted February 6, 2012 File Name: (Indo32) Today's Top Posters File Submitter: Indo-IPB File Submitted: 06 Feb 2012 File Category: User and Social Engagement This hook will show a Today's Top Posters statistic in your sidebar. here to download this file Link to comment Share on other sites More sharing options...
Smokey-Rev Posted February 8, 2012 Share Posted February 8, 2012 Correct me if i'm wrong but wasn't this already a hook included within IPB? Link to comment Share on other sites More sharing options...
Indo-IPB Posted February 8, 2012 Author Share Posted February 8, 2012 Correct me if i'm wrong but wasn't this already a hook included within IPB? yes, there's already hook like this within IPB but it's for Overal Top Posters and I just editing it according to this topic http://community.invisionpower.com/topic/343166-how-can-i-add-todays-top-poster-in-sidebar/page__fromsearch__1 CMIIW too :D Link to comment Share on other sites More sharing options...
Smokey-Rev Posted February 8, 2012 Share Posted February 8, 2012 Ohhh I see. :D Link to comment Share on other sites More sharing options...
Kandice Posted February 13, 2012 Share Posted February 13, 2012 I can't find any setting to change the number of Members to show, it's always 9. Is this bug? I'm installing this on 3.2.3 Link to comment Share on other sites More sharing options...
JTrollerb123 Posted February 20, 2012 Share Posted February 20, 2012 This is an excellent mod, exactly what I needed! Is there a way to limit the number of characters displayed from each member name, to ensure the box shows 3 members horizontally at all times? I have an issue with a long member name who is bumping the 3rd and subsequent members' boxes to the next lines, causing a large white space: Link to comment Share on other sites More sharing options...
Josh Bond Posted March 17, 2012 Share Posted March 17, 2012 This is a great hook! Simple, easy, and doesn't break anything else! :) I would pay for a version of this that would display the Week's Top Posters (instead of just Today's). Might be a good feature for a free or potentially paid version that does a few extra things. Link to comment Share on other sites More sharing options...
Gangst3r Posted March 26, 2012 Share Posted March 26, 2012 JTrollerb123 you and any who have a problem with long users name issue, I have a solution. Find:<span class='name'>{parse template="userHoverCard" group="global" params="$r"} ({$r['tpost']})</span>[/CODE] Change to: [CODE]<span class='name'>{IPSMember::makeProfileLink( IPSText::truncate( $r['members_display_name'], 9 ), $r['author_id'])}{parse template="user_popup" group="global" params="$r['author_id'], $r['members_seo_name']"} ({$r['tpost']})</span> Or if you want to view members as formatted names by group do this: Find: <span class='name'>{parse template="userHoverCard" group="global" params="$r"} ({$r['tpost']})</span> Change to: <span class='name'>{IPSMember::makeProfileLink( IPSText::truncate( $r['members_display_name'], 9 ), $r['member_group_id']), $r['author_id'])}{parse template="user_popup" group="global" params="$r['author_id'], $r['members_seo_name']"} ({$r['tpost']})</span>[/code] Link to comment Share on other sites More sharing options...
JTrollerb123 Posted April 25, 2012 Share Posted April 25, 2012 thank you! +1 Like =) Link to comment Share on other sites More sharing options...
Gaffney Posted April 25, 2012 Share Posted April 25, 2012 I found this layout was very messy and used a lot of space so I changed it to this, just one per line with a 15px image. <div class='ipsSideBlock clearfix'> <h3><img src='{$this->settings['img_url']}/user_comment.png' alt='' /> {$this->lang->words['todays_top_posters']}</h3> <div class='_sbcollapsable'> <if test="topposters:|:is_array($posters) AND count($posters)"> <ul class='ipsList_withminiphoto'> <foreach loop="top_posters_hook:$posters as $r"> <li class='clearfix'> <a href='{parse url="showuser={$r['member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'></a><img src='{$r['pp_thumb_photo']}' width='15px' height='15px' alt='{$this->lang->words['photo']}' class='ipsUserPhoto_tiny' /> <span class='name'>{parse template="userHoverCard" group="global" params="$r"} ({$r['tpost']})</span> </li> </foreach> </ul> </if> </div> </div> Link to comment Share on other sites More sharing options...
InfinityMods Posted June 15, 2012 Share Posted June 15, 2012 Hi I have this installed on my board and it doesn't appear to be updating. It got to a certain stage after a few hours and it stopped counting members posts, it's the next day now and it's as though it has frozen as it still hasn't changed and is showing yesterdays posters. Link to comment Share on other sites More sharing options...
Xzentley Posted June 21, 2014 Share Posted June 21, 2014 JTrollerb123 you and any who have a problem with long users name issue, I have a solution. Find: <span class='name'>{parse template="userHoverCard" group="global" params="$r"} ({$r['tpost']})</span> Change to: <span class='name'>{IPSMember::makeProfileLink( IPSText::truncate( $r['members_display_name'], 9 ), $r['author_id'])}{parse template="user_popup" group="global" params="$r['author_id'], $r['members_seo_name']"} ({$r['tpost']})</span> Or if you want to view members as formatted names by group do this: Find: <span class='name'>{parse template="userHoverCard" group="global" params="$r"} ({$r['tpost']})</span> Change to: <span class='name'>{IPSMember::makeProfileLink( IPSText::truncate( $r['members_display_name'], 9 ), $r['member_group_id']), $r['author_id'])}{parse template="user_popup" group="global" params="$r['author_id'], $r['members_seo_name']"} ({$r['tpost']})</span> Hello, where i must change this code? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.