Me action
3.0
This mod adds an IRC style 'Me' action to your posts.
eg: 'Samm says hi!'
Place the me.gif in your YaBBImages (or images) folder and install the mod as normal.
2.0: Bug fixed where each reader saw they're own name perform the action instead of the poster!
2.5: Small bugs fixed where action didn't display on post summaries or IM's, etc and action box added!
3.0: Now uses public name not login name!
UNINSTALL OLD VERSIONS!
Sam Holman & DemonSlayer
http://www.shlmn.com
Sources/Subs.pl
$message =~ s~\[b\](.+?)\[/b\]~$1~isg;
$message =~ s~\[i\](.+?)\[/i\]~$1~isg;
$message =~ s~\[u\](.+?)\[/u\]~$1~isg;
$message =~ s~\[s\](.+?)\[/s\]~$1~isg;
$message =~ s~\[me\](.+?)\[/me\]~
Do you want to show the persons public name with ME action?
# Set as 0 or 1 if box was checked or not
push(@onoff, "showpubname");
# If empty fields are submitted, set them to default-values to save yabb from crashing
$showpubname = $FORM{'showpubname'} || 0;
\$enable_ubbc = $enable_ubbc; # Set to 1 if you want to enable UBBC (Uniform Bulletin Board Code)
\$showpubname = $showpubname; # Set to 1 if want to public names with ME action