I was on a site that some one had scripted into their post something that caused the member that was reading the post to think it was directed towards them, as the viewer's username was in the post. The persona was not an admin or mod, so it had to just be something that was entered into the post window. Any ideas?
Maybe I should make this clearer.
ie
Hey {viewer's username}, what do you think of this?
Everyone one that was logged in would see thier username inserted.
Well in SMF 1.1 it is real real real easy :)
Lets just create a BBC tag [you]
Open Subs.php
Find array(
'tag' => 'white',
'before' => '<span style="color: white;">',
'after' => '</span>',
),
Add after
array (
'tag' => 'you',
'before' => $user_info['name'],
'after' => '',
),