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)
-   -   Forum Display Enhancements - Xenforo Like User Avatars (https://vborg.vbsupport.ru/showthread.php?t=268855)

Kolektor 08-19-2012 11:04 AM

Quote:

Originally Posted by Artes_Marciales (Post 2240700)
This add +100 queries :confused:
Unisnstall : S

I watch each and every queries added with every mod. Can it be done with minimal queries only and will cache it ?

I like the way XF did it but how...

kotkerk 08-19-2012 05:02 PM

Quote:

Can it be done with minimal queries only and will cache it
try this mod =)
https://vborg.vbsupport.ru/showthread.php?t=269031
no additional queries

Tyran1 10-23-2012 10:54 PM

1 Attachment(s)
Bug in Threadbit:

Attachment 141951

Avatar not works on vB 3.8.7

shabbirbhimani 10-24-2012 04:17 AM

It works for me and can you share your forum URL so I can see what is the url of those missing avatar

Tyran1 10-27-2012 08:01 PM

Quote:

Originally Posted by shabbirbhimani (Post 2375555)
It works for me and can you share your forum URL so I can see what is the url of those missing avatar

http://www.tyran.de/tags/deutschland.html

Is it Avatar or Profil pic??

shabbirbhimani 10-28-2012 06:34 AM

Quote:

Originally Posted by Tyran1 (Post 2376384)
http://www.tyran.de/tags/deutschland.html

Is it Avatar or Profil pic??

Thanks for reporting that in the tag template. Will update the plugin with the fix.

shabbirbhimani 11-03-2012 06:22 AM

Quote:

Originally Posted by shabbirbhimani (Post 2376485)
Thanks for reporting that in the tag template. Will update the plugin with the fix.

Sorry to take so long to respond but there is no hooks when fetching thread bits in vBulletin 3.8.x and so we cannot fetch avatars thread results pages as thread bits.

The issue can only be solved once we edit the core vBulletin files but that is not recommended and so will not be able to update the plugin to support it.

If you are fine editing the core vB files, here is what you need to be doing.

Open tags.php file

Find

Code:

eval('$threadbits .= "' . fetch_template('threadbit') . '";');
And Add just above it the following

Code:

($hook = vBulletinHook::fetch_hook('search_results_threadbit')) ? eval($hook) : false;
And the avatars would show for thread results in tag pages.

tommydamic68 11-03-2012 12:44 PM

Quote:

Originally Posted by shabbirbhimani (Post 2377990)
Sorry to take so long to respond but there is no hooks when fetching thread bits in vBulletin 3.8.x and so we cannot fetch avatars thread results pages as thread bits.

The issue can only be solved once we edit the core vBulletin files but that is not recommended and so will not be able to update the plugin to support it.

If you are fine editing the core vB files, here is what you need to be doing.

Open tags.php file

Find

Code:

eval('$threadbits .= "' . fetch_template('threadbit') . '";');
And Add just above it the following

Code:

($hook = vBulletinHook::fetch_hook('search_results_threadbit')) ? eval($hook) : false;
And the avatars would show for thread results in tag pages.

Confirmed - it worked. Thank you!

J19784B5A39B 11-03-2012 06:34 PM

1 Attachment(s)
No Avatar right?

muhakeme 11-04-2012 11:49 PM

It works in vBadvanced. 20 queries in addition : (
My CPU load is high


All times are GMT. The time now is 07:49 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
  • Page Generation 0.01201 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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