Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forum Home and Forumdisplay avatars (like XF) Details »
Forum Home and Forumdisplay avatars (like XF)
Mod Version: 1.0.1, by kotkerk (Coder/Designer) kotkerk is offline
Developer Last Online: Jun 2020 I like it Show Printable Version Email this Page

vB Version: 3.8.7 Rating: (3 votes - 5.00 average) Installs: 25
Released: 23 Aug 2011 Last Update: 07 Sep 2011 Downloads: 401
Not Supported Uses Plugins Template Edits Additional Files Translations  

yes, i know =)
exists similar mods, but they produce mount of SQL queries on forum home page and forumdisplay page
i'm tried to create one product, that has no additional queries and save server resources
debug from my test forum (vbkerk.com)
No hack
====
Homepage
Page Generation 0.02608 seconds Memory Usage 1,558KB Queries Executed 10
Forumdisplay (Has threads)
Page Generation 0.03031 seconds Memory Usage 1,878KB Queries Executed 14
Forumdisplay (No threads - Category)
Page Generation 0.02724 seconds Memory Usage 1,832KB Queries Executed 8

Hack installed
====
Homepage
Page Generation 0.02612 seconds Memory Usage 1,600KB Queries Executed 10
Forumdisplay (Has threads)
Page Generation 0.03360 seconds Memory Usage 1,912KB Queries Executed 14
Forumdisplay (No threads - Category)
Page Generation 0.02957 seconds Memory Usage 1,855KB Queries Executed 8

Important Note!
avatar files must be in the File System! Not in Data Base!
and users used custom avatars, not uploaded by admin

====
I will no support this product
I don't know, how forum will work with this mod and mods, that used hooks:
cache_ordered_forums
forumdisplay_query
becouse, if you use hook cache_ordered_forums, you can not add fields, unless unsetting one variable ($counter_select) before

my english is bad, блин =)
live DEMO

Download Now

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

Screenshots

Click image for larger version

Name:	snap221.png
Views:	1203
Size:	39.3 KB
ID:	132277   Click image for larger version

Name:	snap222.png
Views:	1264
Size:	61.4 KB
ID:	132278  

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
Add-On Releases Displays avatars forumdisplay BlackThorn Modification Graveyard 66 04 Feb 2013 22:38
Add-On Releases avatars in forumdisplay Qleb vBulletin 3.8 Add-ons 36 15 Jul 2010 20:52
Add-On Releases avatars in forumdisplay Qleb vBulletin 3.7 Add-ons 62 11 Aug 2009 21:02

Comments
  #2  
Old 24 Aug 2011, 10:23
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
I may give this a go later, thanks for sharing your work
Reply With Quote
  #3  
Old 25 Aug 2011, 01:58
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Real name: Shawn
tagged for now thanks, nice demo "Sorry. The administrator has banned your IP address" lol.
__________________
Sorry Guys, just a little busy lately.
Reply With Quote
  #4  
Old 25 Aug 2011, 13:39
kotkerk's Avatar
kotkerk kotkerk is offline
 
Join Date: Nov 2005
administrator has banned your IP address
probably your IP address was used by some spam bots
ok, I removed all banned IP's
Reply With Quote
  #5  
Old 26 Aug 2011, 20:33
Tyran1 Tyran1 is offline
 
Join Date: Jan 2007
Location: Deutsches Reich
Icon and Avatar to Avatar and Icon its better ;-)
Reply With Quote
  #6  
Old 01 Sep 2011, 05:32
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Great mod! : D
Reply With Quote
  #7  
Old 01 Sep 2011, 08:05
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
does not work in new results or search
Attached Images
File Type: jpg Capture_1.jpg (36.8 KB, 120 views)
File Type: jpg Capture_2.jpg (31.5 KB, 79 views)

Last edited by Artes_Marciales; 01 Sep 2011 at 08:11.
Reply With Quote
  #8  
Old 02 Sep 2011, 13:08
kotkerk's Avatar
kotkerk kotkerk is offline
 
Join Date: Nov 2005
does not work in new results or search
in mod description not promised, that mod would work in search results =)
look at thread title:
Forum Home and Forumdisplay avatars
ok, if you want to add this feature, add new module in:
1.
Plugins & Products
Add New Plugin =>
===
Product = XFAvatar
Hook Location = search_results_query_threads
Title = XFAvatar - search_results_query_threads
Execution Order = 5 (default)
Plugin PHP Code:

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

2.
Create new file called search_results_query_threads.php
put php code in this file:

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

upload this file to your server into folder *your_forum*/krscripts/xfavatar/

__________________
YouTube
Reply With Quote
  #9  
Old 02 Sep 2011, 14:05
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Amazing!!!
Nominated, I love this mod!
Thanks kotkerk!!!
Reply With Quote
  #10  
Old 03 Sep 2011, 06:45
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Sorry to bother you again.
It seems that some users without avatar avatars are not displayed correctly, there is no apparent reason for this failure.
The problem is that the image looks in the folder but they are users without avatars avatar.
The image should have this route images/misc/unknown.gif but somehow find a route in the folder customavatars.
For this error they must have at least 10 new messages in 5 for example you may not see the error
example: http://www.foroartesmarciales.com/se...hp?do=getdaily

I wonder if you could review the code for a solution. Thank you very much for your patience and apologize for any inconvenience.

PL: apologize for my English
Attached Images
File Type: jpg Capture.jpg (22.4 KB, 88 views)
Reply With Quote
  #11  
Old 03 Sep 2011, 08:33
kotkerk's Avatar
kotkerk kotkerk is offline
 
Join Date: Nov 2005
for example, this file does not exists in directory customavatars
_http://www.foroartesmarciales.com/customavatars/avatar18354_2.gif
"Page not found"
==
check it on your server =)
__________________
YouTube
Reply With Quote
  #12  
Old 03 Sep 2011, 08:50
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Originally Posted by kotkerk View Post
for example, this file does not exists in directory customavatars
_http://www.foroartesmarciales.com/customavatars/avatar18354_2.gif
"Page not found"
==
check it on your server =)
sure, the user never had an avatar.
The mod should not seek that route (avatar_userID_2), the mod should look images/misc/unknown.gif
Example: http://www.foroartesmarciales.com/se...hp?do=getdaily

the error is random, sometimes it is about other users other (always without avatar).
That happens in every forum I installed the hack (4 forums).
Thanks for check!
Reply With Quote
  #13  
Old 04 Sep 2011, 09:16
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Unhappy

Another example of error in the image

These errors happen only in new messages.

Best Regards!! : )
Attached Images
File Type: jpg error-2.jpg (20.6 KB, 61 views)
Reply With Quote
  #14  
Old 06 Sep 2011, 01:03
kotkerk's Avatar
kotkerk kotkerk is offline
 
Join Date: Nov 2005
yep... =)
i confirm, it's bug...
but give me some time, i'll fix this...
__________________
YouTube
Reply With Quote
  #15  
Old 06 Sep 2011, 05:27
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Thanks!!! : D
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:32.

Layout Options | Width: Wide Color: