![]() |
Exclude global_start from register.php?
I've created this global_start plugin to display a list of sponsor images on my forum:
Code:
ob_start(); |
put a condition around it based on THIS_SCRIPT. eg:
PHP Code:
|
Thanks for the tip. I'm a little confused. Do I add that to my global_start plugin, sponsors.php, or register.php? I tried:
if (THIS_SCRIPT != 'sponsors.php') { ob_start(); include('/home/username/site.com/forums/sponsors.php'); $includedphp = ob_get_contents(); ob_end_clean(); } I must be missing something. :) |
Look at the top of your script and you'll see a line like this (example):
PHP Code:
PHP Code:
|
Got it, thanks very much Lynne!
|
All times are GMT. The time now is 09:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|