View Full Version : outputing problems
Marzas
02-13-2004, 04:41 AM
Hi,
i am having problems outputing my hack's entire content to a vbulletin tempalte, can anyone do it for me, i have attached the file in the thread.
Cheerz
Marzas
Natch
02-13-2004, 06:21 AM
You shouldn't use Echo - try creating a $variable, then you can do one of a few things: 1. return $variable at the end of your script; 2. $tipping = require(yourscript.php); in the appropriate vBulletin file; 3. place the $tipping variable in the template that will display when u call this page. 1. Add your whole script formatted as a function into one of the vBullein includes/function_*.php files; 2. Call your function from one of the vBullein files (eg global.php) using $tipping = yourFunction(); 3. follow step 3 from the previous example
HTH
Marzas
02-13-2004, 07:24 AM
what do you mean by 'return $variable at the end of your script'?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.