vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Plugin on fetch_musername (https://vborg.vbsupport.ru/showthread.php?t=246208)

Marco van Herwaarden 07-14-2010 04:29 AM

On the forumdisplay page there are many usernames shown. Some will use fetch_musername, and some are just displayed without any markup:

- "Welcome <username>" in the header: no markup
- Threadstarter: markup
- Last poster of thread: no markup
- Currently active users: markup

James Birkett 07-14-2010 12:10 PM

I realise that thread authors don't actually show with markup, but the currently active users, what's going on and other pages should change their mark-up based on this hook - and they don't.

Guest190829 07-14-2010 12:41 PM

The issue is most likely that field14 is not being pulled from that database in the sections not displaying markup correctly. For instance, why would the currently active users need to pull custom userfields?

You'll probably have to edit the query on index.php to get the field.

James Birkett 07-14-2010 01:57 PM

Hmm, would I be able to run the query on the hook?

Guest190829 07-14-2010 02:18 PM

*looks at file*

Not the fetch_musername hook but a hook: forumhome_loggedinuser_query ; this of course will only solve the Who's Online markup. You'll have to search for the other queries and see if they have hooks available too.


All times are GMT. The time now is 10:48 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.01404 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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