Quote:
Originally posted by Boofo
Ok, but you said the global is called before the index.php. I was referring to the $allpm example you gave above. I would like to be able to do that sort of thing on the index page and still be able to use it elsewhere in the forum. 
|
when you add the code into global.php, the dynamic announcement variable is formed for all vb files that runs (including index.php). Therefore you can use it nearly all vb templates. However if a template is called inside a function (eg. postbit template), then the variable should be declared global or will be blank since functions in PHP does not have global variable scope..
Quote:
And I tried adding that code under the vb options link on the left but it takes me to the top of the vb options listing instead of to bottom of it. And idea how to make it go to the bottom? I did the settinggroup ID but it didn't change it.
|
make sure settinggroupid is belongs to dynamic announcement hack's id and is correct..