![]() |
Spoiler search fix
Quite some forums have a [spoiler] tag to remove content until the user requests it. However, when searching the forum the content within the spoiler will be visible (when results are shown as posts).
This plugin will remove the content of the spoiler with the text " [[spoiler removed]]" (you can change the phrase through the phrase manager, id: spoilerfix_replacement) https://vborg.vbsupport.ru/attachmen...id=35361&stc=1 And as extra, this is the replacement HTML I use for the spoiler tag on my forum: HTML Code:
<small><b>Spoiler:</b></small><br /> https://vborg.vbsupport.ru/attachmen...id=35362&stc=1 Live demo of this spoiler tag |
Very nice.
Thanks, Mat |
Does this also include the [spoiler] code itself for threads? I need that too...
edit: It doesn't. Can that be added or can you not do replacement stuff in plugins/products? |
Yes, please include the spoiler tag code
|
vbcodes can't be included in products (well, not easily)
all you've got to do is create a new vbcode with the tag name "spoiler" and use the replacement HTML I posted above. |
very nice, thanks :)
|
Just a quick question. Say a guy has a 5meg video clip in his spoiler tag...will it only load if someone clicks to "show" ?
|
Quote:
|
very nice ! thx
|
This is nice (and needed), but folks can still see the spoiler contents with the mouseover preview ( tooltips ). I don't want to disable those previews; is there any way to blank the content within the spoiler tag from being shown in those?
|
Quote:
There's no way to hook into the processing before the vbtags are removed. |
I personally like the text link instead of the button link. Just do an <a> and use an onClick parameter to send info to the nodes.
|
Very nice. How about another button? After you clicked "show spoiler" you will see "hide spoiler" and you can hide it again ^^.
|
Quote:
HTML Code:
<div style="margin:5px 20px 20px 20px"> |
Ok,
i used SPOILER in my old forum. But now on 3.5.2 he dosn't want to work ? Any ideea ? I don't really understand what this hack do. EDIT: Actualy, if I create a new spoiler he works. But old spoilers don't want to work. I just see the button, click it and...nothing. |
Quote:
Okay, that is just WAY cool. It's clean and perfect and my users love it! Thanks. I love how the button says "Show" when the text is hidden ... and "Hide" when the text is showing. However, this doesn't work on Safari (for Mac.) Any workaround? |
Thank you ! Great bbcode.
|
No one have a cool button to insert spoiler code?
Thanks nice mod |
Thanks, works fine in explorer and firefox
|
All times are GMT. The time now is 04:52 PM. |
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:
|