vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Forum Home and Forumdisplay avatars (like XF) (https://vborg.vbsupport.ru/showthread.php?t=269031)

kotkerk 09-03-2011 07:33 AM

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 =)

Artes_Marciales 09-03-2011 07:50 AM

Quote:

Originally Posted by kotkerk (Post 2241450)
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!

Artes_Marciales 09-04-2011 08:16 AM

1 Attachment(s)
Another example of error in the image

These errors happen only in new messages.

Best Regards!! : )

kotkerk 09-06-2011 12:03 AM

yep... =)
i confirm, it's bug...
but give me some time, i'll fix this...

Artes_Marciales 09-06-2011 04:27 AM

Thanks!!! : D

kotkerk 09-07-2011 04:08 AM

Artes_Marciales,
download attachment from first post
reupload file search_results_query_threads.php from archive to your server
code of sql query in one file (search_results_query_threads.php) rewrited
i think this update will fix the problem =)
on my local test forum i was not detect this problem

Artes_Marciales 09-07-2011 05:21 AM

Now works fine! : D
Great Mod!
THANKS!!!!

Alfa1 09-12-2011 01:11 AM

Please add an option to place the avatar in the position where the thread icons are now. This is how XenForo does it.
Please add the option / setting to not display the avatar of the last poster. XenForo does not display it either and I think that is best.

* tagged for future use.

kotkerk 09-18-2011 10:06 AM

Alfa1, this is a simple mod, writen out of hours =)
if u want to not display last poster avatar, just remove the code from template
it's simple like bolacha "Maria" :D
in case to place avatar in the position of thread icons, move the code

TerryMason 10-06-2011 08:03 PM

Thanks, this works great!

I did have one problem though. I use another mod named Geek Article Review (gar), and it causes errors with this mod. Specifically:

MySQL Error : Unknown column 'ga.synopsis' in 'field list'

Is the an easy way to keep this mod from running on forums where that plugin is active? Something like

Code:

if($vbulletin->userinfo['userid'] AND in_coventry($vbulletin->userinfo['userid'], true) OR is forum 4,5,6 )
{
      // do nothing
}else{



All times are GMT. The time now is 05:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete