![]() |
[BB Code] Spoiler Tag
1 Attachment(s)
PLEASE CLICK ON INSTALL , IF YOU ARE INSTALLING IT , TO RECEIVE MORE UPDATES ON THIS.
This is is Without option code , with option , check posts below As Many People PMed Me about to upgrade my Spoiler Tag code to vb4 , so I added this , The tag is: [spoiler]Text you want to hide[/spoiler]. Now a guide to add it: 1. Upload the files of the attachment. 2. Log in at Admin Panel 3. Go to Style manager > All Style Options > Edit Models > headinclude. 4. Find: Code:
<script type="text/javascript" src="{vb:stylevar yuipath}/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"></script> Code:
<script type="text/javascript" src="clientscript/spoiler.js"></script> 6. Enter the data: --- Title: Spoiler --- Tag Name: spoiler --- Replacement: Code:
<blockquote class="postcontent restore "> --- Description: Tag to hide spoilers. --- Use Option? NO --- Bottom image: images/spoiler.gif --- Remove Tag if Empty? Yes. --- The other 3 options, set to No. 7 - Click to add and you are done! It should look like this: http://img199.imageshack.us/img199/7941/capturarqs.png Note : - I have added this as a free source , you are free to edit it and help yourself , but add your modification in here aswel , so that you will help others , Users please browse through more posts to see more modification of this mod , please Click Install and Rate the Mod :) |
Thanks theFM ........ i will to try...
|
Can you make it slide?
|
Any screenshots? Thanks
|
Getting a few errors with this on my test board
If the spoiler is in the format [spoiler=Example]This is a spoiler tag![/spoiler] it just shows up as text If it's in the format [spoiler]This is a spoiler tag![/spoiler] it displays fine, but if there are multiple spoilers in the post and you click to open any of them, they only open the first one. Also, if you click the image in the spoiler thing, it opens a new page displaying just that image, rather than opening the spoiler. |
Thanks for saying , Fixed the Things ...
Try Now , it was doing alright now |
Quote:
Also, would it be possible to make the "Spoiler" text a button to click, rather than selectable text? I suppose I could look into the HTML for that. |
This is a nice addon, thanks :)
|
Quote:
|
I've figured out a workaround by other codes found on google...
HTML Code:
<blockquote class="postcontent restore "> Notice i'm using the OPTION tag, so be carefull This will work for those threads with more than one spoiler, avoiding the load of the javascript (so if you do this, remove the code in headinclude) |
thanks
i will test it |
Thx
|
thanxx
good BBcode installd+ 5 stars for arabic users: هذا الكود بعد تعديله لللعربية و مقتبس من الرد رقم 10 PHP Code:
|
Hi,
This looks interesting, is it possible to change the name from "spoiler" to something else so that it can be used in other ways. For example, in a sig, so it might say: Code:
[Team]me, him, you, them, etc [/team] I hope that makes sense :) Thanks. |
Nice
|
This didn't work for me. I'm getting a broken image, and nothing to highlight or click... I'm fairly certain I did everything right.
Anyone else have this problem? |
Installed and works great, nice guide!
|
Quote:
Running 4.03 PL1 if that matters. Found the problem: Code:
<script type="text/javascript" src="{vb:stylevar yuipath}/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"></script> |
Quote:
Uninstalled it for now. This one seems to work better although I like the look of yours better. We typically use more than one per post so this problem prevents me from using it. Will check back when fixed. |
HI - uhm - okay - have to say I have no knowledge of anything - when I say that I mean I didnt even upload and install the forum I am now running someone else did who disappeared and I have been left to it - I have installed just 2 plug ins and one product in my life and they were like full time jobs trying to get done - I read installation instructions on some of these mods etc and there is always something I get stuck on or makes no sense to me or sounds to complicated to try & when I do they make me want to turn to drink....
I have now tried to install a spoiler tag on my forum no less than 11 times, something goes wrong that I dont understand or its really horrible looking or didnt work on everything on forum AND didnt have the icon etc which appears in the advanced posting option things (whatever thats called??! editor? see thats how bad I am!! lol) I had lost faith completely.......... BUT - this installed absolutely perfectly - it was really easy to install and use, works on everything & I have had no problems at all - and for me that really is RARE as I consider typing on a computer not a typewriter as a big challenge!! lol (yep, I'm oldish!) - and not just that it is easy to adapt and looks REALLY professional/good on my forum - I am so happy - this might sound mad for something as simple sounding as a BB code for spoilers but I have to say its been the hardest thing to find for me - and even the girl that started and designed the site told me she couldnt find a good one that worked well for us before she disappeared somewhere in Moscow..............(lol). You would not believe how many bad BB codes for spoilers I tried - either because they werent good on 4.0 Vb or the instructions etc made life impossible for a novice like me or whatever. I thought a spoiler BB code was a pretty essential thing & couldnt believe it wasnt standard on vbulletins - I cant believe how long it took to find a really good one that someone like me could install..............and did everything I wanted and looked good complete with icons/images etc.. so A BIG BIG BIG THANK YOU! I am so grateful to you for your time making an EASY to install good looking essential add on..... |
Thanks man i tryed it worked fine installed D:
|
It worked with
Code:
[spoil]example[/spoil] Code:
[spoil=example]example2[/spoil] |
a idea... try to remplace this code:
Code:
<b>Spoiler: </b></span> Code:
<b>Spoiler: </b>{option}</span> I have a similar spoiler, and have this code when you put [Spoiler="title"]Example[/spoiler] it show me: Spoiler: Title --Example XD I don't really know if will work or not... but you can try, ok ;) regards ;) |
Thanks! Great code!
|
Great spoiler code!
|
do you know how to reduce the width of the blue spoiler box
|
in the mobile skin does not work.
any solution? |
it doesn't work on vb4.2........ any idea? thanks
|
Fix image and provide 4.2 code.
|
This is awesome mod. Thanks you so much. Installed, rated, nominated!
|
I can view the spoiler in the activity page.
|
this good for vb5 at all?
|
Quote:
|
Any screenshots? Thanks
|
It seems that language filtering doesn't work inside the spoiler- is there a fix for this?
|
How can i set it that only registred members can see the content of the spoiler?
|
Quote:
that would be very cool...i was hoping its possible myself...id even pay towards something like that with usergroup permissions |
works perfect, just had to change the HTML code to english :P thanks a ton for this!
|
All times are GMT. The time now is 06:00 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:
|