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)

Cyricx 03-07-2005 03:36 AM

How can I change the background and font to use stylevars?

I have a few styles that use white writting, so they are showing up as a big blank box.

EDIT - Ahha! I got it :) Just changed the bbcode replacement to

Code:

<div class='panel'>{option}&nbsp;&nbsp;&nbsp;&nbsp;<img src='/forums/cpstyles/vBulletin_3_Silver/cp_expand.gif' border='0' onclick="expandit(this);"><div style="display: none;"><br><table class='vbmenu_popup'><tr class="alt1"><td class="alt1">&nbsp;&nbsp;<td>{param}</td><td>&nbsp;&nbsp;</td></tr></table><br></div></div>
Awesome hack!! :)

pimpery 03-08-2005 11:59 PM

Quote:

Originally Posted by Cyricx
How can I change the background and font to use stylevars?

I have a few styles that use white writting, so they are showing up as a big blank box.

EDIT - Ahha! I got it :) Just changed the bbcode replacement to

Code:

<div class='panel'>{option}&nbsp;&nbsp;&nbsp;&nbsp;<img src='/forums/cpstyles/vBulletin_3_Silver/cp_expand.gif' border='0' onclick="expandit(this);"><div style="display: none;"><br><table class='vbmenu_popup'><tr class="alt1"><td class="alt1">&nbsp;&nbsp;<td>{param}</td><td>&nbsp;&nbsp;</td></tr></table><br></div></div>
Awesome hack!! :)

cyricx:
just modify the class= tags to whatever class you want them to show up as. if you want to make a custom class, go head, just add it to the extra CSS definitions in the style manager. then have the class= value, as that class.

as for J.C.'s question, the difference is written in the readme, but ill go head and tell you anyways ;)

expanded, means the boxes are expanded by default, when the page loads

collapsed, means the boxes are collapsed by default, when the page loads

for the collapsed version, i added an optional fix above which will have the boxes be expanded by default, for the people without javascript

this way, even though they dont have javascript and cant press the buttons to expand/collapse the boxes, the boxes will be expanded by default, so they can see the contents inside.

msimplay 03-09-2005 06:04 AM

Quote:

Originally Posted by KanyeWest
idont like it thhere is no point wat so ever for this hack

Stop being rude , if you feel theres no use for it then don't use it simple as. Besides other people might find it useful

sirbutts 03-10-2005 02:41 AM

kanye, leave pimpery alone or take it somewhere else. this is a thread for a hack, not for your problems.

as for the update: i had to remove the old functions from my global.js, but after that the auto-installer worked perfectly
i must ask though, how did you make the accordion boxes to open up automatically if the person doesn't have javascript? is it the noscript tag??
thanks pimpery, if im a n00b say so! ;)

sirbutts 03-10-2005 07:49 PM

Quote:

Originally Posted by sirbutts
kanye, leave pimpery alone or take it somewhere else. this is a thread for a hack, not for your problems.

as for the update: i had to remove the old functions from my global.js, but after that the auto-installer worked perfectly
i must ask though, how did you make the accordion boxes to open up automatically if the person doesn't have javascript? is it the noscript tag??
thanks pimpery, if im a n00b say so! ;)

yes, its the noscript tag. it will write out a collapsed div using javascript, only if they have js, otherwise its impossible :). if they dont, the noscript tag will take affect.

pimpery 03-10-2005 11:29 PM

Quote:

Originally Posted by sirbutts
yes, its the noscript tag. it will write out a collapsed div using javascript, only if they have js, otherwise its impossible :). if they dont, the noscript tag will take affect.

lol, did you just answer your own question? well good for you :D

sirbutts 03-13-2005 06:58 PM

yeh, i figured it out after a while :)

pimpery 03-13-2005 07:02 PM

Quote:

Originally Posted by sirbutts
yeh, i figured it out after a while :)

sirbutts, if u want to test out a new hack im making, contact me on aim, revengist.

sirbutts 03-19-2005 06:10 PM

Quote:

Originally Posted by pimpery
sirbutts, if u want to test out a new hack im making, contact me on aim, revengist.

ive been on the past 3 days, and u havent :X

pimpery 03-23-2005 03:14 AM

well im on now, so im me, and please, use pms from now on.


All times are GMT. The time now is 05:44 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.01107 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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