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\]~
*$me_name $1
~isg;
Sources/Post.pl sub Preview { if($showpubname) { $me_name = $realname; } else { $me_name = $username; } if($enable_ubbc) { &DoUBBC; } print qq~ $me_name = $tempname; document.write("$txt{"); document.write("$txt{"); Sources/ModifyMessage.pl document.write("$txt{"); document.write("$txt{"); Sources/InstantMessage.pl if( $musername ne 'Guest' && ! $yyUDLoaded{$musername} && -e("$memberdir/$musername.dat") ) { if($showpubname) { $me_name = $mrealname; } if( $yyUDLoaded{$musername} ) { @userprofile = @{$userprofile{$musername}}; $star = $memberstar{$musername}; $memberinfo = $memberinfo{$musername}; $icqad = $icqad{$musername}; $yimon = $yimon{$musername}; $usernamelink = qq~$userprofile[1]~; $profbutton = $profilebutton && $musername ne 'Guest' ? qq~$menusep$img{'viewprofile'}~ : ''; $postinfo = qq~$txt{'26'}: $userprofile[6]
~; $memail = $userprofile[2]; }
if( $yyUDLoaded{$musername} ) { @userprofile = @{$userprofile{$musername}}; $star = $memberstar{$musername}; $memberinfo = $memberinfo{$musername}; $icqad = $icqad{$musername}; $yimon = $yimon{$musername}; $usernamelink = qq~$userprofile[1]~; $profbutton = $profilebutton && $musername ne 'Guest' ? qq~$menusep$img{'viewprofile'}~ : ''; $postinfo = qq~$txt{'26'}: $userprofile[6]
~; $memail = $userprofile[2]; if($showpubname) { $mrealname = $userprofile[1]; } else { $me_name = $musername; } }
sub IMOutbox { if ($username eq 'Guest') { &fatal_error($txt{'147'}); } if($showpubname) { $me_name = $mrealname; } else { $me_name = $username; } document.write("$txt{"); document.write("$txt{"); ../ubbc.js function cry() { AddTxt=" :'("; AddText(AddTxt); } function me() { AddTxt="[me][/me]"; AddText(AddTxt); } Sources/Display.pl $star = $memberstar{$musername}; if($showpubname) { $me_name = $userprofile[1]; } else { $me_name = $musername; } else { $musername = "Guest"; else { if($showpubname) { $me_name = $mrealname; } else { $me_name = $mname; } $musername = "Guest"; Sources/Admin.pl if ($enable_ubbc) { $ubbcchecked = ' checked'; } if ($showpubname) { $showpubnamechecked = ' checked'; }
$txt{'392'}

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