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 (Member) ozzy47 is offline
Developer Last Online: Dec 2021 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 4.x.x Rating: (6 votes - 5.00 average) Installs: 9
Released: 18 Aug 2014 Last Update: Never Downloads: 24
Not 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:	113
Size:	54.8 KB
ID:	150144  

Show Your Support

  • 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
Mini Mods [OzzModz] Different Postbit Per Style ozzy47 Modification Graveyard 1 06 Jul 2014 11:45
Mini Mods [OzzModz] Different Postbit Per Style ozzy47 Modification Graveyard 1 06 Jul 2014 11:43

Comments
  #2  
Old 18 Aug 2014, 01:24
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Reserved.
Reply With Quote
  #3  
Old 18 Aug 2014, 02: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, 02:08
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
That would take a bit of doing, as It would need multiple settings.
Reply With Quote
  #5  
Old 18 Aug 2014, 02: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, 02:48
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 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.
Reply With Quote
  #7  
Old 18 Aug 2014, 07: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?
__________________
Looking for ImpEx?
Reply With Quote
  #8  
Old 18 Aug 2014, 10:13
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 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.

Last edited by ozzy47; 18 Aug 2014 at 10:24.
Reply With Quote
  #9  
Old 18 Aug 2014, 15: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.
__________________
Looking for ImpEx?
Reply With Quote
  #10  
Old 18 Aug 2014, 16:21
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 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,
Reply With Quote
  #11  
Old 25 Aug 2014, 14: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, 14:32
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
More options for what?
Reply With Quote
  #13  
Old 29 Aug 2014, 00: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, 01:46
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
I'll look sometime next week, I am a bit tied up for a few days.
Reply With Quote
  #15  
Old 12 Jan 2015, 23:11
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Thanks Chris, just what I was looking for.
__________________
Alibass
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:51.

Layout Options | Width: Wide Color: