Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Force Style for Selected Usergroups Details »
Force Style for Selected Usergroups
Mod Version: 4.0.002, by Mosh (Coder) Mosh is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (1 vote - 5.00 average) Installs: 43
Released: 28 Nov 2009 Last Update: 12 Mar 2010 Downloads: 355
Not Supported DB Changes Uses Plugins Re-usable Code Translations  

Please click Mark as Installed if you are using this hack.

IMPORTANT NOTICE: This hack has now been discontinued - this means that while it will remain available for download and use, there will be no further updates as this thread is no longer monitored. I am also not interested in doing paid work requests to update this hack at all.


What Does This Hack Do?

It is a update of my v3.8.x hack available here, designed to work with vBulletin v4.0.x.

This hack allows you to force a style to a usergroup via usergroup permissions, so this means that you can force different usergroups to different styles (previous versions of this hack only allowed you to apply only 1 style to a set of usergroups/users).

Scenario

The setup on my forums is that I use the default style as the parent to all my other styles which makes modifying the templates easy for me, I just edit my default style and the child styles inherit the changes.

I wanted to use a child style as the standard style for visitors and members, but not have them have a choice of the default style at all, but as soon as you logged out you were presented with the default style that you did not want guests to see.

This hack rectifies that. It also allows you to let others use the forum wide default style (selected via Style & Language Settings -> Default Style in the vBulletin Options of the AdminCP) while forcing the usergroup(s) to the one style you selected.


Frequently Asked Questions

Question:
What if you need custom style permissions as well?
Answer:
This question has been asked a few times: What if you need custom style permissions so that you can control which usergroups see/select what styles? The hack I use is Andreas's Restrict Style to Usergroup hack which he released for v3.5.x. It is because of that hack that this one exists, and I have tested it on v3.5.x, v3.6.x, v3.7.x, v3.8.x and v4.0.0 Beta, and it works for all five versions and works fine with my hacks as well.

For instance on my forum I need to use both hacks, as the style I force on my guests and normal members is not selectable nor do I allow them permission to use it, and is also not my default style (all my other styles are child styles of my default one), so without Andreas's hack I would not be able to do this.

But just to let you know that Andreas's hack is unsupported and is not likely to ever be supported (unless it is a proven bug), so if you have problems with it, you are on your own.

vBulletin Version Compatibility

This hack can only be used with v4.0.0 and later versions.

For the v3.8.x version of this hack, which will also work with v3.7.x and v3.6.x - check here.

For the unsupported v3.5.x version of this hack - check here.



Install/Upgrade/Uninstall Instructions

The readme.txt instructions file is included in attached .zip file.


Version History

v4.0.002 - Friday 12th March 2010
-- Final v4.0.x release
-- Released at Wolfshead Solutions on Friday 5th March 2010
-- Fixed: Style not being enforced in vBulletin v4.0.2 and above

v4.0.001 - Saturday 28th November 2009
-- Initial v4.0.x Release
-- Changed: Plugin (removed forcing style on users - does not work at the moment)
-- Changed: Hack name (used to be called "Force Style for Selected Users or Groups")
-- Added: readme.txt file
-- Added: VersionHistory.txt file
-- Removed: 1 phrase
-- Removed: 2 AdminCP settings
-- Removed: 1 Bitfield setting


Thanks

Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

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

Screenshots

Click image for larger version

Name:	screenshot1.png
Views:	720
Size:	15.7 KB
ID:	106867   Click image for larger version

Name:	screenshot2.png
Views:	654
Size:	7.0 KB
ID:	106868  

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
Miscellaneous Hacks Force Style for Selected Users or Groups Mosh vBulletin 3.8 Add-ons 37 06 Jan 2012 17:42
Miscellaneous Hacks Force Style for Selected Users or Groups Mosh vBulletin 3.7 Add-ons 34 21 Nov 2008 02:12
Miscellaneous Hacks Force Style for Selected Users or Groups Mosh vBulletin 3.6 Add-ons 38 12 Sep 2008 10:15

Comments
  #2  
Old 29 Nov 2009, 22:27
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Real name: SİMAR
thanks man
__________________
WwW.Stadt-Lahr.Com---www.stadt-lahr.com
Reply With Quote
  #3  
Old 30 Nov 2009, 23:06
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Real name: Dr.osama
goooood

thnxxxx

i try it
________
COACH PURSES

Last edited by Dr.osamA; 04 Apr 2011 at 00:21.
Reply With Quote
  #4  
Old 22 Dec 2009, 17:11
rajubd rajubd is offline
 
Join Date: Jun 2009
not working
Force Styles for Selected Usergroups
Enable Hack ?
Turn on the Force Styles for Selected Usergroups hack. ON
user group stle id added but not working
Reply With Quote
  #5  
Old 22 Dec 2009, 19:11
rajubd rajubd is offline
 
Join Date: Jun 2009
I need this adons everything done currectly style also rebuild but still no luck
Reply With Quote
  #6  
Old 22 Dec 2009, 21:22
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
I will check this out and get back to you.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #7  
Old 22 Dec 2009, 22:11
bullyboy1's Avatar
bullyboy1 bullyboy1 is offline
 
Join Date: Dec 2009
I haven't installed it yet but wondering what happens if user is in more than 1 usergroup. Is there a way to determine primary style in the case user is in 2 groups?
Reply With Quote
  #8  
Old 22 Dec 2009, 22:16
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Tested and working fine with vBulletin 4.0.0 Gold.

I will no longer be supporting Alpha, Beta & Release Candidates of vBulletin 4.0.0.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #9  
Old 22 Dec 2009, 22:18
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by bullyboy1 View Post
I haven't installed it yet but wondering what happens if user is in more than 1 usergroup. Is there a way to determine primary style in the case user is in 2 groups?
It will use the style of the primary usergroup - as members can be members of multiple secondary usergroups, but only one primary usergroup.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #10  
Old 23 Dec 2009, 06:08
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Nice mod.. might come handy, Taged for now

Thanks
Reply With Quote
  #11  
Old 23 Dec 2009, 07:35
rajubd rajubd is offline
 
Join Date: Jun 2009
Its handy for me because i provide vip as ads free with diff style. Did you changed it because version i download says for rc2
Reply With Quote
  #12  
Old 23 Dec 2009, 10:26
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by rajubd View Post
Its handy for me because i provide vip as ads free with diff style. Did you changed it because version i download says for rc2
Nope, it is the same version.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #13  
Old 24 Dec 2009, 10:42
rajubd rajubd is offline
 
Join Date: Jun 2009
Should i copy both file to xml folder
Reply With Quote
  #14  
Old 24 Dec 2009, 12:22
rajubd rajubd is offline
 
Join Date: Jun 2009
"Select "Rebuild > Rebuild Style Information", to rebuild the style information (this may need to be done whenever you do Step 4)."
is it
Maintenance>Update Counters>Rebuild Styles
Reply With Quote
  #15  
Old 25 Dec 2009, 11:18
rajubd rajubd is offline
 
Join Date: Jun 2009
anyone test it is it working
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 02:22.

Layout Options | Width: Wide Color: