|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
Description: Adds the spoiler tag. When you use the spoiler tag it warns people that there is spoiler information in the topic. Very useful for UBB's with Movie, or TV forums that give a lot of endings away. Version: Version 1.0 Original Author: MasterMind Demo: DEMO How To Use: Insert [spoiler] before your post(no closing tag). Download URL: DOWNLOAD I hope you enjoy this hack, I know I do. P.S. - Thanks MM for letting me have this one. [color:#000000" SIZE="1][ May 27, 2001 12:46 PM: Message edited by: Gamer ][/color]
|
|
|
|
Joined: Apr 2001
Posts: 46
Member
|
Member
Joined: Apr 2001
Posts: 46 |
hey hey
thanks for the "complicated" hack gamer..it totally works (on my 6.04a board), and itll be real useful
thanks dude
..::|-Peace-|::..
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
nice work, tho it's not quite finished as it still needs wordlets... moving to "beta".
You can open a new thread in here once this is in finished form...
not picking on you, I will be going through the finished forum in the next 24 hours and moving those that aren't finished to beta...
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
alrighty allen, I will make a wordlet for it real quick.
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
Wordlets added. *sorry* Allen, I always forget to add wordlets.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
no prob, too easy for me.
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
It is easy, yet useful.
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
Okay ... I desperately needed this hack for my messageboard (we're a community of readers), and I was able to install this on my test board -- version 6.2.1.1
My big question is this: can a button be added to this hack so that all anyone has to do is click on it to insert the code--like with the Instant UBB Code?
Thanks!
Sue adwoff.com
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
The link is down (not surprisingly after all this time). Anyone still have it? This could come in quite useful at my board..
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
quote: Originally posted by Oblivion Knight: The link is down (not surprisingly after all this time). Anyone still have it? This could come in quite useful at my board..
I dont have this spoiler hack, but I did make my own which you can view in action here I dont have a hack instruction file for it but I can quickly whip one up if you're interested? (includes the ubbcode button stuff too) also it has an opening and closing spoiler tags i.e it also hides the spoilers from daily topics.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
If you could, i'd be grateful..
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
quote: Originally posted by Oblivion Knight: If you could, i'd be grateful..
I would be, too--especially since the original link is down, and I can't find my notes on this.
Sue adwoff.com
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I thought I had downloaded it but it's gone. S:C had it but since it's not online anymore the last trace may be gone.
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
Here ya go http://www.ffaddicts.com/PF/SpoilerHack.txt If anyone can see a potential security risk with the first point of the hack then PLEASE let me know. (I certainly couldn't find one:)) BTW: I'm on holiday for 2 weeks as of Saturday so anything concerning this hack will probably have to wait until I come back
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
Nuts. I'm not sure those who are using UBB 6.3 will be able to use your hack since you made it for a 6.05 version. Example, I'm supposed to find this code in the ubb_lib.cgi file [/code]The closest I can find is this:
[code] And, according to the directions w/in the code, it's part of a routine we're not supposed to touch: # If you are going to hack your board up, feel free to... but # DO NOT REMOVE *OR IN ANY WAY* CHANGE THIS ROUTINE, # OR ANYTHING THAT CALLS THIS ROUTINE I think we'll be back to the beginning. Does anyone have the original text file posted by Gamer?
Sue adwoff.com
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
Yay! I found the code! It's amazingly easy! Open the ubb_lib.cgi file Find this code: [/code]Under it, add this code:
</pre></div></div>That's it for the ubb_lib.cgi<br><br>Open vars_wordlets_mods.cgi<br><br>Insert this code after the beginning code:<br><br> [code] To get your spoiler code, you then type [spoiler] in front of the text you wish to warn others about.
Sue adwoff.com
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
Whoops forgot the hide from Daily Topic code... # Find Edit: Noticed that both of you are using 6.x rather than 6.0x. I dont have 6.2 or 6.3 so can't really port it. Maybe someone else can?
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Looks like this hack is going to have to be virtually re-written for 6.3 users..
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
quote: Originally posted by Oblivion Knight: Looks like this hack is going to have to be virtually re-written for 6.3 users..
Could always request it in the Ideas and suggestions for 6.3
I dont think it would be all that hard to port. Since it is based on the quote code. The first Generation of the spoiler hack I made, was nearly a complete copy of the quote code, and just said "Highlight to view" and setting the colour to the background colour of the post. Then we found out it didn't work for Opera users. So then came the second generation one which was the click to view but simplified. Users started mentioning that it made all the spoilers on the page visible so back to the drawing board of making each spoiler unique, which is the one here.
All our users seem to be content with the way the spoilers work now so
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
I have too much spare time at the moment, if I get too bored I may have a go at porting the hack myself..
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
PF, I love the look of your spoiler hack, but I'm pretty clueless about what to look for in the 6.3 version to port your version to that. I'll cross my fingers for Oblivion Knight to be able to do it.
Sue adwoff.com
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Good job! For 6.3, try: [code][/code]It's not tested, but should work
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
Just realised that Daily Topics code wont quite work. Missed out one little bit [code][/code]LK, Not sure if the sub promo is different in 6.3 but the code just above, removes the contents of the spoiler BEFORE the tags get removed. and the bit located here goes AFTER the tags get removed. If you could port that if it's different, it would be appreciated (Note: the Daily Topics part is an addon, not a necessity for it to work)
|
|
|
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
hey PF what file do we need to look in for the last two codes you just posted? did you update your text file with the fixes you just posted?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Wooo, Good to see some code from this hack. I will install it on 6.3 later.
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
quote: Originally posted by ClanKiller: hey PF what file do we need to look in for the last two codes you just posted? did you update your text file with the fixes you just posted?
ubb_lib_posting.cgi
And the text file is now updated for those fixes.
I wont have net access for 2 weeks now, so hopefully this all works for someone, and they can help out anyone having problems
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
I gave LK's code a shot at my test site, and when I went into the styles area of the CP, I received a message saying that there were a whole bunch of syntax errors.
Because I need to keep working on my test site, I reloaded the backup files.
I could reload the hacked files if someone wanted to take a look, but I think I'll wait until someone else tries it out.
Sue adwoff.com
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
I should've mentioned that the syntax errors I was receiving was the result of the public_common.pl file.
Sue adwoff.com
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Thanks Sue, please rehack public_common.pl from the edited text in my other post.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|