I've been trying to do the spoiler hack in the 6.2 mods forum, and I've created a button, gotten the instant UBB code to create the tage, and inserted the text to the UBB code page.
That works fine.
The actual functionality doesn't.
[EDIT: It looks interesting, but I've tried rehacking ubb_lib_posting three times already and can't get it to work.)
Besides, what I want is just have a spolier hack that turns the text and it's background color to some number like #777777 so the user has to just swipe the spoilage with their mouse and get the spoilers.
How would I do that?
I'll guess it starts with messing with this line in ubb_lib_posting.cgi
$match++ if $_[0] =~ s/(<blockquote><font size="1" face=".*?">
spoiler (<a href="javascript: ss2(.*?)">
click to view</a>):</font><hr size="1"><div .*?>)(.+?)(</div>
<hr size="1"></blockquote>)//isg;
Thanks in advance for any help someone can offer.