![]() |
To make a really invisible Spoiler, just open admin/functions.php
find: Code:
global $regexcreated,$searcharray,$replacearray,$phpversionnum directly after that, insert the following: Code:
,$counter Then find: Code:
$bbcode = preg_replace("/(\[)(img)(])(\r\n)*([^\"]*)(\[\/img\])/siU", "<a href=\"\\5\" target=\"_blank\">\\5</a>", $bbcode); Code:
if($counter%2==0) { Add the Spoiler with [sp]Spoiler[/sp] in your posts. |
I dont' understand what this does...
Demo perhaps? Thanks Steve |
|
First Bugfix just after one day ;)
Found out, that if you try to place other vbcode within the spoiler, it doesn`t work anymore. :( This is how to fix it: Code:
if($counter%2==0) { Instead of the colors Code:
<font color=\"#13486D\"> Code:
{ firstaltcolor } |
you can add theses in BB code neway i think
|
I've got a [spoiler] tag on my board. No hack required, really.
|
:confused:
How did you give the spoiler text the same color, as the background color in all styles? I have styles with black, gray and orange background colors and if I make the spoiler text black it is easy to read in the other styles with the gray and orange background color. Mine works for all styles and gets the colors right, so that it is really invisible in all the styles. |
It's simple: you stick it in a box with it's own BG color. Watch (first post):
http://www.movieforums.net/showthread.php?threadid=1731 I've tried to implement a JS to highlight it automatically, but keep on running into problems. |
Saw it :)
But what about different styles? Does it always look the same, or is the color changed in different styles? |
Nope, looks the same. I don't use different styles anyway...but even if I did, the gray-on-gray would still work alright.
|
All times are GMT. The time now is 12:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|