Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[DRC] - Thread Starter Avatars Details »
[DRC] - Thread Starter Avatars
Mod Version: 1.3.1, by Dr.CustUmz (Coder) Dr.CustUmz is offline
Developer Last Online: Aug 2023 I like it Show Printable Version Email this Page

vB Version: 3.8.10 Rating: (6 votes - 5.00 average) Installs: 18
Released: 15 Apr 2016 Last Update: 17 Apr 2016 Downloads: 165
Supported Uses Plugins Auto-Template Additional Files  

[DRC] - Thread Starter Avatars

Nominated for MOTM May 2016 BE SURE TO CAST YOUR VOTE!
http://www.vbulletin.org/forum/showthread.php?t=322496

If this wins, it means it has more interest than I thought. I will put it on high priority =)

Home Page:
http://dirtrif.com

Upon Downloading any DRC product you acknowledge and agree to abide by the following:
Products are designed for default vBulletin, downloads are as is and not gurenteed to work with your custom site.
You are permitted to alter the product code and images for your own personal use.
Under no circumstances is the code (original or modified) permitted to be redistributed.
Exceptions will only be made with written permission from Dirt RIF CustUmz.
All copyright notices must remain in the templates and are not to be modified.
Unless a One-Time or Universal Branding Free license is purchased. (contact me via PM untill the shop is complete)
If you have any concerns in regards to this, please contact me.

Information:
Shows thread starter avatars on thread listings. If your avatars are stored in the database (which vBulletin does by default) this will not add any additional queries, if you have moved your avatars into your file system this will add an additional query for fetching each avatar. Barely any hit to page load though =). Does not remove anything from your template, but does add icons for new post, hot thread, and closed thread that overlap the avatar in a stylish way.

Features:
- thread starter avatar
- hot thread icon
- new thread icon (that links to new post)
- locked thread icon

Planned:
- show last poster avatar as a mini icon on top of thread starter avatar (this will add queries though)
- options to enable disable things
- options for positions

Preview:

Avatars in the database with page load time:

Avatars in the Filesystem with page load time:

and just to be thorough, plugin disabled with page load time:
hardly even a hit =)


Thanks / Credits:
To MarkFL for his constant support, and help.
To Max Taxable for finding the file system bug

If you have any ideas to add don't be shy, and share your thoughts!


Changelog:
---------------------------------------------
v1.3
- vBAdvanced Support
- Plugins only active on specific pages
- Copyright only visible on pages avatars are active
- added T.O.S.

---------------------------------------------
v1.2
- added support for file system avatars in search results

---------------------------------------------
v1.1
- added support for avatars in the filesytem

---------------------------------------------
v1.0
- initial release

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	4vIGmFZ.png
Views:	167
Size:	122.1 KB
ID:	154693  

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.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Please Delete Dr.CustUmz vBulletin 3.8 Add-ons 10 10 Jan 2017 05:49
Mini Mods [DRC] - Currently Active Avatars Dr.CustUmz vBulletin 3.8 Add-ons 0 28 Feb 2016 03:28
Miscellaneous Hacks DRC - Registration Booster Dr.CustUmz vBulletin 3.8 Add-ons 13 08 May 2014 17:06

  #16  
Old 16 Apr 2016, 06:22
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
You can detect if the avatars are in the file system with:


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

This will be an integer value of 1 if the file system is being used, and an integer value of 0 if the database is being used.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #17  
Old 16 Apr 2016, 14:31
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Originally Posted by MarkFL View Post
You can detect if the avatars are in the file system with:


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

This will be an integer value of 1 if the file system is being used, and an integer value of 0 if the database is being used.
yeah but how does that help lol, say i were to use for the img src


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

that would work by itself, without a query. but that _1 at the end is the revision number, so I would need something like $thread[postuseridAvatarRev] where the 1 is, and i dont see any way of doing this without creating queries.

I guess for now i can combine it into one product using, ill just inform that if your avatars on your file system it will create a query for avatar loaded.


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

__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #18  
Old 16 Apr 2016, 19:36
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Datastore? Possible to use that?
Reply With Quote
  #19  
Old 16 Apr 2016, 19:53
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Originally Posted by Max Taxable View Post
Datastore? Possible to use that?
as they say in developing 'anything is possible' lol, but beyond my skillset, this is =P

can you give me an example? a product that uses this method, a way vbulletin uses it? im looking into it now too
__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #20  
Old 16 Apr 2016, 19:57
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
it doesnt even touch the page load whether you have the additional queries or not though (at least from what Ive seen). all the queries mean, is it's asking the database for more information. on some products, queries matter, but from the testing ive put on my crappy little server sitting next to me i have not noticed any stress at all =) and its just a little ubuntu server i made from old pc parts, so if your site is on a real server youll have no issues =)

found a good article, but this may have to wait =)
http://www.vbulletin.org/forum/showthread.php?t=110628
__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #21  
Old 16 Apr 2016, 20:01
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by Dr.CustUmz View Post
it doesnt even touch the page load whether you have the additional queries or not though (at least from what Ive seen). all the queries mean, is it's asking the database for more information. on some products, queries matter, but from the testing ive put on my crappy little server sitting next to me i have not noticed any stress at all =) and its just a little ubuntu server i made from old pc parts, so if your site is on a real server youll have no issues =)

found a good article, but this may have to wait =)
http://www.vbulletin.org/forum/showthread.php?t=110628
Yes I agree this Mod is insignificant as a bloat producer or performance negative. It doesn't hurt page load or performance at all. The only thing it really does is add the kb of the avatar image files, but these are small and not a significant source of bloat either.

I only mentioned the Datastore as a possible solution for some of the coding issues you're getting. But really, you're doing just fine the way it is.

Can we get this for search.php now too?
Reply With Quote
  #22  
Old 16 Apr 2016, 20:05
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
oh yeah forgot had to add the other pages for the file system side.

what other pages other than search would this need to be activated?... i cant think of any others
__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #23  
Old 16 Apr 2016, 20:11
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Pretty sure it's just going to be forumdisplay and search.
Reply With Quote
  #24  
Old 16 Apr 2016, 20:18
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
*update* Added Support for search result avatars if files are in the file system. - thanks max

if your avatars are not in the file system this feature already exists
__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #25  
Old 16 Apr 2016, 22:06
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
thank you ryan
can you make last poster avatar too?
__________________
HASANN
Reply With Quote
  #26  
Old 16 Apr 2016, 22:15
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
already working on it =) and more mini icons =)
__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #27  
Old 16 Apr 2016, 22:18
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
Originally Posted by Dr.CustUmz View Post
already working on it =) and more mini icons =)
I like it how you do those mini icons.. a very good idea please make all of them forum/thread icons like that.
__________________
HASANN
Reply With Quote
  #28  
Old 16 Apr 2016, 22:29
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
I am, just going to take a while got to photoshop every post status icon, then create each combination in css. just got done adding vbadvanced support, ill probably hold off on the release though since no one has requested that lol.
__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #29  
Old 17 Apr 2016, 00:46
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
can I get some feedback on this approach


__________________
If you need custom work done please use Dirt RIF CustUmz
Reply With Quote
  #30  
Old 17 Apr 2016, 01:06
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
very nice
__________________
HASANN
Reply With Quote
Reply

Tags
avatar, avatars, query, starter, thread


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 18:50.

Layout Options | Width: Wide Color: