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

Showing results 1 to 5 of 5
Search took 0.02 seconds.
Search: Posts Made By: basketmen
Forum: vB4 Programming Discussions 07-28-2015, 03:56 PM
Replies: 12
Views: 711
Posted By kh99
global_complete is one of the last things called....

global_complete is one of the last things called. I think what you want is something like global_setup_complete.

I was looking at code a little, and while I'm sure in th past I've suggested that...
Forum: vB4 Programming Discussions 07-28-2015, 10:03 AM
Replies: 12
Views: 711
Posted By Easy5s.net
try $GLOBAL['forumid']

try $GLOBAL['forumid']
Forum: vB4 Programming Discussions 07-28-2015, 01:12 AM
Replies: 12
Views: 711
Posted By MarkFL
Try the hook location "forum_display_start" and...

Try the hook location "forum_display_start" and the plugin PHP code:

if ($foruminfo['forumid'] != 123)
{
$vbphrase['post_new_thread'] = 'Create a Listing';
}
Forum: vB3 General Discussions 12-03-2013, 05:40 PM
Replies: 4
Views: 693
Posted By Lynne
$vbulletin->db->query_write("INSERT INTO " ....

$vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "customtable
(userid, friendid)
VALUES
($userid, $friendid)
");

$userid should work for the actual userid if the person who just...
Forum: vB3 General Discussions 04-03-2012, 11:39 PM
Replies: 4
Views: 500
Posted By kh99
I didn't think to look for an existing variable....

I didn't think to look for an existing variable. Thanks for sharing that.
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT. The time now is 02:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02297 seconds
  • Memory Usage 1,903KB
  • 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
  • (6)threadbit_pagelink 

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