vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Modified Style Variables program (https://vborg.vbsupport.ru/showthread.php?t=259139)

Andy 02-19-2011 08:39 PM

Modified Style Variables program
 
1 Attachment(s)
This php script called stylevars.php was created by me to assist using the Style Variable Editor in the Admin CP. It allows one to quickly see which Style Variables and elements that have been modified.

Instructions for use:

1) Download stylevars.zip
2) Extract it so you have stylevars.php
3) Use Dreamweaver or other editor to enter the styleid and config.php information
4) Place stylevars.php into a folder on your website. For example:

http://www.yourforum/tools/stylevars.php

4) Call the script from your browser

You will see all the modified Style Variables. I hope this helps you as much as it has helped me. It sure makes using the Style Variables Editor easier. Enjoy.

TheLastSuperman 02-19-2011 09:34 PM

Quote:

Originally Posted by Andy (Post 2164402)
This php script called stylevars.php was created by me to assist using the Style Variable Editor in the Admin CP. It allows one to quickly see which Style Variables and elements that have been modified.

Instructions for use:

1) Download stylevars.zip
2) Extract it so you have stylevars.php
3) Use Dreamweaver or other editor to enter the styleid and config.php information
4) Place stylevars.php into a folder on your website. For example:

http://www.yourforum/tools/stylevars.php

4) Call the script from your browser

You will see all the modified Style Variables. I hope this helps you as much as it has helped me. It sure makes using the Style Variables Editor easier. Enjoy.

Not bad, you could take this further though :cool:. You should release it as a modification - https://vborg.vbsupport.ru/forumdisplay.php?f=245 although in newer versions you can check to see what stylevars have been modified... Edit: this could be useful for some who are not upgrading for some reason i.e. a mod that has not been updated etc just a thought.

Andy 02-19-2011 09:45 PM

Quote:

Originally Posted by TheLastSuperman (Post 2164414)
although in newer versions you can check to see what stylevars have been modified... Edit: this could be useful for some who are not upgrading for some reason i.e. a mod that has not been updated etc just a thought.

Hi Michael,

I'm running vb 4.1.2 and yes it now shows that a Style Variable has been modified similar to the way templates are shown when modified. The advantage of using this script is that it also shows you the elements that have been modified. This is very useful when working with the Style Variables Editor as you can have this script open in a browser window and use the browsers Find fuction to see where certain changes have been made.


All times are GMT. The time now is 02:31 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.00981 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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