Is there a way to pull the viewer's username and substitute it in a post.
I've tried use custom bbcodes - but it doesn't pull the username.
My attempt:
PHP Code:
<span>{param} $bbuserinfo[username]</span>
which if I go [username]Dear[/username] I get:
Quote:
Dear $bbuserinfo[username]
|
What am I doing wrong?
The idea would be to get a similar result in a post that you get when using $username in the email users feature from the admin panel.
So if $username="Dave"
Dear $username, the reader will see Dear Dave,