![]() |
bbSpoiler
Keywords: bbcode, hidden, spoiler
Description: A simple but effective [spoiler] bbcode. All the ones I've seen so far fall short for some minor reason or another - so I've created my own :) Features:
|
*Installed
ty man! :banana: *oooppss! 1st post ciao! |
Cheers Hambil, I spent the best part of my life trying to avoid the answer to who shot JR and you go and spoil it in one foul swoop with a screenshot lol.
Nice hack and I will be adding it as soon as I sort my site out, Ive just tested on my dev site and it works fine. H |
Fixed a bug that caused some forum threads to display funcky in forum view. Grab the latest zip. Since there's only one install so far, I only screwed up one person. I'll try harder next time :)
|
2 Installs now m8
Thanks for the update. |
Ah crap, I broke the thread-preview in my last upload. My only excuse is that it's 4am here. All fixed now, but you may need to download again.
|
Thanks man, works just fine!
|
Very good, thankyou for sharing,
i noticed in the install.txt The image path is .images I put it into forum/images the path then was just images/spoiler with no full stop Hope that helps someone else out. Thanks again for the hack. |
Hambil,
Awesome hack!!! installed onmy 3.5.4! One problem, it doesn't work LOL Tried Firefox/IE and nothin' The click to show spoiler table shows up, but it won't click down to show the spoiled text. Any ideas? |
Quote:
|
check it out
Quote:
|
Hmmm...
Can you show me your bbcode for the spoiler tag? |
sure...
Code:
<div width="100%" class="alt1" onclick="spoiler(this);" style="border-collapse: collapse; border: solid thin black;"><div id="idTitle" class="alt2" style="border-collapse: collapse; border: solid thin black; width: 100%;"> <b>click to show</b></div><div id="idSpoiler" style="display: none;">{param}</div></div> Code:
[spoiler]The butler did it![/spoiler] Quote:
|
It looks like the replace isn't working for some reason. Try taking the javascript and editing into the SHOWTHREAD template.
add after "headinclude" Code:
<script language='JavaScript' type='text/javascript'> |
Yep that worked. Does that slow the showthread down? We have many users that will probably NOT use this feature
|
No. It's just javascript. It's only called when spoiler 'show/hide' button is clicked.
|
cool! We'll use this for our movie review forum
|
Hambil! Reporting a problem that I found! :) or I mean :(
When you hover over threads' titles in forumdisplay, showthread, today's posts, new posts, the little popup for the thread preview text is now dead and is NOT working. I disable the product and they work. Looks like the spoiler tags are breaking the tooltips. Remember, I'm the one that had to manually put the javascript into showthread. (I think that is where I had to put it) Any ideas? |
Quote:
I was having the same problem with the "Click to Show" not working.... but i cant find where to add the script.. i cant find "headinclude" anywhere..:cry: |
Post your FORUMHOME template.
|
Been using this for some time now .. simply add it as a new BB code :-
HTML Code:
<div class="spoiler"> <input type="button" class="button" onClick="this.nextSibling.nextSibling.style.display='block';this.parentNode.removeChild(this);" value="Show spoiler"> <span class="content" style="display:none">Spoilertext</span> </div> |
Quote:
|
Quote:
I used that, and the button works, but all it shows is "Spoilertext" and not what i typed. |
Quote:
|
Quote:
|
Quote:
|
Quote:
I found it. I clicked the wrong file. :speechless: But it still doesn't work. |
Quote:
Great hack, but am having this same problem. I have to disable it until a fix was released. Thanks for the hack, and can't wait to see this fixed. |
Quote:
|
Quote:
|
Okay, I made a patch that should get the tooltips to show again. However, the spoilers will show in thread preview. This only effects the few of you who have this problem. Everyone else should notice no difference and doesn't need to update.
I'll need access to one of the boards of the people having this problem to figure it out further. |
This would be good as a warning for graphic content/photos.
|
Quote:
|
Quote:
I have a few questions: I see that it has the same version number, is this right? How do we install this, import product with overwrite...or uinstall first? Do we have to delete and re-add the bbcode? |
Quote:
|
Is there anyway to make it looks nice like the other spoiler hacks?
Something like this one? https://vborg.vbsupport.ru/showthrea...hlight=spoiler I think that one looks great, but doesn't function as good as this one. |
Quote:
|
Great job man. This spoiler is really simple and a good one to use too.
|
Oh, seems to be the most simple spoiler tag out there... i'll test it, thanks.
|
Any chance this works for 3.6?
|
All times are GMT. The time now is 02:45 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:
|