The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I'm using vB 3.6.8 patch level 2. I want to add variables for use in any and all templates. To do so, I've created a mytxtfile.txt file with the desired content (in HTML), and added the following lines at the end of global.php: $mytxtfile = 'mytxtfile.txt'; $mycontent = file_get_contents($mytxtfile); Then, I added $mycontent inside templates, by writing $mycontent in the template editor. The problem is that this works with some templates, but not with others. For example, it worked with navbar and with a new template I made, but not with postbit. 1. Why? 2. Is there a better way to do this? 3. Where are custom templates (like the new one I made) stored? Any help will be appreciated, Thank you, R. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|