The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Classic button 'Spoiler' BB Code (NO INSTALL REQUIRED) Details »» | |||||||||||||||||||||||||||
Classic button 'Spoiler' BB Code (NO INSTALL REQUIRED)
Developer Last Online: Nov 2023
This is a classic button spoiler BB Code.
Title: Spoiler BB Code Tag Name: Spoiler Replacement: Code:
<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;"><b>Spoiler:</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" type="button" /> </div> <div class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px;"> <div style="display: none;"> {param} </div> </div> </div> Description: Allows you to hide text or images. Image Path: Choose an image and upload it to your server. Use {option}: No Remove Tag If Empty: Yes Disable BB Code Within This BB Code: No Disable Smilies Within This BB Code: No Disable Word Wrapping Within This BB Code: No Disable Automatic Link Parsing Within This BB Code: No Preview: Show Your Support
|
5 благодарности(ей) от: | ||
EliasAlucard, ka81, Mangahaven, zercosz |
Comments |
#12
|
|||
|
|||
This is something strange I just noticed. I placed the code in a plain html page to test it, and surprisingly it works fine without any issues. However, when I apply the same code to my vb bbcode, the show/hide button doesn't function...........
what do you think, mates? |
#13
|
||||
|
||||
hmm, I haven't experienced any issues with the code myself so I am just trying to think of why it wouldn't be working.
|
#14
|
|||
|
|||
Hi Fatal Hazard,
Thanks for the efforts on this mod. This is just a quick feedback about what's going on. I have two sites with different forums, so one in English and other one is non-English so the English one is fine with this mod and works great. However, the "Arabic" one is not functioning at the property "show/hide".... possibly there is something related to the language !!! any idea? Thanks in advance |
#15
|
||||
|
||||
Hi, thanks for pointing this out. This may sound a bit weird but first have you tried editing the show and spoiler text in English to Arabic? This may be worth a try in the first instance.
If you haven't already, find: Code:
2px;"><b>Spoiler:</b> <input value="Show"
Code:
''show" Code:
Spoiler:
|
Благодарность от: | ||
fxdigi-cash |
#16
|
|||
|
|||
Thanks @Fatal Hazard, for the infor. However, after many tries it didn't work. possibly there is something not correct. I tried also adding other bbcodes like Blink and didn't work on the Arabic forum. I will create a new version of Arabic version and add the Spoiler BBcode and see how things go. I will update the issue with the results.
Thanks. |
#17
|
|||
|
|||
Hi again, it is me....
I just installed new Arabic version with the same code, and guess what! it works great. I believe there is something wrong with my current forum so I guess I need to replace it. Thanks the code works perfect. Cheers |
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
Great to hear!!!!
|
#20
|
|||
|
|||
when installed this spoiler why in the mobile not working ??
any suggestion ? |
#21
|
|||
|
|||
works well, but only with text, the images can't be hidden! dont work with images
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|