Spoiler Tag V1.2Right, this isn't the same as the 2.1 Mod, it's a typical spoiler Show/Hide box. I have stole the button from the original Mod though, I hope he doesn't mind.
This Mod is rather simple, but it does need testing.
Description:This Mod will allow users to hide parts of their message.
Screenshots:http://img247.imageshack.us/img247/8091/spoiler1ls6.jpghttp://img150.imageshack.us/img150/3458/spoiler2cv4.jpghttp://img150.imageshack.us/img150/1245/spoiler3wp4.jpg [spoiler=A Film]Your Spoiler[/spoiler]
http://img217.imageshack.us/img217/5835/spoiler4zg2.jpgZip Package:SpoilerTag.mod_V_1_2
SpoilerTag_V_1_2_German_DU.mod
yabbfiles/ModImages/SpoilerTag/spoiler.gif
yabbfiles/ModImages/SpoilerTag/spoiler1.gif
Files to edit:Admin/ModList.pl
Languages/English/Post.lng
Languages/English/InstantMessage.lng
Sources/Post.pl
Sources/YaBBC.pl
Sources/InstantMessage.pl
Sources/MyCenter.pl
Sources/Printpage.pl
yabbfiles/ubbc.js
yabbfiles/yabbc.js
Installation:Before installing,copy 'ubbc.js' and 'yabbc.js' to cgi-bin/yabbdirectory/ - Make sure you re-upload them to their correct directory - html_root/yabbfiles.
Modify YaBB files using BoardMod or manually.
Load modified files to your server.
Add the following code to your Style Sheet
.spoiler {
font-size: 12px;
font-weight: normal;
font-style: normal;
font-family: Verdana, Helvetica, Arial, Sans-Serif;
color: #000000;
background-color: #CCCCCC;
border: 1px #34689A solid;
width: 90%;
padding: 4px;
}
Mod History:1.0 - Original version - 30th July 2008
1.1 - Added to Instant Messages - 31st July 2008
1.2 - Added to Live Preview, Print Page and also added description function - 12th August 2008
I think that just about covers it... Any problems, let me know...
I hope you gave me credit for it, for if you didn't, I just will be mad...
Thanks for the help there in upgrading the mod. I have been working on a Life mod (going back to school and getting a job again) to really keep this up! Sorry to all those left in the wake of things.