PDA

View Full Version : Modified Style Variables program


Andy
02-19-2011, 08:39 PM
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
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
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.