vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   StyleVar Modification (https://vborg.vbsupport.ru/showthread.php?t=240014)

wilhud 04-07-2010 07:46 PM

StyleVar Modification
 
I'm trying to change the size of the forum icons on my opening forum page and I think I see how to do it, but I can't seem to get it to work. Here's what I tried...

Went to Replacement Variable Manager
Clicked Add New Replacement Variable
Entered {vb:stylevar forumicon_size} as the Search For Text
Entered 72 as the Replaceme With Text
Clicked Save

I then refreshed the page and there was no change. I read somewhere that forumiconbox_size also needs changed when resizing, so I added that as well, but still no change. I'm not sure if I'm even doing this right though, since this is my first attempt at adding a Replacement Variable. Anyone know what I'm doing wrong?

I'm using vB4.0.2 with level 4 patch.

Any input is appreciated.

Thanks,
Wil

--------------- Added [DATE]1270678972[/DATE] at [TIME]1270678972[/TIME] ---------------

Ok, I found the way to do this, but it was confusing to me where the change was supposed to be made. Here's what I did...

Expanded Styles & Templates
Clicked Style Manager
From The All Style Options Dropdown I chose StyleVars (this was buried and hard to find in my opinion)
Under the Forums section of styles forumicon_size is one of the options
Changed the size value from 48 to 72
Clicked Save

Very simple to do but hunting that down was a bit difficult. I'll need to keep in mind that there are very powerful tools in that one little dropdown.

Wil


All times are GMT. The time now is 08:16 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.00875 seconds
  • Memory Usage 1,707KB
  • 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
  • (1)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