php forum
php mysql forum
php mysql smarty
 
Topic Options
#38179 - 09/28/00 03:25 PM Spoiler Hack - 5.45-5.46
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Ok, this has JUST been updated for 5.46a, because it worked with 5.46 not 5.46a...
I dont see why, but heres the coding.

If your forum deals with movies, TV or anything else where people could 'spoil' something by giving out info before other people know it (like plot points) then you may want this simple hack.

It adds a simple UBB Code that generates a typical usenet-style Spoiler Warning.

In ubb_library.pl search for
Code:
code:


around line 683 and add this to the end of the 'ThePost' lines:

Code:
code:



This creates the [spoiler] tag (there's no closing tag) that will generate code that looks like this:

SPOILER WARNING!
The following post may contain information that could ruin something for you. Read at your own risk!


10

9

8

7

6

5

4

3

2

1

0

Darth Vader was Luke Skywalker's father.

This was posted at SK, and burried.

Thanks, enjoy!

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks