![]() |
No, the php in the CODE does not work - the PHP bit is not run.
The image I showed you is an example of what it SHOULD look like if the PHP worked. I suspect what I need to do is alter the hack itself to process the header and footer so that php script is run. I'm confidant with PHP but hacking vBulletin is something entirely different. |
Quote:
Here is what I tried (and IT WORKED!!!) Edit your index.php file and find: PHP Code:
PHP Code:
Then, go into your FORUMHOME template and find : HTML Code:
$navbar HTML Code:
$HTML Rgds |
That's a nice, bit of code, but no, I want to include an HTML file at the top of one specific forum.
|
Quote:
[html] <if condition="$forumid=XYZ"> $HTML </if> Remember to change XYZ with the forum id of the forum you want the external HTML file to show. Let me know if it works. Rgds |
Again, that's great but it's a whole chunk of code for the header for ONE forum. That's a lot of code to include if you have 30 forums.
Might it not be easier to allow the hack to work on a bit of PHP code? |
Quote:
Rgds |
Your help is appreciated.
|
Fantastic! Installed!
|
Quote:
PHP Code:
|
Quote:
Thanks to sv1cec for trying to get this to work for Spinball. Unfortunately, vBulletin won't parse PHP in ANY template. I think what you are looking for is a completely different hack. I'm not sure how it would work. Sorry :( (P.S. New hip is healing nicely. Thanks for the nice notes :)). |
All times are GMT. The time now is 02:18 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:
|