Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Accordion BBCode Details »»
Accordion BBCode
Version: 1337, by pimpery pimpery is offline
Developer Last Online: Aug 2006 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 02-15-2005 Last Update: 05-01-2005 Installs: 30
 
No support by the author.

This is a BBCode Addition that will add the [expand] BBCode to your forum.

The expand tag creates a expandable/collapsable container to hold your content and should be very handy when it comes to organizing tutorials or any other extensive posts.

To use it you would just do [expand=caption]content goes here[/expand]
To see the example, you can click on this link (to see the hack installed on an actual Vbulletin Forum)

Not only can text can be put in an accordion box. You can put anything that you would want in between the expand tags!

Before asking any questions please read the readme of which installation you want (manual or auto). The readmes explain all that is necessary for installing this add-on.

***UPDATE march 8th/2005:
modified the code to auto-expand if person viewing a box does not have javascript enabled. now only one installation is needed (accordion_install.php).
--
optimized javascript function to be quicker.
--
made installing even easier, now uses relative paths (no more search n' replace)
--

-Enjoy!, JaGx

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-06-2005, 09:24 PM
angelicGrace angelicGrace is offline
 
Join Date: Jun 2004
Location: Up in the clouds
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those persons who might like a thought, this would make a great "spoiler" tag. in fact it may be replacing the spoiler tag i currently have in place, cause this is way cooler.
Reply With Quote
  #43  
Old 05-16-2005, 04:46 AM
HeloHi's Avatar
HeloHi HeloHi is offline
 
Join Date: Feb 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by angelicGrace
For those persons who might like a thought, this would make a great "spoiler" tag. in fact it may be replacing the spoiler tag i currently have in place, cause this is way cooler.
I used it for a "Not Safe for Work" tag, changed the bbcode tag to [nws] and made a new image, and kept a text blackout spoiler. This hack is awesome

Thanks
Reply With Quote
  #44  
Old 05-27-2005, 03:27 AM
Devii Devii is offline
 
Join Date: Apr 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, im going to try modify it into something a little cleaner looking, the dual borders are not needed.
Reply With Quote
  #45  
Old 06-18-2005, 03:41 PM
Rambo Rambo is offline
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, useful.

Wondering, if you will update it to allow bbcodes used in the caption, cause at the moment i can't bold the text nor change its colour =O.
Reply With Quote
  #46  
Old 07-04-2005, 04:27 AM
pimpery pimpery is offline
 
Join Date: Nov 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for not posting in this thread so long:
I've done a little modding of the template and managed to stylize the boxes - I'll be posting an updated version where you can do this easily if there are a decent amount of requests for it.

Example of the newly updated bbcode: (As used for a tutorial!)
http://pop.pimpsofpain.com/showthread.php?t=3776

Also (I might release),
Another set of bbcodes that use javascript called "Anchor and Jump"
Example: (scroll down to bottom, and click "back to the top")
http://pop.pimpsofpain.com/showthrea...2007#post32007
Reply With Quote
  #47  
Old 07-05-2005, 12:24 AM
sirbutts sirbutts is offline
 
Join Date: Sep 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn! I like what you did with the boxes. Please make an autoinstaller for the new version!
Reply With Quote
  #48  
Old 07-05-2005, 04:46 AM
pimpery pimpery is offline
 
Join Date: Nov 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sirbutts
Damn! I like what you did with the boxes. Please make an autoinstaller for the new version!
Started it. It will be done in a couple of days (working on it with the free time I have)
Reply With Quote
  #49  
Old 08-04-2005, 09:08 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Auto installer gets this:

Quote:
Step 2)

Appending new javascript function to vbulletin_global.js...

Error! The file, vbulletin_global.js in the clientscript folder, could not be written to!
Please make sure it exists and if it does chmod it to 777. After doing so, refresh this page
It does exists, and is chmod'ed to 777. I tried the manual install after and it shows up but only works in IE. I seen a FF fix on the first page, but that phrase isn't in anything.
Reply With Quote
  #50  
Old 08-10-2005, 01:15 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Loving this code, will you be updating it for 3.5?
Reply With Quote
  #51  
Old 08-11-2005, 02:42 PM
pimpery pimpery is offline
 
Join Date: Nov 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Things have been really ++++ed lately. Too many bad things happening - I'll try to get it done ASAP. In the meanwhile checkout the other BBcode I made for 3.5 (Jump & Anchor)
Reply With Quote
Reply


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 12:25 AM.


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.04609 seconds
  • Memory Usage 2,300KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete