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

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: johnobandalong
Forum: vB3 General Discussions 04-10-2006, 11:52 PM
Replies: 8
Views: 865
Posted By johnobandalong
Thanks Paul and everybody who replied. I will...

Thanks Paul and everybody who replied. I will look into the plugin system.
Forum: vB3 General Discussions 04-10-2006, 11:34 PM
Replies: 8
Views: 865
Posted By johnobandalong
You have answered my question with your question....

You have answered my question with your question. I was putting the variable at the end of global.php.

I tried putting it at the beginning and it shows up in the template.

I guess I'm not...
Forum: vB3 General Discussions 04-10-2006, 11:10 PM
Replies: 8
Views: 865
Posted By johnobandalong
Well, I tried. But was unsuccessful. What I...

Well, I tried. But was unsuccessful.

What I did was..
First, add my variable ($myvar) to global.php.
Second, edit the "header" template from the admin control panel by adding

[$myvar]

did...
Forum: vB3 General Discussions 04-10-2006, 10:37 PM
Replies: 8
Views: 865
Posted By johnobandalong
SIMPLE question?? assigning variables to a template

I have a variable in global.php
<?php
...
$myvar = 'some stuff';
..
?>

What do I need to do to make this variable accessable from a template?
Forum: vB3 General Discussions 03-15-2006, 12:19 AM
Replies: 19
Views: 2,580
Posted By johnobandalong
I'm having this problem too. Did anybody find a...

I'm having this problem too. Did anybody find a solution? How do other people integrate vbulletin with their application?
Forum: vB3 General Discussions 03-14-2006, 11:00 PM
Replies: 0
Views: 643
Posted By johnobandalong
problem loading global.php

Okay, so in order to use the vB API, I have to load in the global.php file.

<?php
chdir('/usr/local/apache2/htdocs/forum/');
require_once('./global.php');
// do some stuff
?>

This works...
Forum: vB3 General Discussions 03-07-2006, 04:18 PM
Replies: 8
Views: 2,421
Posted By johnobandalong
Thanks for the info guys but I was hoping there...

Thanks for the info guys but I was hoping there was a debug mode for the template (ex. smarty's debug mode) that prints out all variables at the template scope.

This way I dont have to know the...
Forum: vB3 General Discussions 03-06-2006, 10:51 PM
Replies: 8
Views: 2,421
Posted By johnobandalong
template variable print_r/var_dump

Is there a way to dump out all variables that is available at the template level?

If not, is there at least a way to use print_r/var_dump inside a template?
Showing results 1 to 8 of 8

 
Forum Jump

All times are GMT. The time now is 03:36 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.01195 seconds
  • Memory Usage 1,919KB
  • 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
  • (8)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (2)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