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: 336
Released: 06 Oct 2011 Last Update: 10 Oct 2011 Downloads: 2007
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:	10183
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 15:40
Statistics Modifications Digital Point Better Analytics digitalpoint vBulletin 4.x Add-ons 99 06 Oct 2015 10:48
Board Optimization Digital Point Better CSS digitalpoint vBulletin 4.x Add-ons 80 06 Jun 2013 09:42

  #286  
Old 18 Jun 2012, 12:32
pokusek pokusek is offline
 
Join Date: Oct 2010
Sometimes I can see this image in the thread avatar when unregistered people start a thread: https://www.vbulletin.com/forum/image.php?u=0

Any idea what might be causing it?
__________________
---
Reply With Quote
  #287  
Old 18 Jun 2012, 17:06
pokusek pokusek is offline
 
Join Date: Oct 2010
It looks like this:

__________________
---
Reply With Quote
  #288  
Old 19 Jun 2012, 19:05
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Is it only doing it for unregistered users?
Reply With Quote
  #289  
Old 22 Jun 2012, 15:35
pokusek pokusek is offline
 
Join Date: Oct 2010
Originally Posted by digitalpoint View Post
Is it only doing it for unregistered users?
Yes. But only for some of them (1 of 5 users has this image as an avatar), which is weird.
__________________
---
Reply With Quote
  #290  
Old 22 Jun 2012, 17:25
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
What is the URL of the avatar showing for them?
Reply With Quote
  #291  
Old 22 Jun 2012, 20:04
pokusek pokusek is offline
 
Join Date: Oct 2010
Image URL: example.com/image.php?u=0

I just reloaded the forum where I saw the missing avatar and these images are gone - I can see only the default "images/misc/unknown.gif" avatar. Maybe it has something to do with caching or something like that.

I also noticed that avatars that have transparency might not show at all:---- (bottom of the page)
__________________
---

Last edited by pokusek; 28 Oct 2012 at 12:13.
Reply With Quote
  #292  
Old 22 Jun 2012, 22:05
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
The transparent ones look like they might be system-installed avatars the user chose? For those, vB doesn't know the dimensions, so we can't scale them down... So the upper left block of the full size image happens to be transparent. For example see some of them here:

http://operenci.cz/forums/13-Identifikace-ptáků

There is a note about that limitation in the first post of this thread...
Reply With Quote
  #293  
Old 23 Jun 2012, 05:05
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009


hi

i have problem after thread reply avatar show Half ?
Reply With Quote
  #294  
Old 02 Jul 2012, 15:37
AlpineZone AlpineZone is offline
 
Join Date: Feb 2006
This looked horrible for me for some reason, it wasn't resizing appropriately
Reply With Quote
  #295  
Old 13 Jul 2012, 00:08
WendM's Avatar
WendM WendM is offline
 
Join Date: Apr 2010
Location: DisUnited Kingdom
Real name: Wendolene
Thanks, Shawn, for this nice Mod, but I've a slight issue with the auto resizing (not) of the avatars as you can see here:


hope you can kindly assist me in what to do, please?
__________________
Reply With Quote
  #296  
Old 13 Jul 2012, 00:51
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Ya, there's a note about that in the first post...

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).
There's just no way to do it since vBulletin doesn't keep track of the dimensions.
Reply With Quote
  #297  
Old 13 Jul 2012, 01:02
WendM's Avatar
WendM WendM is offline
 
Join Date: Apr 2010
Location: DisUnited Kingdom
Real name: Wendolene
darn, what a shame, but thanks for your reply, Shawn!
__________________
Reply With Quote
  #298  
Old 14 Jul 2012, 19:10
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Hey DP, could you tell me what is causing on my template in additional.css to not show the shadow?
http://www.47r-squad.com/general-discussion/
I've been looking there for hours but I can't find it. :/
__________________
www.47r-squad.com BF3|CS:S|TF2|L4D2 Gaming community
Reply With Quote
  #299  
Old 14 Jul 2012, 21:53
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Real name: Shawn
Not sure what you mean... what shadow are you missing exactly?
Reply With Quote
  #300  
Old 15 Jul 2012, 22:21
Khaleal Khaleal is offline
 
Join Date: Mar 2009
I want to report a bug.
When I disable the product (without uninstalling it) the avatars become empty while they should back to their original appearance before installing the product.
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:55.

Layout Options | Width: Wide Color: