Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[OzzModz] Force Style Per THIS_SCRIPT Values Details »»
[OzzModz] Force Style Per THIS_SCRIPT Values
Mod Version: 1.0.0, by ozzy47 (Advisor) ozzy47 is online now
Developer Last Online: Feb 2015 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (6 votes - 5.00 average) Installs: 10
Released: 18 Aug 2014 Last Update: Never Downloads: 23
Supported Uses Plugins Translations  

Another mod brought to you by,


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
  • Option to disable the mod completely.
  • Option to set the style.
  • Option to set the THIS_SCRIPT values.
Frequently Asked Questions.

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 button to the right ---->

Please remember to click the, 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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	force style 1.jpg
Views:	98
Size:	54.8 KB
ID:	150144

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[OzzModz] Different Postbit Per Style ozzy47 vBulletin 4.x Add-ons 1 06 Jul 2014 12:45
[OzzModz] Different Postbit Per Style ozzy47 vBulletin 3.8 Add-ons 1 06 Jul 2014 12:43

Comments
  #2  
Old 18 Aug 2014, 02:24
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
Reserved.
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333
Reply With Quote
  #3  
Old 18 Aug 2014, 03:04
Muhammad Rahman Muhammad Rahman is offline
 
Join Date: Jun 2012
request ..
one style for one THIS_SCRIPT

ex :
THIS_SCRIPT Blog = style A
THIS_SCRIPT Member Profile = style B
...
__________________
none_
Reply With Quote
  #4  
Old 18 Aug 2014, 03:08
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
That would take a bit of doing, as It would need multiple settings.
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333
Reply With Quote
  #5  
Old 18 Aug 2014, 03:46
RisingGlow RisingGlow is offline
 
Join Date: Feb 2012
Thanks! There's a few overlapping styles bugs though, can I PM you my site so you can check it out?
Reply With Quote
  #6  
Old 18 Aug 2014, 03:48
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
What do you mean by overlapping styles bugs? This in no way should overlap any styles, it simply sets a styleid to a page.
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333
Reply With Quote
  #7  
Old 18 Aug 2014, 08:09
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Is there a reason you're using a loop instead of a single if condition?
Reply With Quote
  #8  
Old 18 Aug 2014, 11:13
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
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.
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333

Last edited by ozzy47 : 18 Aug 2014 at 11:24.
Reply With Quote
  #9  
Old 18 Aug 2014, 16:14
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
I'm not either, it just seems like a lot of extra work/typing to do it the way you're doing it.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


I don't think you need the global there, for vBulletin either.
Reply With Quote
  #10  
Old 18 Aug 2014, 17:21
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
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,
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333
Reply With Quote
  #11  
Old 25 Aug 2014, 15:04
goxy63 goxy63 is offline
 
Join Date: Oct 2008
more options would be nice

installed nominated rated

thank you
Reply With Quote
  #12  
Old 25 Aug 2014, 15:32
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
More options for what?
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333
Reply With Quote
  #13  
Old 29 Aug 2014, 01:01
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Originally Posted by ozzy47 View Post
More options for what?
example: one style for my games , another one for my radio stations

and one more question, when I use this under my arcade games its working, but only for logged in users...for guests its not working?

thank you
Reply With Quote
  #14  
Old 29 Aug 2014, 02:46
ozzy47's Avatar
ozzy47 ozzy47 is online now
 
Join Date: Aug 2009
Real name: Chris
I'll look sometime next week, I am a bit tied up for a few days.
__________________
My Mods also available at OzzModz.com

New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
Stop Spam Now The era of Big Spam is over.



Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333
Reply With Quote
  #15  
Old 13 Jan 2015, 00:11
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Thanks Chris, just what I was looking for.
__________________
Alibass
YHForums
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 08:41.

Layout Options | Width: Wide Color: