![]() |
if (THIS_SCRIPT != 'register') question
Hello,
Lynne helped me setup this hook (global_start) to exclude displaying sponsor images on register.php: Code:
if (THIS_SCRIPT != 'register') { Thanks Lynne! Now I'm trying to also exclude showing the images in a specific forum. I think there's an <if> statement I can use, but I'm not sure. How would I add the forum number "f=59" to the exclusion? Thanks in advance for any tips! Keith |
You might be able to just add "AND $forumid != 59" to the condition.
|
Worked perfectly, thanks as always Lynne! :D For anyone interested I added the code in red:
Code:
if (THIS_SCRIPT != 'register' AND $forumid != '59') { |
All times are GMT. The time now is 12:27 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:
|