A Zayed Posted January 17, 2013 Share Posted January 17, 2013 File Name: (ZoZ) Members avatars in board index statsFile Submitter: ZaIeDFile Submitted: 17 Jan 2013File Category: Hooks and Plugins This hook displays members avatars in board index instead of their FORMATTED display names, including search bots.Click here to download this file Link to comment Share on other sites More sharing options...
TeamJesus Posted January 17, 2013 Share Posted January 17, 2013 Thank you for this, rather cool to have instead of just names :) epic Link to comment Share on other sites More sharing options...
-Bry5012- Posted January 18, 2013 Share Posted January 18, 2013 will this work on 3.3.4? Link to comment Share on other sites More sharing options...
A Zayed Posted January 18, 2013 Author Share Posted January 18, 2013 will this work on 3.3.4? Yes Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 18, 2013 Share Posted January 18, 2013 Nice hook! :smile: EDIT: Uninstalled. It added 4 new queries to my board index! :o Also you're overriding all the getActiveUserDetails function, so other hooks in that function won't work. EDIT 2: in other forum I support, goes from 8 to 66 queries. The problem is probably here: $result['member_name'] = IPSMember::buildProfilePhoto( $result['member_id'], $size=mini, $noCache=false ); buildProfilePhoto has a IPSMember::load. I think this problem won't happen if you add a join to profile_portal table on this function query: $this->DB->build( array('select' => 'id, member_id, member_name, seo_name, login_type, running_time, member_group, uagent_type', 'from' => 'sessions', 'where' => "running_time > {$time}" ) ); So you can use buildDisplayData to grab the photo. Untested, of course. Link to comment Share on other sites More sharing options...
A Zayed Posted January 18, 2013 Author Share Posted January 18, 2013 Thanks Adriano, Going to check that Link to comment Share on other sites More sharing options...
Passion Posted January 18, 2013 Share Posted January 18, 2013 so whats the outcome here as im looking at this Link to comment Share on other sites More sharing options...
Van2 Posted January 19, 2013 Share Posted January 19, 2013 not working on my site, Must be a conflict with another hock Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.