vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom vB3 $stylevar (https://vborg.vbsupport.ru/showthread.php?t=305772)

Digital Jedi 12-11-2013 10:01 PM

Custom vB3 $stylevar
 
I just noticed there appears to be no (quick) way to make a custom $stylevar in vB3. And it doesn't look like too many people have asked about it before. Anyone know of a method that I'm just overlooking?

Lynne 12-11-2013 11:42 PM

Hmmmm, I have to say I have never really been into using custom $stylevars in vB4 so I'm not sure how they would be useful. I've usually been able to do what I want by just adding to the additional.css template, or in vB3s case, adding to the additional CSS spot on the bottom of the Main CSS page.

Digital Jedi 12-12-2013 12:11 AM

I was wanting to make my own stylevar directory(ies) for certain plugins. I'm not too partial to creating subdirectories in the various images folders if it's not necessary. There doesn't seem to be a $stylevar for just the image directory, either. Something like $stylevar[imgdir]. So I thought maybe I could construct one.

Dr.CustUmz 05-09-2014 08:15 AM

i know this is kind of old, but you mind sharing your findings? I'd like to add a few stylevars myself =)


All times are GMT. The time now is 02:42 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.01146 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete