![]() |
[OzzModz] Force Style Per THIS_SCRIPT Values
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png This is a small mod that will allow admins to set a specific style on specified pages, using the pages THIS_SCRIPT value. It is a simple installation, just import the product XML, product-ozzmodz_style_per_script You can edit the options under the settings, [OzzModz] Force Style Per THIS_SCRIPT Values Settings RisingGlow asked for this here. :) Complete Feature List
Q. Why do I need such a thing, you ask? A. Some admins might like to use a different style on certain pages. ------------------------------------------------------------------------------------------- If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ----> Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ----> What does 'Marking As Installed' do ? * It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available. * For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention. * Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications. I appreciate the support! ------------------------------------------------------------------------------------------- * History (Changelog) * ------------------------- v1.0.0 (August 17, 2014) - Initial public release. |
Reserved.
|
request ..
one style for one THIS_SCRIPT ex : THIS_SCRIPT Blog = style A THIS_SCRIPT Member Profile = style B ... |
That would take a bit of doing, as It would need multiple settings.
|
Thanks! There's a few overlapping styles bugs though, can I PM you my site so you can check it out?
|
What do you mean by overlapping styles bugs? This in no way should overlap any styles, it simply sets a styleid to a page.
|
Is there a reason you're using a loop instead of a single if condition?
|
Not sure what you mean Zachary, to my understanding, the way the "do" works, is if X is true, it stops the plugin from executing.
I am by far a expert coder, so any light you shed would be appreciated. |
I'm not either, it just seems like a lot of extra work/typing to do it the way you're doing it.
PHP Code:
I don't think you need the global there, for vBulletin either. |
Yeah I don't know about the global either, but it can't hurt.
The reason I typed it out the way I did, is it makes it a lot easier to debug if there is a problem with one of the conditions, it's something I learned from Fillip, :) |
All times are GMT. The time now is 12:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|