vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Accordion BBCode (2 edits!) (https://vborg.vbsupport.ru/showthread.php?t=76220)

RMS-Chef 02-13-2005 12:46 PM

very neet. well done.

noppid 02-13-2005 01:04 PM

This is a vast improvement over the spoiler code hacks that just hide the text in the same color as the postbit. Users may actually "get" what to do.

Cool idea!

One question, what happens if javasrcipt or java, which ever controls that, is off?

The Geek 02-13-2005 01:24 PM

I have something like this for spoilers... but I was curious if multiple expandable boxes were on a page... does it still work correctly?


Mine was done via custom BB code and I couldnt get a unique ID for the DIV becasue of it. Therefore if there is more than 1 per page it tweaks out.

Just curious. Looks cool

[edit]

here is the one i did but only works if there is one per page-> http://www.thenailgeek.com/showpost....2&postcount=30

[/edit]

pimpery 02-13-2005 01:52 PM

yours requires unique ids because you use the vbulletin built in one. mine uses relative ids based on the siblings of the button u press. you can have unlimited number on a page and they will not conflict eachother.

as for if someone has javascript disabled, ill have 2 versions. one where the things are expanded by default, and one where they are collapsed by default.

The Geek 02-13-2005 02:52 PM

Quote:

Originally Posted by pimpery
yours requires unique ids because you use the vbulletin built in one. mine uses relative ids based on the siblings of the button u press. you can have unlimited number on a page and they will not conflict eachother.

as for if someone has javascript disabled, ill have 2 versions. one where the things are expanded by default, and one where they are collapsed by default.

sweet ;)

pimpery 02-13-2005 05:17 PM

the autoinstall script has been made :)
its been attached to the first post!
enjoy!!! :D

Mark.B 02-13-2005 05:42 PM

Sorry, but this just doesn't work at all.

For starters the install_collapsed script calls install_expanded so it fails.

Having remedied that, it also doesn't account for people who have moved their admincp. Remedied that.

Despite this, the script fails when tested, see here:

http://www.bowlandcentral.com/forum/...585#post590585

It tells me that 'ns6 is undefined'.

Finally, the image used for the arrow hotlinks to a remote server.

Oh also the caption displays a '5' instead of the actual caption!

Jolten 02-13-2005 05:59 PM

I guess I'm missing something.. I see no install instructions or zip files at all.

Mark.B 02-13-2005 06:08 PM

Quote:

Originally Posted by Jolten
I guess I'm missing something.. I see no install instructions or zip files at all.

They've gone...they were here ten minutes ago.

I am guessing the author is rewriting them.

pimpery 02-13-2005 06:40 PM

Quote:

Originally Posted by Mark.B
They've gone...they were here ten minutes ago.

I am guessing the author is rewriting them.

i apoligize for the errors. my friend wrote part of the code and i did not realize he was so dumb. i am sure i fixed all the errors so try again now.
also, theres another step now, where you have to goto your admin panel bbcode manager and activate the bbcode.


All times are GMT. The time now is 02:08 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.01213 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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