Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: L1teHawk
Forum: vB4 Programming Discussions 12-25-2011, 02:25 AM
Replies: 2
Views: 562
Posted By L1teHawk
I figured it out-- I just created a hook to...

I figured it out-- I just created a hook to fetch_userinfo and changed the $user['username'] to whatever I wanted based on the $user['userid'].

However, it doesn't work everywhere though. There...
Forum: vB4 Programming Discussions 12-23-2011, 01:42 PM
Replies: 4
Views: 1,602
Posted By L1teHawk
Great! It works, thank you very much for your...

Great! It works, thank you very much for your help. Enjoy a great holiday season :)

Edit: What would be the correct hook for forumhome_lastpostby? Thanks. I tried forumhome_start,...
Forum: vB4 Programming Discussions 12-23-2011, 02:36 AM
Replies: 4
Views: 1,602
Posted By L1teHawk
Wow, thanks for the lightning fast response! ...

Wow, thanks for the lightning fast response!

Ok, I did this:


// global at the top
global $vbulletin;

// now I can use $vbulletin
$memname = $vbulletin->db->query_first("SELECT * FROM "
Forum: vB4 Programming Discussions 12-23-2011, 01:16 AM
Replies: 4
Views: 1,602
Posted By L1teHawk
How to pass a variable to template?

Hi everyone,

I'm trying to pass a variable to the template "memberaction_dropdown". I created a new plugin with a hook to postbit_display_start (isn't that where the template is rendered?) with...
Forum: vB4 Programming Discussions 12-22-2011, 08:15 PM
Replies: 2
Views: 562
Posted By L1teHawk
Showing a different username

Hi! I have a $userid, and I want to change the username displayed for that id without changing the username. For example, I have a user named "abcd". For the user, I want to show "Mike" instead of...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT. The time now is 10:55 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.04176 seconds
  • Memory Usage 1,904KB
  • 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)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (5)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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/functions_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • forumjump
  • search_complete
  • navbits
  • navbits_complete