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

Quote:

Originally Posted by k40tic
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.

hehe, didnt notice k40tic. thanks for the fix, even though it was a simple linebreak ;) haha just givin you a hard time as well. enjoy the hack, and it still works for 3.07 incase you dont know.

utw-Mephisto 02-25-2005 08:42 AM

Finally installed it :)
Great one, automatic script is running smoothly :)

k40tic 02-25-2005 11:51 AM

I know it was a line break is the reason i don't care. I never even really changes anything so in reality I never fixed anything. Actually never mind. I want a trophy for coming up with the easiest fix ever. The easy fix MVP trophy. I also want dancing bananas to come to my house and perform for my kids.
:banana: :banana:
Seriously though man this hack makes life easier for me so thanks.

sirbutts 02-26-2005 09:37 PM

when is this hack going to be up for Hack Of The Month? i would vote for it, because you would think by the time u made it, that someone else woulda made it before you, but no, no one did. so its a breakthrough!! :nervous:

pimpery 02-28-2005 08:13 PM

lol i dont think itll get hack of the month. there are a lot so much more complex than it. it has come in handy a lot though on my tutorial site.

memorex 03-04-2005 01:29 PM

I like the hack and installed it. I do have a suggestion sence I'm dumb and wouldn't know what to do to add it. But is there a way to make it so that you can have the user select expanded or unexpanded as default in their usercp for when the code is used in a thread. I'd love to use both versions simply because I'd rather everything be closed when I first go into the thread. However that java issue is preventing the use of that hack due to some of my users complaints hehe. Just a thought. I do love the hack though :) It makes scrolling not so tidious on the long articles.

pimpery 03-04-2005 11:46 PM

FIX BELOW:
Please remember to replace the instance of http://yoursite.com/forum with the url to your forum.
This fix will just output a regular div, aka which is an expanded accordion box, if there's no javascript enabled since its in the noscript tags. Otherwise, it will use the document.write javascript function to write out a "display:none" styled div, which is aka a collapsed accordion box.

Code:

<div class='panel'>{option}&nbsp;&nbsp;&nbsp;&nbsp;<img src='http://yoursite.com/forum/cpstyles/vBulletin_3_Silver/cp_expand.gif' border='0' onclick="expandit(this);" onload="document.write("<div style=\'display:none;\'");"><noscript><div></noscript><br><table class='vbmenu_popup'><tr><td>&nbsp;&nbsp;<td>{param}</td><td>&nbsp;&nbsp;</td></tr></table><br></div></div>

sirbutts 03-05-2005 08:51 PM

yeh, you should have. this new addition is great. people viewing the site with javascript-disabled, to avoid popups, still can see everything! thanks pimpery. this hack just keeps getting better

pimpery 03-06-2005 03:59 PM

Quote:

Originally Posted by sirbutts
yeh, you should have. this new addition is great. people viewing the site with javascript-disabled, to avoid popups, still can see everything! thanks pimpery. this hack just keeps getting better

sirbutts, no bugs or anything?
if u find any pm me.

J.C. 03-07-2005 03:13 AM

Wow nice hack... this could be useful for spoilers... *click install

Anyway what's the difference between expanded and collapse?

Thanks! :)


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.01187 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
  • (1)bbcode_code_printable
  • (2)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