Hi, I've just upgraded my YaBB to SE, and installed SuperMOD, but I still lack one feature that everyone loved on my old board, the [offtopic]MESSAGE[/offtopic] tag, with the smiley (or in my site's case, a MegaMan) holding up the offtopic message on a placard...
I've found the old SP version of it, and I was wondering if anyone could work a little magic on it to make it work on my SE?
<id>
OFFTOPIC POST
</id>
<version>
1.0
</version>
<mod info>
1.0
-add a little funny offtopic poster-smilie to your text
</mod info>
<author>
yetzt & tweb
</author>
<homepage>
http://www.yetzt.org & http://www.planet-webster.de
</homepage>
<edit file>
Sources/yabbc.pl
</edit file>
<search for>
$message =~ s~\[quote\]\n*(.+?)\n*\[/quote\]~&simplequotemsg($1)~eisg;
</search for>
<add after>
$message =~ s~\[offtopic\](.+?)\[/offtopic\]~<table border="0" bordercolor="#ffffff" cellspacing="0" cellpadding="0"><tr><td align="center"><img src="$imagesdir\/offtopic_oben.gif\" border="0"></td></tr><tr><td><table border="0" cellspacing="0" cellpadding="1" bgcolor="#9C5231"><tr><td><table border="0" cellspacing="0" cellpadding="3" bgcolor="#000000"><tr><td><u>offtopic of the day:</u><br><ul>$1</ul></td></tr></table></td></tr></table></td></tr><tr><td align="center"><img src="$imagesdir\/offtopic_unten.gif\" border="0"></td></tr></table>~isg;
</add after>
I know next to nothing about php, so I don't know how tricky it'd be, but it's not the biggest mod ever, so I'd make an educated guess that it's not too hard. I'll forever appreciate any help you guys can give me
