View Full Version : Forum Display Enhancements - Digital Point Thread Avatars
digitalpoint
10-05-2011, 10:00 PM
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/thread-avatars.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
https://vborg.vbsupport.ru/attachment.php?attachmentid=133555&d=1318125312
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.
Gemma
10-06-2011, 09:05 PM
Very nice. Thank you.
solohdes
10-06-2011, 09:19 PM
Installed, looks great, but I don't have those extra options in forumdisplay, only regular options. vB4.1.5
PitchouneN64ngc
10-06-2011, 09:27 PM
Will see tomorrow to install it, loving it :)
Thanks :)
Alfa1
10-06-2011, 09:28 PM
Would this work under vb3.8?
digitalpoint
10-06-2011, 09:30 PM
Installed, looks great, but I don't have those extra options in forumdisplay, only regular options. vB4.1.5The settings it uses are built into vBulletin, they are nothing we added. So if they are missing, you may be missing part of your vB install somehow (or maybe you have something installed that hides them?)...
Would this work under vb3.8?No, sorry... vB 4 only. I haven't *tried* it on vB3, but I assume something wouldn't work... :)
TheLastSuperman
10-06-2011, 09:36 PM
Thanks :cool:.
solohdes
10-06-2011, 09:44 PM
My mistake, I have diferent language installed. I have another problem with avatars, the opacity is set to 60%, you can see here:
http://img37.imageshack.us/img37/3512/avatarpc.png
How can I set the opacity to 100%?
digitalpoint
10-06-2011, 09:49 PM
If you don't want the icon/avatars to be 60% opacity when there is nothing new to read, just remove the "opacity:0.6" line from the dpta.css template.
But by default, that's the intended behavior. 100% when there's new posts to read in the thread, 60% when there is not.
pete_brady
10-06-2011, 09:51 PM
Looks very nice indeed, but when I installed things looked very odd in Chrome so had to uninstall (for now).
digitalpoint
10-06-2011, 09:56 PM
Looks very nice indeed, but when I installed things looked very odd in Chrome so had to uninstall (for now).Hmmm... if you have a test site I could take a look at it for you. Chrome is what I use normally and it looks fine for me.
solohdes
10-06-2011, 10:11 PM
The shadow doesn't work on Firefox 7.0.1. Firefox:
https://vborg.vbsupport.ru/
But works on Internet explorer:
https://vborg.vbsupport.ru/
Another bug that appears in Internet Explorer is that the avatar is framed, no transparency. Is this because of internet explorer?
pete_brady
10-06-2011, 10:14 PM
Hmmm... if you have a test site I could take a look at it for you. Chrome is what I use normally and it looks fine for me.
oh i've no doubt it's a problem on my side... will take a look over the weekend.
digitalpoint
10-06-2011, 10:14 PM
The shadow doesn't work on Firefox 7.0.1. Firefox:
https://vborg.vbsupport.ru/
But works on Internet explorer:
https://vborg.vbsupport.ru/
Another bug that appears in Internet Explorer is that the avatar is framed, no transparency. Is this because of internet explorer?
What is the URL to your site? Testing it on mine with Firefox 7 and it seems to work fine.
oh i've no doubt it's a problem on my side... will take a look over the weekend.
Strange though... if you post a screenshot of what you see/saw, I could probably figure out what's going on.
digitalpoint
10-06-2011, 10:30 PM
The shadow doesn't work on Firefox 7.0.1. Firefox:
http://img694.imageshack.us/img694/4821/firefoxoj.png
But works on Internet explorer:
http://img442.imageshack.us/img442/6170/iexplorer.png
Another bug that appears in Internet Explorer is that the avatar is framed, no transparency. Is this because of internet explorer?
You have an overridding CSS definition within your CSS files...
*{ -moz-box-shadow: none !important; -webkit-box-shadow: none !important; }
That is going to kill all box-shadows on Safari, Chrome and Firefox.
Looks like it's in your additional.css CSS template.
monkeyboy1916
10-06-2011, 10:31 PM
Works great so far, except..
Just one small problem. It doesn't seem to support pre-defined avatars. The members that use a pre-defined avatar from my selection, it doesn't show their avatar, and instead shows the "unknown.gif".
digitalpoint
10-06-2011, 10:39 PM
Works great so far, except..
Just one small problem. It doesn't seem to support pre-defined avatars. The members that use a pre-defined avatar from my selection, it doesn't show their avatar, and instead shows the "unknown.gif".Yeah... it was semi-intentional. The code to do it is actually in there, but the query to get the data is commented out.
If you look at the "forumdisplay_query" plug-in, at the end of both the lines, there is a part that is commented out. If you add those back to the uncommented part of the query, it should work.
I've been trying to figure out a way to determine if the site uses pre-defined avatars without adding an extra SQL query to figure it out.
I left all the other logic in there, just commented out the part that adds a JOIN to the existing query for now.
If it turns out there is nothing in options or the datastore that can be read to make the determination, I'll probably add it as a yes/no option you can set. I just didn't want to always add the extra overhead of an extra JOIN if it wasn't necessary (and I'd guess most sites don't use pre-defined avatars).
solohdes
10-06-2011, 10:48 PM
You have an overridding CSS definition within your CSS files...
*{ -moz-box-shadow: none !important; -webkit-box-shadow: none !important; }
That is going to kill all box-shadows on Safari, Chrome and Firefox.
Looks like it's in your additional.css CSS template.
Now works perfect, I love it, I nominate you to MOTM, this hack worth it. I change the line to this:
*{ -moz-box-shadow: all !important; -webkit-box-shadow: all !important; }
digitalpoint
10-06-2011, 11:29 PM
I went ahead and updated it to 1.01... the only change is there is an option for "Site Uses Pre-Defined Avatars" and internally it alters the SQL as necessary. If your site does not use pre-defined avatars, the 1.01 version will be of no use to you.
thecore762
10-07-2011, 12:01 AM
Sweet dp, excellent work!
twitch
10-07-2011, 12:03 AM
awesome! Thanks.
monkeyboy1916
10-07-2011, 12:46 AM
Anybody else having problems with this after upgrading to 4.1.7?
It was working perfectly fine on 4.1.4, and after just upgrading to 4.1.7 it doesn't seem to work anymore.
Thanks.
Edit: Works fine again after rebuilding the CSS as files =)
Mr_Running
10-07-2011, 01:55 AM
Awesome mod digtialpoint !
If a thread is "hot", the shadow of the icon will change color
It would be even better if it change the Icon Legend
digitalpoint
10-07-2011, 01:59 AM
Awesome mod digtialpoint !
It would be even better if it change the Icon LegendYeah, I had thought about it actually... but then it doesn't really make sense since all the thread icons are different (at least from a base).
Then I thought some more, and was like... "When was the last time anyone bothered to go look at the legend in order to figure out what icons meant?" And then I removed the legend from digitalpoint.com (and not a single user has even noticed).
Mr_Running
10-07-2011, 02:08 AM
Yeah just notice that they have been removed with this mod...thanks will see how it goes :) Edit: oh wait wait it still there...:)
It looks like vB changed StyleVars to Style Variable Editor in 4.1.7 ? hmm
digitalpoint
10-07-2011, 02:28 AM
Yeah just notice that they have been removed with this mod...thanks will see how it goes :) Edit: oh wait wait it still there...:)Yeah, addon doesn't remove it... I just did it myself for digitalpoint.com
eTiKeT?
10-07-2011, 05:01 AM
Thanks Very Nice
There is a problem - What's New
digitalpoint
10-07-2011, 05:08 AM
Thanks Very Nice
There is a problem - What's NewWhat's the URL of your site? I'll take a look...
Trevor Hannant
10-07-2011, 05:39 AM
Thanks Shawn!
PitchouneN64ngc
10-07-2011, 07:08 AM
What's the URL of your site? I'll take a look...
I have the same issue. Tried it on http://forum.vbulletin-fr.org/search.php?do=getnew&contenttype=vBForum_Post
Edit: your template 'dpta.css' is not present in source code.
snowlion
10-07-2011, 07:18 AM
I got problems in search member's thread, tag search, and What new?
digitalpoint
10-07-2011, 07:34 AM
Just posted version 1.02, which should fix the CSS weirdness for some people on search results.
PitchouneN64ngc
10-07-2011, 07:37 AM
Just posted version 1.02, which should fix the CSS weirdness for some people on search results.
Fixed, thanks :)
snowlion
10-07-2011, 07:40 AM
Nice mod. Thanks :D
socialteenz
10-07-2011, 03:28 PM
Saw this feature in your forum last week!! Now it's here, awesome!!
Installed & ratted *****
Dr.osamA
10-07-2011, 04:03 PM
Hood work thank you bro
installed + 5 stars
strudinox
10-07-2011, 04:20 PM
How do you uninstall this? Great concept for a mod, but I believe it is incompatible with my theme as it's a CSS nightmare when I install it.
When I uninstall it, It's like it's still partly there. I'm thinking it's because of the template changes? How do I reverse these??
EDIT: nvm, I figured it out. My fault. :p
digitalpoint
10-07-2011, 05:27 PM
How do you uninstall this? Great concept for a mod, but I believe it is incompatible with my theme as it's a CSS nightmare when I install it.
When I uninstall it, It's like it's still partly there. I'm thinking it's because of the template changes? How do I reverse these??
EDIT: nvm, I figured it out. My fault. :pYeah, it may not work with a major custom style since it keys on a few things in some templates. But it should uninstall itself just fine via the normal uninstall option for products.
bluered
10-07-2011, 09:52 PM
Thanks :)
Skyrider
10-08-2011, 08:38 AM
Can this be disabled by the user if the user doesn't like the new changes?
alfanexus
10-08-2011, 09:06 AM
very nice :) Thanks!
digitalpoint
10-08-2011, 09:25 AM
Can this be disabled by the user if the user doesn't like the new changes?No, sorry.. it's not a per user thing. It's either on or off for the site.
Skyrider
10-08-2011, 09:51 AM
No, sorry.. it's not a per user thing. It's either on or off for the site.
Quite a shame actually. Would be great if it would be on by default, but the user given the ability to disable it.
sdebank
10-08-2011, 11:08 AM
Lovely mod.
MrEyes
10-08-2011, 12:10 PM
Looks good, one question though:
Does this mod respect the usercp option to disable viewing avatars?
i.e. If the user has chosen to disable avatars for their account, does this mod still display the avatars or something else?
alfanexus
10-08-2011, 02:35 PM
If you don't want the icon/avatars to be 60% opacity when there is nothing new to read, just remove the "opacity:0.6" line from the dpta.css template.
But by default, that's the intended behavior. 100% when there's new posts to read in the thread, 60% when there is not.
I would like to set it to 100% all the time, but I could not find the "opacity:0.6" in the dpta.css template. Has this been changed?
digitalpoint
10-08-2011, 06:34 PM
Quite a shame actually. Would be great if it would be on by default, but the user given the ability to disable it.I had thought about making it a per user setting, but then I decided to go a more flexible route (which I haven't implemented quite yet). I'm going to have the system read a $show variable for it. That way a site owner could make a simple plug-in to hide it based on any logic they want (could be a setting they have via a custom profile field... or maybe by user group, or per style, etc.)
Looks good, one question though:
Does this mod respect the usercp option to disable viewing avatars?
i.e. If the user has chosen to disable avatars for their account, does this mod still display the avatars or something else?It does because the system does not really consider it an avatar at that point, there would need to be a setting to disable thread icons for something like that to work. But that being said, see response above, because you will be able to disable it based on any logic you see fit (such as the user setting to disable avatars).
I would like to set it to 100% all the time, but I could not find the "opacity:0.6" in the dpta.css template. Has this been changed?Ick... My apologies, I thought I had moved that to the CSS, but after checking, it's still in the template_compile plug-in. As a quick fix, go into that plug-in, and there are two places that "opacity:0.6" exist... just change them to "opacity:1". Then go to AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
I've since moved that styling to the CSS file (for real this time), so it will be there for the next version.
digitalpoint
10-09-2011, 01:00 AM
Changed for 1.03...
Moved opacity CSS to dpta.css template
Overlayed lock icon spills out of thread icon a bit
Added $template_hook['thread_avatars'] so you can add custom things to the thread icon
Added ability to disable add-on on a per page generation basis via $show['hide_thread_avatars'] variable
digitalpoint
10-09-2011, 01:29 AM
Since I'm sure someone will ask how to make a custom setting that users can use to disable Thread Avatars just for themselves, you can go to AdminCP -> User Profile Fields -> Add New User Profile Field
Choose the "Single Selection Radio Buttons" option. These are the settings I use for digitalpoint.com:
https://vborg.vbsupport.ru/external/2011/10/60.png
An important thing to note is what the internal field ID is for your new setting. In my case it's 21... so in the plug-in, we are reading field21.
Create a new plug-in like so (do NOT pick the Thread Avatars as the product since it would get overwritten on an update):
https://vborg.vbsupport.ru/external/2011/10/61.png
You now should have a setting that users can set in their UserCP settings that allows them to toggle Thread Avatars on/off.
You can use a similar plug-in to set the $show['hide_thread_avatars'] variable to "true" for other things if you want (per style, per usergroup, etc.)
digitalpoint
10-09-2011, 05:50 AM
An example of the sort of thing you could do with the new hook location...
On digitalpoint.com, premium members can see the "true country" of a poster... I extended it a bit so premium members show the flag of the country the thread starter is in. I made it so the flag only shows when you mouseover the thread (that way it's normally hidden so it's not too obnoxious).
https://vborg.vbsupport.ru/external/2011/10/66.png
Juggernaut
10-09-2011, 06:38 AM
An example of the sort of thing you could do with the new hook location...
On digitalpoint.com, premium members can see the "true country" of a poster... I extended it a bit so premium members show the flag of the country the thread starter is in. I made it so the flag only shows when you mouseover the thread (that way it's normally hidden so it's not too obnoxious).
https://vborg.vbsupport.ru/external/2011/10/66.png
That's awesome :eek:
alfanexus
10-09-2011, 06:56 AM
When this plugin is enabled it sometimes courses an error on search results. To make sure that its not just on my test site it happens, I testet this on digitalpoint.
http://forums.digitalpoint.com/search.php?searchid=4927464&page=3 searched for "service" and got the following error on page 3:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/packages/vbforum/search/result/thread.php(194) : eval()'d code on line 10
Another search for "rebel" page 14 (http://forums.digitalpoint.com/search.php?searchid=4927528&page=14)
It dosent happen that often on your site, its more frequent on my internal testsite.
digitalpoint
10-09-2011, 07:03 AM
Hmmm... yeah, that could happen if search results returns a thread that was created by a user that no longer exists. If you open the plug-in at the search_results_threadbit location, change this:
$thread = array_merge($thread, $avatar_info);
to this:
$thread = array_merge($thread, (array)$avatar_info);
I made the change to our dev version, so will be part of next version.
alfanexus
10-09-2011, 07:13 AM
wow you are fast :) works perfectly, thanks!
nacaruncr
10-09-2011, 10:33 AM
Who I can change in the mini-avatar the title say "Thread description...." for the username of the mini-avatar??
excuse me my english :S
cykelmyggen
10-09-2011, 11:16 AM
Installed - working perfect - nominated for MOTM :)
grey_goose
10-09-2011, 12:50 PM
This is beautiful and amazing -- thank you so much. Nom'd.
Mostjolly
10-10-2011, 01:22 AM
Hey Shawn,
Thanks for sharing this fantastic hack, is it possible you can add the rounded border effect avatar for "Postbit" template, I've attached the attachment, hopefully it'll give you an idea of what I'm talking about.
Nhat :D
digitalpoint
10-10-2011, 01:30 AM
That would really just be a CSS entry. Add this to your additional.css template and it should work...
.postbit .postuseravatarlink img {
padding: 5px;
border: 5px solid blue;
border-radius: 15px;
}
Obviously replace the blue color with whatever you want.
Mostjolly
10-10-2011, 01:48 AM
Thanks that was easy,
Also are you planning to integrate the exact functionality for the "Forumhome" page listing? (see attachment)
Hmmm.. and for a more advanced developments, I was thinking you could use this same feature for the "Quote" functionality, so basically when I quoted you.. you'd see a little avatar of me at the top bottom right of your avatar.. it's pretty sweet knowing who you're/they're directly communicating to ;)
Nhat
digitalpoint
10-10-2011, 04:57 AM
Thanks that was easy,
Also are you planning to integrate the exact functionality for the "Forumhome" page listing? (see attachment)
Hmmm.. and for a more advanced developments, I was thinking you could use this same feature for the "Quote" functionality, so basically when I quoted you.. you'd see a little avatar of me at the top bottom right of your avatar.. it's pretty sweet knowing who you're/they're directly communicating to ;)
NhatNo, there are no plans to do something similar to the forumhome page or add avatars to quotes.
Skyrider
10-10-2011, 05:12 AM
Since I'm sure someone will ask how to make a custom setting that users can use to disable Thread Avatars just for themselves, you can go to AdminCP -> User Profile Fields -> Add New User Profile Field
Choose the "Single Selection Radio Buttons" option. These are the settings I use for digitalpoint.com:
https://vborg.vbsupport.ru/external/2011/10/60.png
An important thing to note is what the internal field ID is for your new setting. In my case it's 21... so in the plug-in, we are reading field21.
Create a new plug-in like so (do NOT pick the Thread Avatars as the product since it would get overwritten on an update):
https://vborg.vbsupport.ru/external/2011/10/61.png
You now should have a setting that users can set in their UserCP settings that allows them to toggle Thread Avatars on/off.
You can use a similar plug-in to set the $show['hide_thread_avatars'] variable to "true" for other things if you want (per style, per usergroup, etc.)
While I really appreciate you adding the code, would have been great if you copy/paste the code so I can be sure I'm doing it right rather than typing it all over. So far, I've done this:
if ($vbulletin->userinfo['field28'] == 'yes') $show['hide_thread_avatars'] = true;
However, this doesn't seem to work. I've set it to NO in the options menu (on my profile) and yet it still shows up. And yes, I've updated the product. And yes, the field is also correct. Also, I selected the cache_templates. I've done everything and copied everything from your images above, still doesn't work.
digitalpoint
10-10-2011, 07:10 AM
THat *should* be it assuming field28 is being set to 'Yes' for your account.
You can double check by going into phpmyadmin (if you have it installed), going into the userfield table, and checking the record for your userid. Make sure there are no leading/trailing spaces in there.
Hi,
works fine in FF but in IE 8 there is no transparency :(
digitalpoint
10-10-2011, 07:55 AM
The opacity will work in the latest version of IE, but for old versions, if you want it to work, you can go into your dpta.css template and change this:
.threadbit .icon {
opacity:0.6;
}
.threadbit.new .icon {
opacity:1;
}
to this:
.threadbit .icon {
opacity:0.6;
filter:alpha(opacity=60);
}
.threadbit.new .icon {
opacity:1;
filter:alpha(opacity=100);
}
I stopped writing code for old versions of IE. If the user doesn't want to (or can't upgrade to IE), and they also don't want to use a browser that works properly with CSS standards, then ultimately it's their choice.
That being said, if you (personally) want to support old versions of IE, that code will do it. :)
Hi,
thanks.
But what is the Definition of older IE Version ?
I mean, IE 8 is not Old :D
But i have one thing.
If DPTA is activ there displayed me one Thread in Searchresults wit no entry ?
133650
Maybe a Idee for Future updates.
If the Icon Legend under the Threadlist would be updatet with Threadavatars it shows Great :D
Maybe as Example with the no Avatar icon :D
digitalpoint
10-10-2011, 08:36 AM
Hi,
thanks.
But what is the Definition of older IE Version ?
I mean, IE 8 is not Old :D
But i have one thing.
If DPTA is activ there displayed me one Thread in Searchresults wit no entry ?
133650As far as IE goes, anything older than IE9 is what I consider "old". Not necessarily because of it's age, but because it's a terrible browser. The way I figure it is this... if I code something and it works perfect in Firefox, Chrome, Safari and Opera, but not perfectly in IE, then the issue is most likely a problem with IE (in this case old versions of IE not supporting standard CSS), not my code. That being said... IE9 is a pretty good browser. My logic is this... If a user makes the choice to use a browser that sucks, it's ultimately up to them. I'm not going to force a good browsing experience upon them when they consciously choose to not have one. :) At least that's my logic for digitalpoint.com. But since other people may not share my logic, I rolled the extra CSS into 1.0.4 for you.
As far as search results go, it looks like you may have hit this issue (also fixed in 1.0.4 already in the source)... When a thread was created by a user that no longer exists in the user table (the fix is here).
digitalpoint
10-10-2011, 08:55 AM
Updated the download to 1.0.4... the only changes are the CSS for old versions of Internet Explorer, and the issue when search returns a thread created by a non-existant user.
abdobasha2004
10-10-2011, 10:18 AM
nice idea
and welcome back Shawn...
smaacom
10-10-2011, 12:10 PM
great product ... thanks .
for rtl language forum you have to change from "left" to "right" : ( in red )
.threadbit img.self {
max-width:14px;
max-height:14px;
background-color:#ddd;
border:1px solid #555;
padding:1px;
border-radius:2px;
position:absolute;
top:{vb:math {vb:stylevar threadbit_iconsize.width}-14}px;
right:{vb:math {vb:stylevar threadbit_iconsize.width}-8}px;
box-shadow:0 0 1px #eee;
-webkit-box-shadow:0 0 1px #eee;
}
.threadbit.lock .lockicon {
position:absolute;
top:2px;
right:7px;
width:20px;
height:20px;
.threadbit .threadstatus.avatars div.overlay {
position:absolute;
top:2px;
right:2px;
width:32px;
height:32px;
nCODE
10-10-2011, 05:26 PM
I love you man!!! :D
(though I am not a gay ;) )
Brandon Sheley
10-10-2011, 07:20 PM
nice xenforo look :)
I like it
thanks for sharing
digitalpoint
10-10-2011, 08:03 PM
nice xenforo look :)Yep... which I mentioned here: http://products.digitalpoint.com/vbulletin-thread-avatars.php
nacaruncr
10-11-2011, 04:39 PM
Who I can change in the mini-avatar the title say "Thread description...." for the username of the mini-avatar??
excuse me my english :S
anyone???
digitalpoint
10-11-2011, 06:27 PM
anyone???You could probably do it with a template edit... It's nothing we add or change with this plug-in though, so if you want the hover to read something different than it does without the plug-in, you would need to edit a template (I presume).
hugh_
10-11-2011, 07:21 PM
Great mod, thanks! Would it be possible to make the avatar size configurable? The cropped versions don't look so hot...
digitalpoint
10-11-2011, 08:22 PM
It keys on the threadbit_iconsize StyleVar (specifically the width) for it. It doesn't use the height because it just keeps it square.
And I'll be completely honest, I haven't tested altering it to make it larger or smaller, but it *should* work in theory. :)
hugh_
10-11-2011, 09:47 PM
That works nicely, thanks! :)
digitalpoint
10-11-2011, 10:03 PM
That works nicely, thanks! :)What's your website? Mind if I take a look at how it looks with an alternate size?
hugh_
10-11-2011, 10:52 PM
Edit
digitalpoint
10-11-2011, 11:12 PM
Well damn... looks pretty good. I never listed it in the original post as an option since I had not gotten around to testing it, but it appears to work.
hugh_
10-11-2011, 11:28 PM
60 60 px seems about right for me...
Erica1977
10-11-2011, 11:34 PM
Looks nice but isn't this almost the samething as this mod here
https://vborg.vbsupport.ru/showthread.php?t=268618
The link above is what i'm using on my forum see the picture below so looks almost the same.
http://img805.imageshack.us/img805/5397/avatar2s.png
digitalpoint
10-12-2011, 12:01 AM
Doesn't look the same to me... looks like it adds 2 extra images per thread vs. replace one (I don't want so many images for my site). Also, someone was saying that one adds SQL queries for each image displayed. Also something I wouldn't want. But to each their own... {shrug}
Erica1977
10-12-2011, 12:09 AM
Doesn't look the same to me... looks like it adds 2 extra images per thread vs. replace one (I don't want so many images for my site). Also, someone was saying that one adds SQL queries for each image displayed. Also something I wouldn't want. But to each their own... {shrug}
Ok np seems to be the one most are using but guess if some don't want lots of avatar than your mod would go with it thanks was curious not saying your mod is bad it's a great mod too.:up:
hugh_
10-12-2011, 06:03 AM
I've changed the default icon but it's not showing in thread avatars. Is this expected?
digitalpoint
10-12-2011, 07:13 AM
Where are you setting the default icon exactly?
hugh_
10-12-2011, 08:36 AM
I used 'Site Uses Pre-Defined Avatars'...
Where are you setting the default icon exactly?
hugh_
10-12-2011, 09:59 AM
Ignore this, changing the default image (unknown.gif) worked.
rajubd
10-12-2011, 08:21 PM
having problem showing like this
how to fix it?
https://vborg.vbsupport.ru/attachment.php?attachmentid=133747&stc=1&d=1318454475
digitalpoint
10-12-2011, 08:25 PM
Do you have a URL? Looks to me like the CSS template didn't get inserted for some reason.
rajubd
10-12-2011, 09:16 PM
Do you have a URL? Looks to me like the CSS template didn't get inserted for some reason.
Rebuild style fix my problem..
digitalpoint
10-12-2011, 09:28 PM
Did you upload the cssrollup_digitalpoint_threadavatars.xml after you installed the product? Looks like maybe that XML file was missing when you installed the product. If you go to AdminCP -> Maintenance -> Update Counters -> Rebuild Style you should be able to rebuild it now that the file is there.
Nice colors on your site btw... {rolls eyes}
rajubd
10-12-2011, 09:50 PM
Did you upload the cssrollup_digitalpoint_threadavatars.xml after you installed the product? Looks like maybe that XML file was missing when you installed the product. If you go to AdminCP -> Maintenance -> Update Counters -> Rebuild Style you should be able to rebuild it now that the file is there.
Nice colors on your site btw... {rolls eyes}
Thanks for quick solution
onlydesigned
10-17-2011, 09:57 AM
I am not using the default vb skin, after installing it looks like this:
https://vborg.vbsupport.ru/attachment.php?attachmentid=133893&stc=1&d=1318849016
onlydesigned
10-17-2011, 10:05 AM
Well I fixed it!
digitalpoint
10-17-2011, 05:33 PM
What was wrong?
onlydesigned
10-17-2011, 06:15 PM
Nothing really! the ftp client didn't upload the the file somehow:confused:. It works perfect now.
by the way, this is a great mod, should be a standrad feature in vbulletin. For those who don't like it, there could be like an on/off button in vb option.
COBRAws
10-19-2011, 10:37 AM
This is what I call a nice ego-booster for forum users. It will definitely increase thread starters.
xkishorx
10-19-2011, 03:40 PM
well, I dont know if I should be replying here to update that this works. Just marked the mods as installed and it is working the way it is.
Never knew that Shawn Hogan was this helpful as I always saw his strict and negative attitude in DP. (I was a member there, and still is, but not active anymore).
Already installed the spy too, and next one is chat. Loved this 3.
Creative mindset and super awesome coding skills. \m/
Ath3na
10-22-2011, 10:59 PM
This is going to be popular. Thanks for making this great free mod.
Nominated for MOTM
Cheers
ewebdesigner
10-26-2011, 07:08 PM
WOW, this really helps to personalize my forum. One of my favorite mods I have ever found.
Thanks digitalpoint.
great kitten
10-28-2011, 02:23 AM
Does it exist for the version 3.8?
digitalpoint
10-28-2011, 06:55 AM
Does it exist for the version 3.8?Nope, this is for 4.x only.
TitanJeff
10-28-2011, 01:42 PM
Here's another who would love this for 3.8. ;)
digitalpoint
10-29-2011, 01:03 AM
Sorry... no plans to make a version for vB3. I don't have a vB3 forum myself, and since the whole thing was really just made for my own site originally... :)
Przemoo
10-29-2011, 01:15 AM
Hi. how to remove that mini-avatar ? :/
digitalpoint
10-29-2011, 02:42 AM
Hi. how to remove that mini-avatar ? :/All covered in the first post of this thread.
Przemoo
10-29-2011, 11:42 AM
i know but i can't find " $template_hook['thread_avatars']" :/
where is that ?
@edit
ok i found it :) thanks
TitanJeff
10-29-2011, 02:03 PM
Sorry... no plans to make a version for vB3. I don't have a vB3 forum myself, and since the whole thing was really just made for my own site originally... :)
I got it tagged anyway... just in case. ;)
Booyakan
10-29-2011, 02:38 PM
Is there any chance for a brand free version? Perhaps a donation or give you credit with same link in a thread on my forum? Either way, thanks for great mod digitalpoint.
akibui
11-01-2011, 02:55 PM
similar with this MOD https://vborg.vbsupport.ru/showthread.php?t=270794
hugh_
11-01-2011, 08:25 PM
I've just noticed this mod works on the front page of the CMS, good work!
Bram H
11-03-2011, 01:36 PM
Did it stop working in 4.1.7?
digitalpoint
11-03-2011, 06:11 PM
Nope... Still works fine.
hugh_
11-03-2011, 08:25 PM
You need to re-upload the XML...
Did it stop working in 4.1.7?
digitalpoint
11-03-2011, 09:37 PM
If you deleted the XML file before upgrading, then yes... of course you would need to put it back. :)
hugh_
11-03-2011, 10:13 PM
Your mod stopped working for me too after applying 4.1.7...
digitalpoint
11-03-2011, 11:50 PM
Does it do anything? Might need to compile templates or something if something "uncompiled" them... under AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
appleballs
11-04-2011, 10:02 PM
I would like to add this mod to this page:
http://www.politicaljack.com/index.php?pageid=recentthreads
What would I need to do? Thanks.
digitalpoint
11-04-2011, 11:09 PM
The page would need to be based on the existing threadbit template in order to to work.
ewebdesigner
11-05-2011, 12:07 AM
Is there a way so that animated avatars do not animate in those? I would like to keep animated avatars allowed in the forum but find it a little annoying when clicking new posts because there is too much animation.
Thanks for the mod by the way, its great!
digitalpoint
11-05-2011, 12:24 AM
Sorry there isn't (other that disallowing animated avatars). The system doesn't process/read the avatars themselves, so it doesn't know if they are animated or not... it simply outputs the avatars that are there.
nocte
11-13-2011, 10:02 PM
I suppose the original avatars are taken and are not resized and stored seperately - is that correct?
I such a feature planned?
digitalpoint
11-13-2011, 10:45 PM
Correct... it does not store additional versions. There are no plans to do that.
sadiq6210
11-14-2011, 04:47 AM
Happy to see it as a product
We made it manually after modified many templates (Author avatar + last post avatar)
I want to restore all templates and use this awesome product, but is there a chance to add last post avatar in forumhome? so I can use only this product.
Thanks Shawn
shuangddr
11-15-2011, 03:28 AM
Very nice mod
Lazorbeam
11-16-2011, 11:45 PM
Thanks Very Nice
There is a problem - What's New
I had the same problem when I turned on store CSS in file system.
Turned it off and the problem went away. Yes, I have the cssrollup_digitalpoint_threadavatars.xml file uploaded to includes/xml.
digitalpoint
11-16-2011, 11:55 PM
Was the XML file always there? If you uploaded it after you installed the plug-in, you would need to recompile the thread avatar templates (under AdminCP -> Maintenance -> Update Counters).
Lazorbeam
11-17-2011, 05:31 PM
Was the XML file always there? If you uploaded it after you installed the plug-in, you would need to recompile the thread avatar templates (under AdminCP -> Maintenance -> Update Counters).
Tried that, no dice.
Running 4.1.4 if it matter any. Regardless, great mod, I'm still using it :P.
Question though - this mod made my "what's new" page load very slow. I believe it's because of all the "large" avatars being resized. Are there any plans to pre-shrink the avatars one way or another?
vigneshrajesh
11-17-2011, 05:35 PM
Just installed and working great..thank you so much for this awesome mod..
digitalpoint
11-18-2011, 05:19 AM
Tried that, no dice.
Running 4.1.4 if it matter any. Regardless, great mod, I'm still using it :P.
Question though - this mod made my "what's new" page load very slow. I believe it's because of all the "large" avatars being resized. Are there any plans to pre-shrink the avatars one way or another?Do you have a URL where you are seeing it?
As far as storing a resized version, no... there are no plans to.
sadiq6210
11-18-2011, 03:45 PM
Could you see the attached photo
There is some avatars which is not in the center (there is empty space in the right)
This is my dpta.css & the icon size= 42x42 px
.threadbit .threadstatus.avatars {
background:transparent none no-repeat 0 0 !important;
width:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px !important;
height:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px !important;
padding: 2px;
min-height:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px;
overflow:hidden;
margin:5px 10px 6px;
border: 1px solid #A5CAE4;
border-radius:4px;
}
.threadbit .threadstatus.avatars img.icon {
min-height:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px;
}
.threadbit.hot .threadstatus.avatars {
box-shadow:0 0 0 1px #777, 0 0 3px 2px {vb:stylevar dpta_shadow_hot_color};
-webkit-box-shadow:0 0 0 1px #777, 0 0 3px 2px {vb:stylevar dpta_shadow_hot_color};
}
.threadbit .icon {
opacity:0.7;
filter:alpha(opacity=70);
}
.threadbit.new .icon {
opacity:1;
filter:alpha(opacity=100);
}
.threadbit img.self {
max-width:20px;
max-height:20px;
background:#fff;
border: 1px solid rgb(206, 206, 206);
padding:1px;
border-radius:2px;
position:absolute;
top:{vb:math {vb:stylevar threadbit_iconsize.width}-15}px;
right:{vb:math {vb:stylevar threadbit_iconsize.width}-6}px;
}
.threadbit.lock .lockicon {
position:absolute;
top:2px;
right:7px;
width:20px;
height:20px;
background:URL(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAUCAYAAAB Sx2cSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5c cllPAAAAuFJREFUeNqklF9IU3EUx7/7c7dd3dza5h+2aUYlS9AeSlPBfEiUSAtMxAeFoBZU2kOYTxFWF PhSlk9i4EtlFIi9lgMtqBfFcNjsISrUMHPrzn/bvd7tdn5jkyvSSx343N89957v75x7fr/f1SiKgn81PbtoNJq0z24yCBfhJixEjPhBLBBrRGKHWCV0Go3GE 1VVlZ3l5WWHwuEw77A7xGBwbn58YmIwEomMUswiEU8qVGXbeJP J19vbG5qanFQu+nybRUUHVxobG1b9/jFl+NnTjWyn8w7F5W2nS4m1RFV7W9vCo4d9itvtniH/AnGSaLVara+ud3VJ3d1dAvmnCaNabKaAG7dv9cQLCvK/kl9H8Kn5OaLUZrONd3ZcUfI9ntFUP5IZmVlIfIwapxWEyAfyA0 Q09W6L+CKKon91dU3ZY7eXkG9Xi00cp7fKsgy9XhdWCdMmUYWR RCKe0Om0hnTZ6W5nSJJkptkhilIh+ZXEunpJaeJiNnk8nmz0Dn F2dfXxvUfLytHcvFxBGY7wPK/hOA5MEIvF2Kipr6/TObNzsmZmAha12NHU1GSpra2Fy+VysE1DDYLZbEY0GoUgCKDK4 PV6kZubZ+rv789UizmWgQUwmHhjYyM5sqwM9px9Fosj0+3YYQa DgeCoYRy24nrISiYUbSZ4XkvfKWNL1iAq6qHAgF3b883YBGaD3 xFe+oj6ChlujxaBgA4jfhkhQUJjjQElOfsghTZ3iz0ZbxH+Noa +wVkMDQFXW4HOFqCoAegZAG7eMyIw7UTZYde2OL3OWPwFdDTHE HgOXDoL3H8CFJwCBkaAB9eAd4+1iEVj6B8Wd2WOe7ztCMr7YTB NoeWcgpozRkx/5qhkGS/mZFSWcui5ewD+9ys477ucUIuXIsJPcX7BonwKSoqeM8Bm5WDN4 qmJEn4LW3j5eh2Fe0OacGiZpV5KnmF2MGhJHHRfTOSmzvXfTEk Jg0QI//Mb+iPAADsYK/mrQU8kAAAAAElFTkSuQmCC) top right no-repeat;
}
.threadbit .threadstatus.avatars div.overlay {
position:absolute;
top:2px;
right:2px;
width:32px;
height:32px;
background:URL(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAAB NChwpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5c cllPAAABe1JREFUeNrEVwlslEUUfjPzX3svLe0WemyhBVpaLJQ WKkYFFI9gqCYcApEjASEYCVdQ7sMjJEYBo6KYiKCCmkCAVjkqV xSxsqVCaSmUs/QAWnpsKe12d//n21ZIY4QeoL7sZDeZefO99+Z938wKaGXdZSX0mbjew0I0Q1SJ2 12BAE3wEE2hEQYQnWK3p4b4/RFlul7SPGEA0Ja8MHLFpW1fl+LhLPTt2IbZb8wtnNQ3boEAsD0 ocBR9ZkREzM+aOCH76uqV3p3po64P0dQFNCWDJoTp+zcXZuDZf MTsnxF/2I743SbELR8jrl2Jh1569nSq2ZTeGeBogMjlUZHvF0ydXIUfrs PceXO942NjP5MA+tO0CKxhkVZr/KVd2wtEsB2w5CqguwawrgagthrAXQ2iwQ23Ll6GZUdy162rrFt CPrfbArZQRcdYrbNnpiTPTxo4MLT89m1Yn3UgY+O5c2vrAX6hJ d47a4Xb46k6fiy7NMFkTO0WZDGzxnrAmqpmcN1dBfrNG6A11sB zRn9aeL0n7WCD/zB5194L/FHBh70XFb5tysDkyY6wMFOGK6d4ekbmoszKytXkV0hL9Nbr2Z0 fRoCYKUn9Zs8ZOnhKL4fNCjWV4K24BlhdQUHcBN+tW2Bo8kNmW X3B9GrvyxUAea03stIWs1R55XiHY15I9+6iSZLhk6KiAx9cv7H IB3C83ecWBJC0uJdzc3n6Y14cm4YNw2OwJqkrVvSxYVm0CWsjN NxjlS6HMTbwjk8CY8lbVem3810seMEZibk9e+CLmrYxQKxOdy4 10PAN4faDtYmhWBdnx1KnCa+EqXgxRMHyYAV3GkSxA2BAOmdTf 1VEbaFBwTNGAx60mD2pnC+jLcwPg7rqUMFm/hSslVQS+CUCLrTLmG+WsMgocJ/Ma10Sx1OCYYEkcKcs1cQCzGimVztNtDHvv4zg2t7g2+VtwtBHG CRyP0KTjuDxk0AgqkgthYiQC1A616+/XgzwVcAP/g3rz2D8HoVX5MkMcyjr4wwwh/CPMPBFMDatM3vyjizuyphf8qPspyroNABbUg1iTEzlbEwLmTpm or0LJ3O2eBWDDSZEzaO3HLJCJOaCykAjVWYx15AZCxD3PdSyyw zYfMHX53OGJwgrm/LOp+8vOCuZyNk3LoXjOWrI81YJT9pkfx/ORj80cBMD8Y7gmwo4oAtawE8T+G7B6kgHxgWEbBhnc3Ktkr+U6 FnZXcMdQUqx0sziBzQjga8RbEsBawH/ncZJqsIxieskPAta989gwablhapN7hgjeuPMONsif9taZTtu5L qIs08DpSYNbe72XOr6MzLHdKpIoDh/dxkk8WlXYkw6ptjwerwFews2ttP4kzhbSkKPrkD2gbOXGF5QOa 6S+Qma7nEvv6dUPr86wYqYbMOtDi1w8XTtMPjjnKXnBDIOcJyy zqUmKzIIzNSE28rg+TaDN0prPRSEp68VR6nirQ6Bd2HQbRdnZa f/yvoPyvqMSWChRcLBnL3dTtqqa2zKXky04rFwYzVdCAntDmAeZ5 +fFRxz6axPaRwLSPPLusi4UBWBR4SjvfvQEy9qn8NQjHFWfNUg bWyXUxiD3kftlsZ8k4p5xOszxOurdPn8aJdrqONGdPQo+3E2qt xp1l3djHX0QkpsU4qftlhGR8f2UEWQFRQDvRVVDpykbm29fzM9 ow51NIA8HXe/f6PxyyRFmEcq4pU2A0iLinjCENsTDJHhoAXbQDMqgAqHUh1P07 SvM2za0OBb6rrluzHBKI9j92DE3QDsYY5gLToKDM6I5mEMsYFq UgKS0GlBocqVLa/1LKbjcDoZS7lvANWIlQYKQIsMBBAJpuhI8JotcFPHqgdR1Cyfv mnvbe/hJM7S7hvA/sKi/WCzg6FnNKgR4SCc0ZDdJJddRzj1gKqur2j0zcrT9aP/JM93eX2xru6sk/MRyU8O6SY0DcqKrsDMQ653y33+DGi++TtvdBSV9C/jYtsKQvydHN/7o0WDBmTGq+prLa/t/8ek/wroTwEGAGpnU7W6Ocq9AAAAAElFTkSuQmCC) top right no-repeat;
}
digitalpoint
11-18-2011, 06:58 PM
What is the URL?
sadiq6210
11-18-2011, 07:16 PM
Please check your pm's Shawn
digitalpoint
11-18-2011, 08:02 PM
Oh... looks like it's a RTL issue. If you change the "Calculate Avatar For Thread" plug-in to this, does it work?
if ($show['hide_thread_avatars'] != true) {
if ($thread['avatarid']) {
$thread['avatarurl'] = $thread['avatarpath'];
} else {
if ($thread['hascustomavatar'] AND $vbulletin->options['avatarenabled']) {
if ($vbulletin->options['usefileavatar']) {
$thread['avatarurl'] = $vbulletin->options['avatarurl'] . '/avatar' . $thread['postuserid'] . '_' . $thread['avatarrevision'] . '.gif';
} else {
$thread['avatarurl'] = 'image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $thread['postuserid'] . '&dateline=' . $thread['avatardateline'];
}
if ($thread['width'] == 0) {
$thread['avatar_css'] = 'min-height:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;min-width:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;';
} elseif ($thread['width'] == $thread['height']) {
$thread['avatar_css'] = 'width:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;';
} elseif ($thread['width'] < $thread['height']) {
$thread['avatar_width'] = vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6;
$thread['avatar_height'] = $thread['height'] / ($thread['width'] / (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6));
$thread['avatar_css'] = 'width:' . $thread['avatar_width'] . 'px;position:relative;top:' . intval(((vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) - $thread['avatar_height']) / 2) . 'px;';
} else {
$thread['avatar_height'] = vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6;
$thread['avatar_width'] = $thread['width'] / ($thread['height'] / (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6));
$thread['avatar_css'] = 'height:' . $thread['avatar_height'] . 'px;position:relative;' . vB_Template_Runtime::fetchStylevar("left") . ':' . intval(((vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) - $thread['avatar_width']) / 2) . 'px;';
}
} else {
$thread['avatarurl'] = '';
$thread['avatar_css'] = 'height:' . (vB_Template_Runtime::fetchStylevar("threadbit_iconsize.width") - 6) . 'px;';
}
}
}
sadiq6210
11-19-2011, 04:28 AM
Thanks Shawn :up:
It is better now, but still there is a strange bug in resizing the avatar (the width and even in height)
See this screen-shot
Note that:
I added ( padding: 2px; ) in dpta.css
https://vborg.vbsupport.ru/showpost.php?p=2269256&postcount=134
digitalpoint
11-19-2011, 07:07 AM
Remove the 2px padding? :) That's the issue.
sadiq6210
11-19-2011, 07:16 AM
Remove the 2px padding? :) That's the issue.
I want to put a space between the border and the inside img like the padding
Is there another method can I use it to get same result?
Because I am using the padding in online avatars, last post avatar and I didn't face any problem.
digitalpoint
11-19-2011, 09:12 AM
You would need to wrap the existing avatar inside a new div and put the padding/border on that one. The current border it has is also used to crop the avatars (as you noticed).
sadiq6210
11-19-2011, 10:39 AM
You would need to wrap the existing avatar inside a new div and put the padding/border on that one. The current border it has is also used to crop the avatars (as you noticed).
Where can I add the new <div>?
If you can guide me to make this
Thank you Shawn
digitalpoint
11-19-2011, 07:00 PM
No idea, sorry... Never have tried it myself.
kiafaq
11-22-2011, 03:46 PM
Hello,
The avatar shows bleaching, low intensity of color. Is it normal?
digitalpoint
11-22-2011, 06:27 PM
If there is nothing new to read in the thread, yes.
The Vegan Forum
11-22-2011, 08:32 PM
I can't import the XML file, only get Invalid File Specified...
digitalpoint
11-22-2011, 08:55 PM
Odd... what version of vBulletin are you using?
The Vegan Forum
11-22-2011, 09:02 PM
4.1.8
digitalpoint
11-22-2011, 10:14 PM
Maybe it got mucked in the download somehow? Did you try downloading it again by chance (maybe with a different browser)?
thecore762
11-23-2011, 07:13 AM
Shawn, I am having some issues when I use this mod, see attachment:
Basically in google Chrome/FF the avatars showing huge.
Edit *disabled highlight thread* and that fixed that*
Also the default avatars showing in the back.
Can that be fixed?
digitalpoint
11-23-2011, 08:07 AM
Are you using CSS files saved as files, and if so... did you upload the necessary XML file before you installed?
thecore762
11-23-2011, 08:12 AM
Yes, I uploaded that first, then installed.
sadiq6210
11-23-2011, 01:43 PM
Shawn, I am having some issues when I use this mod, see attachment:
Basically in google Chrome/FF the avatars showing huge.
Edit *disabled highlight thread* and that fixed that*
Also the default avatars showing in the back.
Can that be fixed?
I faced this issue
I re-uploaded the files, then updated the counters (Rebuild the styles) and it was fixed
thecore762
11-23-2011, 02:52 PM
There weren't any updates when I rebuild styles.
Yes I did re upload the files few times but no success.
sadiq6210
11-23-2011, 02:59 PM
Try to re-install the product-dp_thread_avatars.xml and choose (rewrite)
thecore762
11-23-2011, 03:35 PM
Already done that. Didn't do anything.
sadiq6210
11-23-2011, 03:45 PM
Strange! because I didn't edit anything when I faced this issue
So it is better to follow with the product coder (Shawn)
digitalpoint
11-23-2011, 07:25 PM
Where is the URL you have it running?
thecore762
11-23-2011, 10:30 PM
Ok DP, I found out why it kept doing that.
I disabled "Store CSS Stylesheets as Files" and now it works fine.
Not sure why I have to disable it to make it work.
Any idea?
I did upload the file that you instructed to upload.
My URL: www.47r-squad.com
digitalpoint
11-23-2011, 11:59 PM
Did you try rebuilding the CSS files it uses under AdminCP -> Maintenance -> Counters?
Are you sure you uploaded the *right* XML file (since there are two it comes with)? :)
thecore762
11-24-2011, 02:30 AM
Yep I did, I uploaded the one that was in the upload folder /includes/xml.
I did rebuild counters.
Would you like admins and you can test it out?
uninvited13th
11-24-2011, 09:11 AM
doesn't work properly on 4.1.8 :(
digitalpoint
11-24-2011, 06:51 PM
doesn't work properly on 4.1.8 :(Are you certain? Did it work with 4.1.7 for you? Not sure why it would stop working with 4.1.8 unless the default style totally changed (which it didn't).
shuangddr
11-24-2011, 11:50 PM
4.1.8,Below small icon is not Last Poster’ avatar。
thecore762
11-26-2011, 07:59 PM
So DP, want to give it a try on my forums?
valendono
11-27-2011, 01:17 AM
hi dp, nice mods you have here.
is there any chance you will update this version to include the 'user post avatar' displayed too on the thread list?
digitalpoint
11-27-2011, 03:23 AM
I just tested it with 4.1.8, and it seems to still work fine for me. Maybe you just need to rebuild your templates (under AdminCP -> Maintenance -> Counters)?
tme_power
11-27-2011, 05:43 AM
I've changeed the direct link to avatar into its thumbs, this will save a lot bw and page load time.
thecore762
11-27-2011, 05:07 PM
I just tested it with 4.1.8, and it seems to still work fine for me. Maybe you just need to rebuild your templates (under AdminCP -> Maintenance -> Counters)?
I did rebuild the counters.
So filesystem works for you?
Papa Bear
11-27-2011, 08:58 PM
works great in 4.1.8..marked as Installed.
valendono
11-27-2011, 10:17 PM
I did rebuild the counters.
So filesystem works for you?
i have 4.1.3 installed with filesystem css. and it's worked fine.
thecore762
11-28-2011, 04:33 AM
Well I don't know why it's not working for me....everything else works fine with filesystem except this.
vexxy
11-30-2011, 10:31 AM
and that flag hover thingy you got going on @ DP, is it a separate plug or you don't plan on releasing that one yet? :)
vexxy
11-30-2011, 11:01 AM
and one more thing, everything works great, but pre-defined avatars aren't resized properly.
Edit: I don't know how I miss reading this in the details:
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).
Is there any workaround for this? Unfortunately, 70% of my users use pre-defined avatars :( or to force this somehow, my pre-defined avatars are the same fixed size
BadgerDog
11-30-2011, 06:09 PM
Installed this with thanks ... :)
Tested with v4.1.3pl1 and avatars didn't appear....
Uninstalled ...
Regards,
Doug
digitalpoint
11-30-2011, 06:09 PM
and that flag hover thingy you got going on @ DP, is it a separate plug or you don't plan on releasing that one yet? :)It's a totally separate thing... probably not going to release that as it's just one small part of a much larger framework we use (it's not an isolated/installable thing).
and one more thing, everything works great, but pre-defined avatars aren't resized properly.
Edit: I don't know how I miss reading this in the details:
Is there any workaround for this? Unfortunately, 70% of my users use pre-defined avatars :( or to force this somehow, my pre-defined avatars are the same fixed sizeNo, there is no workaround since vB doesn't store the dimensions (we can't calculate the scaling without knowing the size to start with).
stusgarage
11-30-2011, 08:20 PM
After uninstalling this mod I'm stuck with "misc/unknown.gif" next to every post the user replies to:
https://vborg.vbsupport.ru/external/2011/11/1.jpg
Forcing me to disable "Highlight Threads in Which User Has Posted" in Forum Display Options.
I've tried reinstalling/reuninstalling your mod and rebuilding the style, neither correct it.
vb 4.1.3, landthieves.com
digitalpoint
11-30-2011, 09:33 PM
Strange... did you disable it before uninstalling it by chance? There is some trickery it has to do with compiled templates, so if it's disabled when you run the uninstall, it can't do the necessary cleanup.
stusgarage
12-01-2011, 04:36 AM
Strange... did you disable it before uninstalling it by chance? There is some trickery it has to do with compiled templates, so if it's disabled when you run the uninstall, it can't do the necessary cleanup.
I did uninstall with the product disabled.
The problem has been fixed, however. I believe our cdn server had cached the css and, as it only refreshes once a day, it didn't take note of the uninstall.
thecore762
12-01-2011, 05:34 AM
and one more thing, everything works great, but pre-defined avatars aren't resized properly.
Edit: I don't know how I miss reading this in the details:
Is there any workaround for this? Unfortunately, 70% of my users use pre-defined avatars :( or to force this somehow, my pre-defined avatars are the same fixed size
I think that's probably why if I enable CSS storing the avatars all look messed up for me.
OldSchoolDSL
12-04-2011, 03:15 AM
Installed and working.
4.1.8
Thank you very much.
Pvtiste
12-06-2011, 05:03 PM
Wow awesome work!! Thanks for sharing ;)
Adam H
12-08-2011, 11:48 PM
Anyone notice after the 4.1.8 update the search_threadbit template no longer displays them ?
digitalpoint
12-09-2011, 03:22 AM
Seems to be working fine for me after upgrading to 4.1.8... Are your CSS files stored in the file system?
thecore762
12-10-2011, 04:42 AM
BTW this is what it looks like in IE with CSS Stylesheets as Files on.
Looks even worse on Google Chrome.
Uninstalled for now until dp can come up with a solution regarding this.
Adam H
12-10-2011, 10:59 AM
Seems to be working fine for me after upgrading to 4.1.8... Are your CSS files stored in the file system?
Its ok i figured it out, There was a another modification installed which was using the Search Results threadbits and search_results_threadbit hooks , i guess they got in the way of each other.
I wasnt using the other one in the search pages anyway so i just disabled the other mods hooks in those locations.
Lazorbeam
12-15-2011, 11:06 AM
Does it do anything? Might need to compile templates or something if something "uncompiled" them... under AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
This fixed the product for 4.1.4 -> 4.1.8 for me.
SteveLV702
12-19-2011, 03:40 PM
worked fine on 4.1.8 just updated to 4.1.9 and now looks horrible so plans for a fix anytime soon?
http://f.cl.ly/items/0d062R0R0q3i1c0y271s/Screen%20Shot%202011-12-19%20at%208.39.47%20AM.png
digitalpoint
12-19-2011, 06:43 PM
Did you rebuilt the templates it uses after upgrade?
sisterhood
12-19-2011, 07:35 PM
Perfect Mod
OldSchoolDSL
12-19-2011, 08:44 PM
I had to re-install this for 4.1.9
After upgrading I didn't even notice that it had stop working. There was no negative affect, which is good. I simply had import the product again, select overwrite, yes, and all was working again.
Installed and working wonderfully :)
Thank you Digital Point :D
thecore762
12-20-2011, 04:55 AM
hey DP, it works now!
I upgrade to the latest version of vB 4.1.9 and everything works with the other option on.
fishmaster
12-21-2011, 02:18 AM
Is their a master option to turn it on?
Have uploaded both files, installed twice, no love for me...
fishmaster
12-21-2011, 02:27 AM
Got the love to happen. Added the product a 2nd time, it compiled the templates..
fishmaster
12-21-2011, 02:28 AM
Super Nice, MOTM and worship status... :>
thespi
12-21-2011, 02:30 AM
Will this work with gravitars?
OldSchoolDSL
12-30-2011, 03:14 PM
I had to re-install this for 4.1.9
After upgrading I didn't even notice that it had stop working. There was no negative affect, which is good. I simply had import the product again, select overwrite, yes, and all was working again.
Installed and working wonderfully :)
Thank you Digital Point :D
Tested working on 4.1.10 Alpha 1 and Alpha 2
Expect (but can not guarantee) it to work on final version / build. :)
master85
01-06-2012, 01:50 PM
Hi,
Very nice mod, but I've a little problem with it: I've installed this mod on my board and every seems to works fine, except that for some users (one user in this specific case) is impossible to view the mini-avatar on the topics in which him has posted.
By the way, me and other users, have not encountered this problem.
Thanks in advance,
Joe.
digitalpoint
01-06-2012, 07:50 PM
Do you have a URL I could look at?
Raioneru
01-08-2012, 03:41 AM
I installed on 4.1.9 but it doesn't seem to work, anyone has any idea why?
digitalpoint
01-08-2012, 05:11 AM
Works fine on 4.1.9 for me... what's your URL?
BlueCheri
01-08-2012, 05:21 AM
Yes it works fine for 4.1.9, thanx Shawn for this mod.
Looking forward for more from you.
Raioneru
01-08-2012, 07:43 AM
Works fine on 4.1.9 for me... what's your URL?
I currently have my forum off since we are moving from SMF so I don't want my users getting on the new forums. If you're looking for anything in particular I can post anything you need otherwise I guess I'll wait until the forum is available to ask for your help. Thank you.
cs28702
01-09-2012, 05:31 AM
Did not work for me , 4.1.4
see image
digitalpoint
01-09-2012, 10:59 AM
Looks like the same issues some other had where they didn't upload the cssrollup_digitalpoint_threadavatars.xml and they have CSS stored as files... any chance that's the same thing?
FiRe_MaStER
01-09-2012, 02:13 PM
How can I block this plugin for Guests (because of cpu) , I wanna open it just for registered users and mods admins vb.
edit:
also I have the same issue with
Did not work for me , 4.1.4
see image
Devil_Dog
01-09-2012, 05:05 PM
Working in 4.1.9.
Thanks!
cs28702
01-10-2012, 04:37 AM
Did not work for me , 4.1.4
see image
Looks like the same issues some other had where they didn't upload the cssrollup_digitalpoint_threadavatars.xml and they have CSS stored as files... any chance that's the same thing?
I did upload, but yes I do have css stored as files
see attached
thecore762
01-10-2012, 04:53 AM
Looks like the same issues some other had where they didn't upload the cssrollup_digitalpoint_threadavatars.xml and they have CSS stored as files... any chance that's the same thing?
I did upload, but yes I do have css stored as files
I was having the same issues.
DP, I think it's something to do with the CSS store files, some of the plugins are having issues.
It's not just your plugin, but HMBeaty's plugin the social media one is having the same issues.
My problem was fixed when I upgraded from 4.1.8 to 4.1.9.
I am not sure if vBulletin is having some problems with CSS store files.
Might need to have this looked at.
digitalpoint
01-10-2012, 06:14 AM
Looks like the same issues some other had where they didn't upload the cssrollup_digitalpoint_threadavatars.xml and they have CSS stored as files... any chance that's the same thing?
I did upload, but yes I do have css stored as files
see attachedTry rebuilding your CSS files under Maintenance -> Counters?
cs28702
01-10-2012, 06:30 AM
I don't see an option for css????
thecore762
01-10-2012, 06:32 AM
I don't see an option for css????
AdminCP>Maintenance>Update Counters> Scroll all the way down and you will find Rebuild Styles
Rebuild Styles
cs28702
01-10-2012, 06:37 AM
That fixed it! Awesome! I know 4.1.4 is old but got TIRED of the constant minor updates. I won't be upgrading until 4.1.10 patch level 23
lol
Thanks for your awesome work as usual
OldSchoolDSL
01-10-2012, 10:48 AM
Any reason why I must always re-apply this upon every upgrade?
digitalpoint
01-10-2012, 07:46 PM
Any reason why I must always re-apply this upon every upgrade?You don't need to reinstall, but you would need to go to AdminCP -> Maintenance -> Counters -> Compile CSS Templates
This is because during the upgrade process the vBulletin installer rebuilds styles, but does not trigger it's own plug-ins for hook locations that are relevant to the compilation of templates (no idea why).
Raioneru
01-11-2012, 02:16 AM
I was able to find why wasn't working, thank you for the mod. :3
The Vegan Forum
01-11-2012, 06:36 PM
I have made this plugin work again by following the instructions above, but wonder if a problem we have with small avatars not showing up in the forum sidebar (other than the file we use for people with no avatar) has something to do with the us of this addon? Anyone?
frightie
01-13-2012, 01:15 AM
Doesn't appear to work properly anymore after 4.1.10
Papa Bear
01-13-2012, 01:34 AM
yes it does..DigitalPoint says to compile the css in AdminCP -> Maintenance -> Counters -> Compile CSS Templates.. but i had to overwrite the xml to get it to work on 4.1.10
frightie
01-13-2012, 01:57 AM
Yeah, looks like it works now after having reuploaded the product. Thanks for the heads up!
bskr84
01-13-2012, 07:21 AM
how could i uninstall Completely?
i have uninstalled it , but it is Still there.135726
digitalpoint
01-13-2012, 09:50 AM
how could i uninstall Completely?
i have uninstalled it , but it is Still there.135726Make sure you *don't* disable the product/plug-ins before uninstalling. Part of the uninstallation is it cleaning itself up. If you disable portions of the add-on, you may be disabling the cleanup functions.
Mark Hewitt
01-13-2012, 07:38 PM
Where's the option for compile CSS in 4.1.10?
At the moment it's showing the initial text of the thread next to each thread.
bskr84
01-13-2012, 09:26 PM
Make sure you *don't* disable the product/plug-ins before uninstalling. Part of the uninstallation is it cleaning itself up. If you disable portions of the add-on, you may be disabling the cleanup functions.
Hi digitalpoint , i did't disable the product/plug-ins . First i uninstall the product/plug-ins , then delete this file (includes/xml/cssrollup_digitalpoint_threadavatars.xml). But that is still there
digitalpoint
01-13-2012, 10:23 PM
Where's the option for compile CSS in 4.1.10?
At the moment it's showing the initial text of the thread next to each thread.
AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
Hi digitalpoint , i did't disable the product/plug-ins . First i uninstall the product/plug-ins , then delete this file (includes/xml/cssrollup_digitalpoint_threadavatars.xml). But that is still thereStrange if the uninstaller isn't working for some reason... the easiest way to clean up the compiled templates would be to install the addon real quick... then go to AdminCP -> Plugins & Products ->Plugin Manager and then disable the "Alter Compiled Templates" plug-in.
Then go to AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
Once you do that, it should recompile the templates without the changes it makes and you should be able to uninstall it (regardless if the uninstaller works or not).
iBaker
01-18-2012, 02:40 AM
This is just brilliant DD.
Nominated and liked
lycheepassion
01-23-2012, 07:50 AM
Nice, now how to encourage users to select avatars?
hugh_
01-23-2012, 08:28 AM
You might be missing an option to show the default avatar for users who've deleted their accounts...
prandah
01-26-2012, 01:02 PM
i have install but not show on admincp option ?
edited :
work now : i rebuild css
raymondblog
02-02-2012, 04:09 PM
Looks great but then it adds a lot of extra requests, dropping the google pagespeed score.
scottct1
02-14-2012, 03:15 PM
How do I set this so that the unregistered users do not see the thread avatars?
I am having someone optimize my site for fastest loading and "Specify image dimensions" is biting me in the butt for the avatars that are being shown on the forum display page.
Thanks!
BlueCheri
03-07-2012, 12:52 PM
After up-gradation to 4.1.11 not working.
Re installed the, mod.
Can you help me please.
G!
digitalpoint
03-07-2012, 03:52 PM
Did you do the rebuild under Counters menu?
vetty
03-07-2012, 09:51 PM
Works on vb 4.1.11
Thank you. Looks excellent now.
Ckrismoney
03-12-2012, 08:55 PM
Looks great Thanks! Adds that extra people community look.
BlueCheri
03-13-2012, 04:41 AM
Sorry don't know about that?
Can you please give more details?
G!
Did you do the rebuild under Counters menu?
digitalpoint
03-13-2012, 05:33 AM
AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
BlueCheri
03-15-2012, 11:12 AM
That works, many thanx.
G!
AdminCP -> Maintenance -> Update Counters -> Compile Thread Avatar Templates
satlazone
03-20-2012, 01:08 PM
I have RTL problem.
http://img600.imageshack.us/img600/5703/sssnd.png
look at the locked thread icon.
edit: same happens to the mini icons :/
hugh_
04-04-2012, 05:57 AM
You might be missing an option to show the default avatar for users who've deleted their accounts...
Any thoughts on this DP? :)
Seahunter
04-05-2012, 10:58 PM
I love this mod. Using vbulletin 4.1.11 PL 1, I can not get the Mini-Avatars to work consistently. Sometimes you see them with the correct user avatar and sometimes they are the default avatar. It seems to come and go so had to uninstall.
New Joe
04-06-2012, 12:07 AM
I love this mod. Using vbulletin 4.1.11 PL 1, I can not get the Mini-Avatars to work consistently. Sometimes you see them with the correct user avatar and sometimes they are the default avatar. It seems to come and go so had to uninstall.
I had the same problem.
dawges
04-08-2012, 08:38 PM
Installed and love it! Thanks so much.
Webrunner
04-09-2012, 02:59 PM
how can i change what avatar is used for guests?
skokarl
04-10-2012, 05:35 AM
works it under 4.1.1 ?
Webrunner
04-11-2012, 10:16 PM
The avatars dissappeared after i upgraded to 4.1.12
How can i get them back?
Itried disabling and enabling the mod but that didn't help.
digitalpoint
04-12-2012, 04:51 AM
The avatars dissappeared after i upgraded to 4.1.12
How can i get them back?
Itried disabling and enabling the mod but that didn't help.https://vborg.vbsupport.ru/showpost.php?p=2287451&postcount=226
AURFSCAN
04-12-2012, 05:26 AM
enable/disable per forum in options would be good :)
Webrunner
04-13-2012, 07:39 AM
https://vborg.vbsupport.ru/showpost.php?p=2287451&postcount=226
Thanks, i missed that one !
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.