Kevin, will try your code too. Again, to my point above, there's a mod available here somewhere that allows you to use template tags in a bbcode. I can't seem to find it now. So yeah, if you check my forum
www.excelfox.com, you'll see that unless you are a registered user, you won't be able to see the contents of within the code tags. So yeah, it IS working with $bbuserinfo[userid], but not with the tag I mentioned in my original post.
--------------- Added [DATE]1368309819[/DATE] at [TIME]1368309819[/TIME] ---------------
Alright, GLOBALS has done the trick. foruminfo doesn't seem to work. It always returns zero! Thanks a lot Kevin. Thanks for nerbert also for looking at this. Cheers mates.