Thank you Marco, I tried this simple plugin, hooked it to "global_start", execution order 5:
$incluirads = implode('', file('images/{$foruminfo[forumid]}.txt'));
In the hope that when activated the plugin could get the $foruminfo[forumid] number from the forum from which it was been loaded and complete the command line like:
$incluirads = implode('', file('images/{221.txt'));
And, load the 221.txt file for that forum. But, I just could make it works without the $foruminfo[forumid] variable, which is essential to me.
Is there a way to put the $foruminfo[forumid] variable in the plugin, so it load the correct txt file for each forum?
Thanks
|