Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Digital Point Thread Avatars Details »
Digital Point Thread Avatars
Mod Version: 1.0.4, by digitalpoint (Coder) digitalpoint is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (44 votes - 4.93 average) Installs: 338
Released: 06 Oct 2011 Last Update: 10 Oct 2011 Downloads: 2012
Not Supported Uses Plugins Auto-Template Additional Files  

Unfortunately, I don't have the time to maintain and support this add-on in two locations. The newest version (and support) can always be found here: https://marketplace.digitalpoint.com...atars.886/item

About
This changes thread icons to be the avatar of the thread starter. It applies to thread listings on forumdisplay, search results and subscribed threads in the UserCP.

Installation
  • Upload the cssrollup_digitalpoint_threadavatars.xml file to includes/xml (this is really only needed if you store CSS as files in the file system)
  • Install the product-dp_thread_avatars.xml product under AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product

Notes
  • Icons are cropped (but never stretched) to be square for display.
  • Threads with no new posts have the avatar slightly greyed out.
  • Locked threads will have a lock image overlayed.
  • Soft-deleted threads will have a red X image overlayed.
  • If the user posted in the thread, they will see a mini version of their avatar overlayed.
  • If a thread is "hot", the shadow of the icon will change color.
  • ZERO SQL queries are added.
  • Overlay images are encoded as CSS data (no extra HTTP requests needed for images or the CSS files themselves).
  • If your site uses pre-defined avatars, they are not scaled down for use as the icon since vBulletin does not store the dimensions (instead, the upper/left potion is cropped for the icon).

Settings
  • You can disable the mini-avatars under AdminCP -> Settings -> Options -> Forum Display Options (forumdisplay) -> Highlight Threads in Which User Has Posted
  • You can disable the hot thread highlight under AdminCP -> Settings -> Options -> Forum Display Options (forumdisplay) -> Hot Threads Enabled
  • You can change the color of the hot thread shadow under AdminCP -> Styles & Templates -> Style Manager -> StyleVars -> dpta_shadow_hot_color
  • You can change the size of the avatar under AdminCP -> Styles & Templates -> Style Manager -> StyleVars -> threadbit_iconsize (since they are square, it keys only on width)
  • If your site uses pre-defined avatars, you should use the AdminCP -> Settings -> Options -> User Picture Options -> Site Uses Pre-Defined Avatars option

Screenshots


Advanced
  • If you want to add your own mini-icon overlays, you can utilize the $template_hook['thread_avatars'] variable to do so.
  • If you want to selectively disable thread avatars, you can set the $show['hide_thread_avatars'] to true. This would allow you to create a custom profile field for users and set the $show['hide_thread_avatars'] based on the user's setting. Alternately you could enable the addon for certain usergroups or just for specific styles.

Download Now

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

Screenshots

Click image for larger version

Name:	threadavatars.png
Views:	10202
Size:	271.3 KB
ID:	133555  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Digital Point Spy digitalpoint vBulletin 4.x Add-ons 446 30 Dec 2016 14:40
Statistics Modifications Digital Point Better Analytics digitalpoint vBulletin 4.x Add-ons 99 06 Oct 2015 09:48
Board Optimization Digital Point Better CSS digitalpoint vBulletin 4.x Add-ons 80 06 Jun 2013 08:42

  #331  
Old 24 Sep 2012, 17:44
Greggg's Avatar
Greggg Greggg is offline
 
Join Date: May 2006
hello,

how do I proceed to make these changes, sorry but I do not understand.


Originally Posted by digitalpoint
If you want to selectively disable thread avatars, you can set the $show['hide_thread_avatars'] to true. This would allow you to create a custom profile field for users and set the $show['hide_thread_avatars'] based on the user's setting. Alternately you could enable the addon for certain usergroups or just for specific styles.
Reply With Quote
  #332  
Old 10 Oct 2012, 21:11
RedTurtle's Avatar
RedTurtle RedTurtle is offline
 
Join Date: May 2006
Hi Shawn,

I'm a big fan of your work and wanted to first of all say thank you for releasing this mod. It works really well and looks great on my site, so thank you very much for that.

My question was whether you foresee yourself adding the picture for the last poster to a thread some point in the future or not? I know a lot of people would love that added functionality and would be more inclined to use it.

I have seen some other plugins on here that add an avatar for the last post by date but they require a lot of template edits and are by no means as neat of a solution as yours is. Would really love it if you could comment on whether you could add the last poster avatar at some point.

Thank you very much.
Reply With Quote
  #333  
Old 11 Oct 2012, 18:23
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
No, there are no plans for that, sorry.
Reply With Quote
  #334  
Old 11 Oct 2012, 18:30
RedTurtle's Avatar
RedTurtle RedTurtle is offline
 
Join Date: May 2006
Originally Posted by digitalpoint View Post
No, there are no plans for that, sorry.
Thank you anyways Shawn.
Reply With Quote
  #335  
Old 17 Oct 2012, 18:53
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Jakobi View Post
This conflicts with http://www.vbulletin.org/forum/showt...275406&page=13

That mod forces this one to use last poster avatar. Any idea how to fix, would love to use both.
I was able to fix this conflict by editing the code and queries. Easiest way to do this would be open this mod's XML file in a text editor.

Do a search and replace:

find all:

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

replace all with:


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

Then import the product file- this worked for me anyway.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #336  
Old 28 Oct 2012, 19:17
ljianyih ljianyih is offline
 
Join Date: Mar 2012
If your site uses pre-defined avatars, they are not scaled down for use as the icon since vBulletin does not store the dimensions (instead, the upper/left potion is cropped for the icon).
Hi, I do take note of the quoted explanation, but I have all pre-defined avatars in the same square 80x80 dimension.

I just want to insert style="width:34px; height:34px;" for the all pre-defined avatar image icons instead of empty style="". Where should I edit the code to insert the fixed width and height inline-style for pre-defined avatars (probably the code under plugin manager)?
Reply With Quote
  #337  
Old 29 Oct 2012, 12:50
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Installed with thanks for testing under 4.1.3pl5 ....

Avatars within posts disappeared and the avatars that appeared in the forum listing turned generic white version, even for people who had set personal custom avatars.

Uninstalled ...

Even after uninstalling, normal forum listing avatars re-appeared, but the personal custom avatars for members that used to appear in postbit have not returned ...

Regards,
Doug
Attached Images
File Type: jpg Screen Shot 2012-10-29 at 8.37.02 AM.jpg (73.1 KB, 37 views)
Reply With Quote
  #338  
Old 22 Nov 2012, 14:38
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Real name: Ryan
Originally Posted by BirdOPrey5 View Post
I was able to fix this conflict by editing the code and queries. Easiest way to do this would be open this mod's XML file in a text editor.

Do a search and replace:

find all:

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

replace all with:


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

Then import the product file- this worked for me anyway.

hey BOP i tryd this fix but for some reason my last post avatar is still grabbing the OP's avatar

=/
Reply With Quote
  #339  
Old 22 Nov 2012, 18:23
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Icon Legend

I installed this MOD to see how it looked. Worked fine, and looks nice. But, the Icon Legend icons aren't changed to reflect what this MOD shows. Was that an oversight, or did I missing something?
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #340  
Old 23 Nov 2012, 12:04
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by RyanFabbro View Post
hey BOP i tryd this fix but for some reason my last post avatar is still grabbing the OP's avatar

=/
Did you re-import the XML afterwards? If you did then I'm not sure what else it could be- it is working for me.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #341  
Old 23 Nov 2012, 12:14
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Real name: Ryan
yeah lol, im not new to this =P

but its all good having avatars everywhere is a little too much, so im only going to stick to using
this mod for thread avatars.
Reply With Quote
  #342  
Old 24 Nov 2012, 02:09
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Originally Posted by Snowhog View Post
I installed this MOD to see how it looked. Worked fine, and looks nice. But, the Icon Legend icons aren't changed to reflect what this MOD shows. Was that an oversight, or did I missing something?
It's normal... it's impossible to put what you see with this mod since every thread has a different icon.
Reply With Quote
  #343  
Old 21 Dec 2012, 18:04
idesignicreate idesignicreate is offline
 
Join Date: Dec 2011
I recently uploaded the Digital Point Thread Avatars plugin, I was kind of disappointed. Reason why I say that, is because I used the plugin previously for another forum and It displayed the first picture from the threads. Now It's just displaying my avatar, I'm trying to find out if there's a way to display the first photo of my thread [similar to a preview type of thing] instead of my avatar?
Reply With Quote
  #344  
Old 21 Dec 2012, 19:31
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
You were using a different plug-in. This one has never done anything with images inside threads. (It would be called Thread Images or something then.. heh)
Reply With Quote
  #345  
Old 05 Jan 2013, 02:08
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
This is awesome.. I am just having one small issue. I am getting a small space beneath the images. I have not attempted to mess with the css yet. I just figured it would be easier to ask you DP. Love your work bro!
Attached Images
File Type: png screen.png (34.9 KB, 23 views)
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

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 05:03.

Layout Options | Width: Wide Color: