![]() |
Forum Home and Forumdisplay avatars (like XF)
1 Attachment(s)
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 |
I may give this a go later, thanks for sharing your work :)
|
tagged for now thanks, nice demo "Sorry. The administrator has banned your IP address" lol.
|
Quote:
ok, I removed all banned IP's |
Icon and Avatar to Avatar and Icon its better ;-)
|
Great mod! : D
|
1 Attachment(s)
does not work in new results or search :confused:
|
Quote:
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: PHP Code:
Create new file called search_results_query_threads.php put php code in this file: PHP Code:
https://vborg.vbsupport.ru/external/2011/09/62.png |
Amazing!!!
Nominated, I love this mod! Thanks kotkerk!!! |
1 Attachment(s)
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 :o 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 |
All times are GMT. The time now is 12:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|