Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat
  • [vB 3.5.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 3.8.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 4.0.x] 404 Page Redirect To...
    By: Ak Worm

Latest Template Mods

  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm
  • [vB 3.7.2] Worldofwarcraft blue...
    By: Mikeyodesigns
  • [vB 3.7.0] My Links
    By: blind-eddie
  • [vB 3.7.0] Pop-Up Warning Before...
    By: Thelonius Beck

Latest Styles

  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5
  • [vB 3.8.3] Green Theme
    By: Robdog
  • [vB 3.8.2] Unreal T 3 - vB3.8.x
    By: Butcher

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.5 / 3.6 Hack Releases » Mini Mods - [3.6.0] BBcode Spoiler Tag
Reply
Page 2 of 4 < 1 2 34 >

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported
[vB 3.6.0] Mini Mods - BBcode Spoiler Tag (233)
Released: 08-20-2006, 10:41 PM
Modification Information: Version: 1.0
Ganondorf's Avatar Author: Ganondorf
Last Online: 06-20-2008
Installer Included: 1 Additional queries added to database: 0 Template Edits:
File Edits: New Files: New Phrases:

Plugin
What does this do?
This Tag uses to hide important information as final of films, games and etc...

Instructions
  1. It lowers the image in annex and it makes upload in the folder forumroot/images/editor/
  2. Go to your BB code manager (admin cp -> Custom BB Codes -> Add New BB Code).
  3. Add the following info:
Title: Spoiler

Tag: Spoiler

Replacement:
Code:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler</b> for <i>{option}</i>: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" 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'; }">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
</div>
Example: [spoiler=End of the Game]Cloud kills Sepiroth[/spoiler]

Description: This Tag uses to hide important information as final of films, games and etc...

Use {option}: Yes

Button Image:
Code:
http://www.your_forum_url.com/forum/images/editor/spoiler.gif
Screenshots



Publisher of text


Hidden Text


Disclosed text

That's it! Enjoy :nervous:
Please click in the button to install



Screenshots
Screenshots
File Type: gif spoiler.gif (129 Bytes, 1802 views)



Old 08-23-2006, 12:37 PM   #11
gta
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 ssssssss1
gta is on a distinguished road
Status: Offline Default
I don i right. But don't see the show button and **** :s
Reply With Quote Installed
Old 09-01-2006, 02:41 AM   #12
MischievousSpirit
vB Newbie

MischievousSpirit's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss35
Location: Buena Park, CA
Age: 34
MischievousSpirit is on a distinguished road
Status: Offline Default
How do I add the spoiler.gif to the quick reply editor?
Reply With Quote Installed
Old 09-02-2006, 06:02 PM   #13
MischievousSpirit
vB Newbie

MischievousSpirit's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss35
Location: Buena Park, CA
Age: 34
MischievousSpirit is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by MischievousSpirit
How do I add the spoiler.gif to the quick reply editor?
Anybody out there??
Reply With Quote Installed
Old 09-02-2006, 06:04 PM   #14
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
The same way you added any otehr buttons there. You should ask in the general support section abotu how to move buttons accross.
Reply With Quote
Old 09-03-2006, 07:48 AM   #15
oussama
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssssss1
oussama is on a distinguished road
Status: Offline Default
Thanks a lot for this great hack

How to add a condition to hide the spoiler content from visors and replace it with a link to register !??

Thank you


ps: sorry for my week english
Reply With Quote
Old 10-11-2006, 10:25 PM   #16
eNforcer
vB Newbie

Activity Longevity
0/20 12/20
Today Posts
0/3 sssssss10
eNforcer is on a distinguished road
Status: Offline Default
Here's a version that keeps the Show/Hide Spoiler for {option} text inside the button.

PHP Code:
<div style="margin:20px; margin-top:5px">
<
input type="button" value="Show Spoiler For: {option}" style="word-wrap:break-word;font-size:10px;margin:0px;padding:0px;" 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 Spoiler For: {option}'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show Spoiler For: {option}'; }">
<
div class="alt2" style="margin: 0px; padding: 6px;">
<
div style="display: none;">
{
param}
</
div>
</
div>
</
div> 

Last edited by eNforcer; 10-11-2006 at 10:38 PM.
Reply With Quote Installed
Old 10-31-2006, 04:15 PM   #17
dart vader
vB Newbie

Activity Longevity
0/20 15/20
Today Posts
0/3 sssssss25
dart vader is on a distinguished road
Status: Offline Default
good one, thanks!
Reply With Quote Installed
Old 11-02-2006, 09:58 AM   #18
val
vb addicted

val's Avatar

Activity Longevity
0/20 12/20
Today Posts
0/3 sssssss69
Location: in my head
val is on a distinguished road
Status: Offline Default
nice tag
Reply With Quote Installed
Old 11-09-2006, 08:36 PM   #19
MissKalunji
Junior Member

Activity Longevity
0/20 15/20
Today Posts
0/3 sssssss42
MissKalunji is on a distinguished road
Send a message via AIM to MissKalunji Send a message via Yahoo to MissKalunji
Status: Offline Default
uhm interesting is there a way to make it only if they reply that they can see it?
Reply With Quote
Old 11-09-2006, 08:57 PM   #20
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
VisionScripts - Premium PHP & vBulletin Solutions! - Products
Reply With Quote

Reply
Page 2 of 4 < 1 2 34 >

« LiveVideo embeding [BB Code] | thread visitor counts »

LinkBacks (?)
LinkBack to this Thread: http://www.vbhackers.com/f76/mini-mods-3-6-0-bbcode-spoiler-tag-4965/
Posted By For Type Date
to add a button to editor? - vBulletin Community Forum This thread Refback 11-04-2006 09:30 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
MUSIC Tag BBCode Stunt vBulletin Modification Requests 3 10-09-2005 04:22 PM
IMG tag Bug RiGiD vBulletin Modification Requests 0 06-02-2005 03:38 PM
bbcode parse nfo files as png tokenyank vBulletin Modification Requests 8 03-16-2005 01:19 AM



All times are GMT. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
See LinkBacks See LinkBacks
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!