The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remvoing external.php on external pages
Hello,
I have my site setup as such: mysite.com/forums/ vbinstall mysite.com/tos.php tos.php is an external page that uses the template system and everything is working just fine except I want to disable the RSS feed on my tos page I see the condition its looking for in headerinclude: $vboptions['externalrss'] But when I set this variable from my tos.php script : $vboptions['externalrss'] = false; it doesn't do anything. How can I turn this off from some of my pages? |
#2
|
||||
|
||||
You are doing that in the php, right? You would use $vbulletin->options instead of $vboptions in php ($vboptions is for use in the templates).
|
#3
|
|||
|
|||
Lynne, I tried that, but didn't have any luck.
I'm using the code form this article: https://vborg.vbsupport.ru/showthread.php?t=62164 I guess I'm not quite sure where to place that command in the php file. If I do it before the global.php include it doesn't do anything, and if I do it after, $headerinclude is already defined and evaluated. |
#4
|
||||
|
||||
Did you try creating a plugin at global_start and adding that in? But put a condition around it so it only happens on your page (whatever you call your page as defined by THIS_SCRIPT)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|