Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Spoiler BBCode (auto-created and configurable) Details »»
Spoiler BBCode (auto-created and configurable)
Version: 1.5, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.x.x Rating:
Released: 10-18-2015 Last Update: 02-19-2017 Installs: 39
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Overview:

This add-on, upon installation, auto-creates a new custom spoiler BBCode defining the tags (where the text to be hidden is placed between the tags).

You may set the color of the button, the color of the text on the button, and the border radii of both the button and the element containing the hidden text below the button. The button is animated, in that when it is clicked, it moves down and to the right to give the illusion of being depressed when clicked.

When the text is hidden, the button says "Show" and a tooltip advises the user that clicking it will "Reveal Contents" and when the text is shown, then button then says "Hide" and the tooltip advises the user that clicking it will "Conceal Contents."

If the product is uninstalled, then the BBCode is removed from the database.

Updates:

Version 1.1:
  • Changed BBCode options to allow smilies in the spoiler.
  • Added needed scripts where CSS is loaded.

Version 1.2:

Version 1.3:
  • Template now cached.

Version 1.4:

Version 1.5:
  • Added option to mask spoiler content in threadbit previews (forumdisplay and search).

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product alters your database, however it is always good practice to keep regular backups and you should backup before installing ANY new mod.

As always products are USE AT YOUR OWN RISK. I will try to help if I can but no guarantee is offered or implied.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your forum's root directory.
  3. In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import"
  6. You MUST set your settings to enable the mod. Each setting has an explanation of its use.

Support for this product can be found here:

Download Now

File Type: zip MarkFL - Spoiler BBCode v1.5.zip (5.6 KB, 80 views)

Screenshots

File Type: jpg markfl_spoiler01.jpg (36.2 KB, 0 views)
File Type: jpg markfl_spoiler02.jpg (35.7 KB, 0 views)
File Type: jpg markfl_spoiler03.jpg (16.2 KB, 0 views)
File Type: jpg markfl_spoiler04.jpg (19.1 KB, 0 views)
File Type: png markfl_spoiler_acp.png (57.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
astra121, rakhwanna

Comments
  #2  
Old 11-17-2015, 05:05 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: version 1.1
  • Changed BBCode options to allow smilies in the spoiler.
  • Added needed scripts where CSS is loaded.
Reply With Quote
  #3  
Old 12-04-2015, 03:58 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: version 1.2
Reply With Quote
  #4  
Old 03-17-2016, 05:10 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: version 1.3
  • Template now cached.
Reply With Quote
  #5  
Old 04-21-2016, 01:58 PM
rakhwanna rakhwanna is offline
 
Join Date: Aug 2015
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make it unclickable until user click thanks from this mod https://vborg.vbsupport.ru/showthread.php?t=231666

and i think it will awesome if added in quick reply too
Thanks
Reply With Quote
  #6  
Old 04-21-2016, 02:25 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rakhwanna View Post
Can you make it unclickable until user click thanks from this mod https://vborg.vbsupport.ru/showthread.php?t=231666
Sorry, but the effort required and added complexity would far outweigh the utility of such a feature, especially given how many post thanks systems would have to be supported.

Quote:
Originally Posted by rakhwanna View Post
and i think it will awesome if added in quick reply too
Thanks
It (the parsed BBCode) actually does show up when you post a quick reply...are you asking about adding the toolbar button to the quick editor? If so, please see my product here:

Quick Editor Buttons

With that, you can customize the quick editor's toolbar.
Reply With Quote
  #7  
Old 04-21-2016, 02:44 PM
rakhwanna rakhwanna is offline
 
Join Date: Aug 2015
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Sorry, but the effort required and added complexity would far outweigh the utility of such a feature, especially given how many post thanks systems would have to be supported.



It (the parsed BBCode) actually does show up when you post a quick reply...are you asking about adding the toolbar button to the quick editor? If so, please see my product here:

Quick Editor Buttons

With that, you can customize the quick editor's toolbar.
I was Installed but the SP button not show up
(Edited ... I am not set the option, sorry Case Solved )
Ok, Thank you Mark.. :up:
Reply With Quote
Благодарность от:
MarkFL
  #8  
Old 06-27-2016, 03:34 PM
NoMatt3r NoMatt3r is offline
 
Join Date: Dec 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charme!
Reply With Quote
Благодарность от:
MarkFL
  #9  
Old 07-08-2016, 06:39 AM
exportforce exportforce is offline
 
Join Date: Jun 2007
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I edit the "SP" to "spoiler" ?
Reply With Quote
  #10  
Old 07-08-2016, 09:57 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by exportforce View Post
How can I edit the "SP" to "spoiler" ?
You can change the "BB Code Tag Name" in the "BB Code Manager."
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:17 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
  • Page Generation 0.07550 seconds
  • Memory Usage 2,338KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete