The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Does anyone know if there is a simple, basic modification which would allow a user making a post to hide content within their post to all other users? I've seen this on another forum, and the content is hidden until you click a button in the post, which reveals the text placed within. I know there's a hidden content mod here that hides blocks in posts depending on how many posts the user has made, but that's not what I'm looking for. Thanks in advance!
--------------- Added [DATE]1207278592[/DATE] at [TIME]1207278592[/TIME] --------------- Hi again, I found a suitable modification for a hidden block option in vB3.6.8, which is placed in the BB code, but is uses a form button, and I was wondering if it would be possible to alter the code so that I could use my own image? Can anyone help? The "mod" is unsupported. HTML Code:
<div id="spoiler"><div><input type="button" value="Show Spoiler!" style="width:150px;font-size:10px;margin:10px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler!'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler!'; }" /> <div id="show" style="background-image:none; display: none; background-color:transparent; background-repeat:repeat; margin: 0px;border-style:solid;border-width:1px; padding: 4px; width:98%"> {param}</div> <div id="hide"></div></div></div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|