Quote:
Originally posted by nakkid
you can add more then one index and value to your array:
PHP Code:
$findwords=array(0 => '{getmicrostats}', 1 => '{bbusername}');
$replacewords=array(0 => $microstats, 1 => $bbusername);
try it and let me know.
also dont forget that dooutput() is needed to call the headers and the time before it starts the page and it ends also. [...]
|
Thanks for the update to dovars()....
But, as said, I would prefer to use a simple
$varbit to add to the footer template.
This because I could control better the place where that var is put (if I'd used the dooutput() with $vartext, that string would be added to EACH page, even those without footer code ... i.e. vb popup smilies, etc...)
Any case I'll use by now the replacement...
Thanks again
Bye