Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Spoiler Tag V1.2 for 2.2.1 - 2.2.3 (Read 27156 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Spoiler Tag V1.2 for 2.2.1 - 2.2.3
Jul 31st, 2008 at 1:29pm
Print Post  
Spoiler Tag V1.2

Right, 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:






Code
Select All
[spoiler=A Film]Your Spoiler[/spoiler] 




Zip 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
Code
Select All
.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...
« Last Edit: Oct 14th, 2008 at 9:10pm by Derek Barnstorm »  

SpoilerTag_V_1_2.zip ( 5 KB | Downloads )
Back to top
 
IP Logged
 
MeisterGigi
Junior Member
**
Offline


xxx

Posts: 74
Location: Germany/Austria
Joined: Dec 4th, 2004
Gender: Male
Re: Spoiler Tag V1.0
Reply #1 - Jul 31st, 2008 at 1:44pm
Print Post  
Cool! IŽll test it tonight !
  
Back to top
 
IP Logged
 
Rovin
New Member
*
Offline



Posts: 47
Joined: Dec 20th, 2007
Re: Spoiler Tag V1.0
Reply #2 - Jul 31st, 2008 at 1:58pm
Print Post  
Thank you. Working alright so far, minus the know bugs - will these be fixed?
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Spoiler Tag V1.0
Reply #3 - Jul 31st, 2008 at 2:05pm
Print Post  
Hopefully yes.

I didn't add the Personal Messages because I just wanted to make sure that it was what people wanted for now... I'll try to add this soon.

I did have the smilies working originally, but I was getting a javascript error, so I left a bit of code out...

I'll see what I can do
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Spoiler Tag V1.0
Reply #4 - Jul 31st, 2008 at 2:59pm
Print Post  
Duh! Smilies do work... I'd been really stupid and tested it with 2.2.2 and not 2.2.3... That was a forum bug but was fixed for 2.2.3, so the smilies are fine... Sorry about that...

I'll try and add it to PMs tonight...
  
Back to top
 
IP Logged
 
Rovin
New Member
*
Offline



Posts: 47
Joined: Dec 20th, 2007
Re: Spoiler Tag V1.0
Reply #5 - Jul 31st, 2008 at 3:46pm
Print Post  
Well I'm on 2.2.2, so does that mean they don't work?
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Spoiler Tag V1.0
Reply #6 - Jul 31st, 2008 at 4:22pm
Print Post  
I'm afraid so... That was a bug in 2.2.2, so I can't do anything about that I'm afraid... You need to upgrade to 2.2.3...
  
Back to top
 
IP Logged
 
Rovin
New Member
*
Offline



Posts: 47
Joined: Dec 20th, 2007
Re: Spoiler Tag V1.0
Reply #7 - Jul 31st, 2008 at 4:34pm
Print Post  
It's not your fault. It's not a pressing issue anyway.
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Spoiler Tag V1.1 for 2.2.3
Reply #8 - Jul 31st, 2008 at 5:36pm
Print Post  
Okay... I've now added it to Instant Messages, I've updated the first post. If you've already installed it, uninstall and reinstall the new version. Also, make sure you re-upload the images folder.
  
Back to top
 
IP Logged
 
Rovin
New Member
*
Offline



Posts: 47
Joined: Dec 20th, 2007
Re: Spoiler Tag V1.1 for 2.2.3
Reply #9 - Jul 31st, 2008 at 6:03pm
Print Post  
^^ Thanks again. Smiley
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Spoiler Tag V1.1 for 2.2.3
Reply #10 - Jul 31st, 2008 at 6:04pm
Print Post  
No problem!
  
Back to top
 
IP Logged
 
bartez
Ex Member


Re: Spoiler Tag V1.1 for 2.2.3
Reply #11 - Jul 31st, 2008 at 10:19pm
Print Post  
Very nice work Derek, will try it out. Nice one for the movies-topic in my forum Wink
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Spoiler Tag V1.1 for 2.2.3
Reply #12 - Jul 31st, 2008 at 10:35pm
Print Post  
Let me know how it goes...
  
Back to top
 
IP Logged
 
MeisterGigi
Junior Member
**
Offline


xxx

Posts: 74
Location: Germany/Austria
Joined: Dec 4th, 2004
Gender: Male
Re: Spoiler Tag V1.1 for 2.2.3
Reply #13 - Aug 1st, 2008 at 5:42pm
Print Post  
Thanks alot, this mod is cool !

As i am a noob and it did not work properly for my german board, i made an mod for german_du

Tested and working.


  

SpoilerTag_V_1_1_GermanDU.mod ( 0 KB | Downloads )
Back to top
 
IP Logged
 
bartez
Ex Member


Re: Spoiler Tag V1.1 for 2.2.3
Reply #14 - Aug 1st, 2008 at 5:53pm
Print Post  
installed it, was afraid it didnt work, but did not fully read the manual Wink


works like a charm Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint