vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Accordion BBCode (https://vborg.vbsupport.ru/showthread.php?t=76405)

pimpery 02-15-2005 10:00 PM

Accordion BBCode
 
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

yoyoyoyo 02-16-2005 11:47 AM

is there anything new from the beta version you posted earlier?

pimpery 02-16-2005 08:21 PM

yeh, i optimized the installer a bit.

sirbutts 02-17-2005 12:43 AM

whats different? should i reinstall with the new installer?

pimpery 02-17-2005 07:52 PM

Quote:

Originally Posted by sirbutts
whats different? should i reinstall with the new installer?

You can if you want. The installer is designed so that it doesnt do any harm if its already installed.

k40tic 02-18-2005 10:32 PM

I like it alot but I had to edit it a bit to get it to work with firefox. It worked fine with IE though when I tested it as it was. I prefer firefox to IE so here is what I done.

I took the follwing line
Code:

var folder='';function expandit(curobj){
Made the following changes
Code:

var folder='';
function expandit(curobj){

Now all is well for me and I don't get the expandit is not defined error anymore when using firefox.

yoyoyoyo 02-19-2005 01:28 AM

Quote:

Originally Posted by k40tic
I like it alot but I had to edit it a bit to get it to work with firefox. It worked fine with IE though when I tested it as it was. I prefer firefox to IE so here is what I done.

I took the follwing line
Code:

var folder='';function expandit(curobj){
Made the following changes
Code:

var folder='';
function expandit(curobj){

Now all is well for me and I don't get the expandit is not defined error anymore when using firefox.

cool- thanks!

Snow 02-19-2005 08:53 AM

Cool BBcode addition, thanks pimpery. And thanks k4otic for the firefox fix, worked great for me.

pimpery 02-21-2005 06:49 PM

Quote:

Originally Posted by Snow
Cool BBcode addition, thanks pimpery. And thanks k4otic for the firefox fix, worked great for me.

alright thanks for the fix yoyooyyoyoyoyo, i did the fix in the attachments. so redownload if u havent yet.

k40tic 02-22-2005 03:45 PM

Quote:

Originally Posted by pimpery
alright thanks for the fix yoyooyyoyoyoyo, i did the fix in the attachments. so redownload if u havent yet.

Man what does a man have to do around here to get some credit for his work. :nervous: I'm the one who fixed it and yoyo just quoted my fix is all. I don't really care though man I'm just giving you a hard time.


All times are GMT. The time now is 07:18 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.01070 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete