Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Avatars In Thread Listing Details »
User Avatars In Thread Listing
Mod Version: 1.03, by shabbirbhimani (Coder) shabbirbhimani is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (43 votes - 4.91 average) Installs: 261
Released: 16 Aug 2011 Last Update: 21 Aug 2011 Downloads: 1195
Supported Uses Plugins Template Edits Re-usable Code  

Download vB 3.8.x Compatible Version Here

What does this plugin do?

This plugin add user avatars to the thread listing in forum display page. See the sceenshot for sample.



How to Install the plugin?

This plugin requires you edit vBulletin templates.

Import the xml file from the product manager..

Edit the threadbit template.

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add the following just above it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please note: Some custom templates have the above code as
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



And add the following just above it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates as follows.

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add the following code just above it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit search_threadbit

Find the first occurrence of


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add after that


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then again find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add after that


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit search_results_postbit

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add after that


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Upgrading Instructions

If you are upgrading the plugin, just import the new plugin file and overwrite the existing plugins. Once done make the necessary edits to the search templates.

Credits
  1. Last poster's avatar idea by James from VirtueScience

Support

This plugin is supported, so you can post your issues and queries either on my blog or in comments below.

If you would like to Optimize your vBulletin for Less Server Load & Better User Experience, read this post on Optimizing vBulletin

History

Updated 21st August
  1. Added support for avatars in search results.
  2. Fixed bug for thread started by guests.

Updated 18th August
  1. Avatar of sub forums last post bug fixed.

Updated 17th August
  1. Added Support for avatars in forumhome
  2. Avatars linked to member urls

Enjoy!!!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #91  
Old 21 Aug 2011, 05:28
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
The plugin is updated to support avatars in search results thread bits as well as post bits.

Enjoy
Reply With Quote
  #92  
Old 21 Aug 2011, 05:31
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Originally Posted by shabbirbhimani View Post
The plugin is updated to support avatars in search results thread bits as well as post bits.

Enjoy
Nice thank you so much mate, I been waiting for it. lol
will test right away
Reply With Quote
  #93  
Old 21 Aug 2011, 05:36
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by FReeSTER View Post
Nice thank you so much mate, I been waiting for it. lol
will test right away
Great and do let me know if you see any issues.
Reply With Quote
  #94  
Old 21 Aug 2011, 05:37
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
First to report that is working like a charm. It fixed the problem i had with centering the avatars.

great bro. Excellent job... Will add you to my favorites..
Reply With Quote
  #95  
Old 21 Aug 2011, 05:39
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by FReeSTER View Post
First to report that is working like a charm. It fixed the problem i had with centering the avatars.

great bro. Excellent job... Will add you to my favorites..
Always my pleasure.
Reply With Quote
  #96  
Old 21 Aug 2011, 06:19
nCODE nCODE is offline
 
Join Date: Aug 2011
Originally Posted by shabbirbhimani View Post
Perfectly fine with me and I am ready with the vB3 version of it and will be releasing it tomorrow. You can see it action here as of now for testing.
awesome man!!
so... is it from vB 3.8 or vB 3.7 or both?
Reply With Quote
  #97  
Old 21 Aug 2011, 08:18
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by nCODE View Post
awesome man!!
so... is it from vB 3.8 or vB 3.7 or both?
Yes both. Debugging for bugs and releasing ASAP.
Reply With Quote
  #98  
Old 21 Aug 2011, 10:09
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Download vB 3.8.x Compatible Version Here
Reply With Quote
  #99  
Old 21 Aug 2011, 11:57
MoDz MoDz is offline
 
Join Date: Jul 2011
Thank you for Update.
Very nice Addon!
Keep it up
Reply With Quote
  #100  
Old 21 Aug 2011, 14:05
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Fantastic add-on.

One thing people may want to be aware of is that each avatar adds a query to the page.
Now it's worth noting that if you are on vb4, there's a "bug" in the search files whereby, for a "getnew/getdaily" search (New Posts or Today's Posts), the avatar of the thread starter is ALREADY called, (but not used), meaning if you have 20 results per page you are adding 20 queries. This hack then duplicates that, adding another 20.

Andreas has posted instructions for fixing that problem with the search files in THIS Jira bug. If you're not used to DIFF files it can be a bit tricky, but it's do-able.
Reply With Quote
  #101  
Old 21 Aug 2011, 16:55
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Lightbulb

Originally Posted by Mark.B View Post
Fantastic add-on.

One thing people may want to be aware of is that each avatar adds a query to the page.
Now it's worth noting that if you are on vb4, there's a "bug" in the search files whereby, for a "getnew/getdaily" search (New Posts or Today's Posts), the avatar of the thread starter is ALREADY called, (but not used), meaning if you have 20 results per page you are adding 20 queries. This hack then duplicates that, adding another 20.

Andreas has posted instructions for fixing that problem with the search files in THIS Jira bug. If you're not used to DIFF files it can be a bit tricky, but it's do-able.
Yes I would totally agree on this and I will try and see if I can reduce the query by re-using the avatars.

For vB3.8 Mod I have made sure the queries are kept to minimum because we don't have the userid of the last poster and so instead of fetching the userid from username I have created a function to fetch avatar URL from username. You can refer to my blog post here for the same.
Reply With Quote
  #102  
Old 21 Aug 2011, 18:11
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by shabbirbhimani View Post
Yes I would totally agree on this and I will try and see if I can reduce the query by re-using the avatars.
You could do, (which is how I did it on my site), however if they do fix this bug then it will leave the mod broken for subsequent versions. It's a tricky one.
Reply With Quote
  #103  
Old 21 Aug 2011, 18:37
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
Threadbit avatar (file system one also) can be displayed without even adding a single sql query..
You will need to join tables of avatar in $thread array by using forumdisplay_query AND threabit_process plugin.

i remember i did same kind of paid mod for one guy long ago and this mod really gives a cool look to forum.

Last edited by Badshah93; 21 Aug 2011 at 19:05.
Reply With Quote
  #104  
Old 21 Aug 2011, 18:50
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by Sherif View Post
Threadbit avatar (file system one also) can be displayed without even adding a single sql query..
You will need to join tables of avatar in $thread array by using threabit_process plugin.

i remember i did same kind of paid mod for one guy long ago and this mod really gives a cool look to forum.
That's be a handy one to grasp. Beyond my skills at this stage though....
Reply With Quote
  #105  
Old 21 Aug 2011, 20:59
eTiKeT™'s Avatar
eTiKeT™ eTiKeT™ is offline
 
Join Date: Aug 2008
Real name: Serhat
Thanks İnstalled ....
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:52.

Layout Options | Width: Wide Color: