vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Username HTML Markup 4.2.x (https://vborg.vbsupport.ru/showthread.php?t=229146)

Boofo 04-30-2012 06:24 PM

That doesn't work everywhere, though. ;)

BirdOPrey5 04-30-2012 06:28 PM

It also sounds like it will add a query for every time it is called, which can be many times per page.

SEOvB 04-30-2012 07:38 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2324978)
It also sounds like it will add a query for every time it is called, which can be many times per page.

That....is a good point. I didn't look at the code for the fetch_musername function and assumed it was magically optimized for being called a million times.

I'll have to look into this one more. The easier solution would probably be to keep most of this mod's code & modify the memberaction dropdown template.

Edit: Actually, and correct me if I'm wrong, but it looks like the fetch_musername function makes use of the vBulletin cache. Also doesn't look like it's causing any undue load.

And hey, Boofo! I use your mods! (not on this account)

-Nick, SEOvB Developer

BirdOPrey5 04-30-2012 10:28 PM

It can use the cache but my thinking is most of those values would not be cached- it would be a simple enough check- it should report the number of queried on the bottom of the page - see if there is any difference on a page like forumhome or forumdisplay with the plugin enabled or disabled.

I'm not sure there would be a difference- just something to consider.

Boofo 04-30-2012 10:53 PM

No, in that hook you are okay. I did the fetch_musername for a mod in that hook and it added no queries.

Boofo 04-30-2012 10:53 PM

Quote:

Originally Posted by SEOvB (Post 2324993)
And hey, Boofo! I use your mods! (not on this account)

-Nick, SEOvB Developer

On which account?

Alan_SP 05-01-2012 07:05 PM

It works in many places, but it doesn't work in SHOWTHREAD, showing thread starter's name in markup.

Anyway, your plugin is really good quick fix for those that don't need it there. :up:

Paul. 05-21-2012 05:28 PM

I love this.
But, is it possible to deselect some user groups currently using it?
I only want Administrator accounts using it.

Syxguns 06-03-2012 06:13 AM

Many thanks for this mod! I have been searching for it for two days, and finally asked in the general questions! Works great on 4.2!

LouiseWilson 06-04-2012 06:40 AM

1 Attachment(s)
Having an issue with this mod on VB 4.2.0 see attached image

The HTML Markup I have is as follows
Code:

<IMG SRC="smallbits/owner.gif" BORDER="0"><span style="color: red;"></span>
also tried it without the image in the markup same issue

any advice ?


All times are GMT. The time now is 11:08 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.02022 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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