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: Feb 2020 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: 1208
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.
  #61  
Old 18 Aug 2011, 08:51
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by BlueCheri View Post
Avatar for thread starter is problem, not showing.

May be because of following code?, I have this code in tempate.

<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>

I have added This coed <a href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}"><img height="32px" width="32px" style="float:left;margin-right:4px" src="{vb:raw thread.lastposteravatarurl}" border="0" /></a> above it.

Also is it possible to reduce the size of avatars?

Thanx in advance.
Can you share your url so I can look if there is any issues with the installation because the code looks perfect as of now.

For reducing the size of the avatar change the width and height parameter for images. As of now we have

height="32px" width="32px"

but you can edit it as per your need.
Reply With Quote
  #62  
Old 18 Aug 2011, 08:58
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Thanx for reply.

I have tried to reduce the size of Avatar, but can not able to do it.

Sending you the url.

Thanx again.


Originally Posted by shabbirbhimani View Post
Can you share your url so I can look if there is any issues with the installation because the code looks perfect as of now.

For reducing the size of the avatar change the width and height parameter for images. As of now we have

height="32px" width="32px"

but you can edit it as per your need.
Reply With Quote
  #63  
Old 18 Aug 2011, 09:02
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
I already see it as reduced on the threadlists and if you want to reduce the size on the home page as well you can do that by changing the size from 48px to anything you like

Change height="48px" width="48px" to the size you prefer.
Reply With Quote
  #64  
Old 18 Aug 2011, 09:30
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Looks great.
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #65  
Old 18 Aug 2011, 10:08
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
with this mod, will look like this image?
I say about the sub-avatar ... looks as you have participed in the post.. something like this


as look in this post http://www.vbulletin.org/forum/showp...4&postcount=36
Reply With Quote
  #66  
Old 18 Aug 2011, 11:10
nCODE nCODE is offline
 
Join Date: Aug 2011
umm yes,
@shabbirbhimani: well its kina confusing, so can you specify the version number in the name, like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks man
Reply With Quote
  #67  
Old 18 Aug 2011, 11:19
XANDERER's Avatar
XANDERER XANDERER is offline
 
Join Date: Oct 2008
Real name: KEREM PEKSEN
Thank you very much for this nice add-on.
But I have a problem, member's name appears to the homepage but avatar picture does not appear in all, do you think is the problem? and how we can fix it.



You can see in the picture above, Waiting for your advice.
best regards.
My English is not enough, I'm sorry.
Reply With Quote
  #68  
Old 18 Aug 2011, 11:22
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by nCODE View Post
umm yes,
@shabbirbhimani: well its kina confusing, so can you specify the version number in the name, like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks man
Will do that from the next version onwards.

Originally Posted by XANDERER View Post
Thank you very much for this nice add-on.
But I have a problem, member's name appears to the homepage but avatar picture does not appear in all, do you think is the problem? and how we can fix it.



You can see in the picture above, Waiting for your advice.
best regards.
My English is not enough, I'm sorry.
If user does not have an avatar it shows the unknown default avatar url of vBulletin
Reply With Quote
  #69  
Old 18 Aug 2011, 11:23
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by nacaruncr View Post
with this mod, will look like this image?
I say about the sub-avatar ... looks as you have participed in the post.. something like this


as look in this post http://www.vbulletin.org/forum/showp...4&postcount=36
Not sure if I understand your issue.
Reply With Quote
  #70  
Old 18 Aug 2011, 11:54
XANDERER's Avatar
XANDERER XANDERER is offline
 
Join Date: Oct 2008
Real name: KEREM PEKSEN
but two user has the same, See the user names in the picture

Topic name : [ İnceleme ] Red Faction Armageddon
Nick : XANDERER
Avatar picture : seems avatar

Topic name : [ Ín İnceleme ] Euro Truck Simulator 2 ( ETS 2 )
Nick : XANDERER
Avatar picture : avatar does not appear

the same user name XANDERER (that is my nickname)

Edit : problem is solved
I installed the xml file again

Last edited by XANDERER; 18 Aug 2011 at 12:21.
Reply With Quote
  #71  
Old 18 Aug 2011, 12:29
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
I talking about this.. -the red part- (excuse me my english :S)
Attached Images
File Type: jpg av.jpg (164.4 KB, 47 views)
Reply With Quote
  #72  
Old 18 Aug 2011, 12:50
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Originally Posted by XANDERER View Post
but two user has the same, See the user names in the picture

Topic name : [ İnceleme ] Red Faction Armageddon
Nick : XANDERER
Avatar picture : seems avatar

Topic name : [ Ín İnceleme ] Euro Truck Simulator 2 ( ETS 2 )
Nick : XANDERER
Avatar picture : avatar does not appear

the same user name XANDERER (that is my nickname)

Edit : problem is solved
I installed the xml file again
That was because of the sub forums issue which I am glad is solved for you.
Reply With Quote
  #73  
Old 18 Aug 2011, 12:52
shabbirbhimani's Avatar
shabbirbhimani shabbirbhimani is offline
 
Join Date: Nov 2004
Post

Originally Posted by nacaruncr View Post
I talking about this.. -the red part- (excuse me my english :S)
No this is not the feature of this mod and probably some other mod.
Reply With Quote
  #74  
Old 18 Aug 2011, 15:17
DjEddie DjEddie is offline
 
Join Date: Nov 2007
what bug was on the subforums? .. mine look ok without doing this update .. unless I missed something?
__________________

~IBass-Radio.com~
Reply With Quote
  #75  
Old 18 Aug 2011, 16:16
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Thanx for reply and your time.

Originally Posted by shabbirbhimani View Post
I already see it as reduced on the threadlists and if you want to reduce the size on the home page as well you can do that by changing the size from 48px to anything you like

Change height="48px" width="48px" to the size you prefer.
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 02:27.

Layout Options | Width: Wide Color: