PDA

View Full Version : spoiler tags


Sam The Egg
01-21-2004, 11:41 AM
this way, instead of saying *SPOILER* and putting the spoilers way down, or having a spoiler that doesn't give enough warning, this'll make you have to highlight the text to see it.

find:


global $regexcreated,$searcharray,$replacearray,$phpversi onnum



directly after that, insert the following:


,$counter
and be carefull, that you leave the ; at the end.
Then find:

$bbcode = preg_replace("/(\[)(img)(])(\r\n)*([^\"]*)(\[\/img\])/siU", "<a href=\"\\5\" target=\"_blank\">\\5</a>", $bbcode);

$bbcode=str_replace("\\'", "'", $bbcode);


directly after that, insert the following:

if($counter%2==0) {

$bbcode = preg_replace("/(\[)(sp)(])(\r\n)*([^\"]*)(\[\/sp\])/siU", "<normalfont>Spoiler:<br></normalfont><br><font color=\"#13486D\">\\5</font>", $bbcode);
}
else {
$bbcode = preg_replace("/(\[)(sp)(])(\r\n)*([^\"]*)(\[\/sp\])/siU", "<normalfont>Spoiler:<br></normalfont><br><font color=\"#1C5780\">\\5</font>", $bbcode);
}
$bbcode=str_replace("\\'", "'", $bbcode);

Digital Murders
01-21-2004, 02:01 PM
Originally posted by Sam The Egg
this way, instead of saying *SPOILER* and putting the spoilers way down, or having a spoiler that doesn't give enough warning, this'll make you have to highlight the text to see it.

find:


global $regexcreated,$searcharray,$replacearray,$phpversi onnum



directly after that, insert the following:


,$counter
and be carefull, that you leave the ; at the end.
Then find:

$bbcode = preg_replace("/(\[)(img)(])(\r\n)*([^\"]*)(\[\/img\])/siU", "<a href=\"\\5\" target=\"_blank\">\\5</a>", $bbcode);

$bbcode=str_replace("\\'", "'", $bbcode);


directly after that, insert the following:

if($counter%2==0) {

$bbcode = preg_replace("/(\[)(sp)(])(\r\n)*([^\"]*)(\[\/sp\])/siU", "<normalfont>Spoiler:<br></normalfont><br><font color=\"#13486D\">\\5</font>", $bbcode);
}
else {
$bbcode = preg_replace("/(\[)(sp)(])(\r\n)*([^\"]*)(\[\/sp\])/siU", "<normalfont>Spoiler:<br></normalfont><br><font color=\"#1C5780\">\\5</font>", $bbcode);
}
$bbcode=str_replace("\\'", "'", $bbcode);

All the more reason why Invision is easier.

Sam The Egg
01-21-2004, 02:07 PM
Yes, but in general the spoiler tags would be a good idea.

knockonthedoor
02-02-2004, 10:39 AM
I concur:rolleyes:

Evisceration
02-02-2004, 10:42 AM
Ah, we just got these over at a forum I mod at, but people are abusing them and using them for stupid shit.

Administartion is thinking of taking the tags off now....so if they're being abused over there...just think of the chaos over here....

Sam The Egg
02-02-2004, 12:53 PM
*SPOILER*










































it's worth the risk

XtRaVa
08-18-2006, 04:36 AM
I say: Get Spoiler Tags!!

On another movie forum I post on they have them, and they are brill :)

stygianwitch
08-18-2006, 09:26 AM
Originally posted by XtRaVa
I say: Get Spoiler Tags!!

On another movie forum I post on they have them, and they are brill :)

Ditto

When you see *spoiler* you know you're gonna read it whether you want to or not, you can't help it, if it's hidden and you've got to click to show it then you only see what you want to see

Originally posted by Evisceration
Ah, we just got these over at a forum I mod at, but people are abusing them and using them for stupid shit.

Nothing to say that wouldn't happen here, i don't think it would, but if it did it's likely to be the same people doing it time after time, just don't read their hidden messages