Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Restrict Style Changes To Specific Usergroups Details »
Restrict Style Changes To Specific Usergroups
Mod Version: 1.00, by NTLDR (Member) NTLDR is offline
Developer Last Online: Oct 2004 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 15
Released: 18 Jan 2004 Last Update: Never Downloads: 0
Not Supported  

Author: NTLDR
Version: 1.0.0
Requested By: restless (here)
vB Compatibility: vB3 Gamma, RC1, RC2

Description:

This hack will allow you to restrict users ability to change the board style based on there usergroup, usefull for premium members etc. Note, this will mean members not in these groups will only have access to ONE style, the default board one (or a forum specific one).

File Edits:

In global.php find:


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

Add before (replace X, Y, Z with the a comma seperated list of the usergroupid's that should have access to the styles):


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

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Jan 2004, 20:24
restless's Avatar
restless restless is offline
 
Join Date: Jan 2002
Real name: Carter
excellent stuff.
Reply With Quote
  #3  
Old 18 Jan 2004, 20:58
M1th's Avatar
M1th M1th is offline
 
Join Date: Jul 2002
Yep, I've already got this working. But what would be cool is the ability to enable/disable a specified style on a usergroup basis.
__________________
Chamber of Secrets - The Ultimate Harry Potter Community!
Reply With Quote
  #4  
Old 25 Jan 2004, 04:15
DiscussAnything DiscussAnything is offline
 
Join Date: Jan 2002
Does this work on vb2 as well? I just tried it on a 2.3.0 but a test user not in a usergroup in the array could change styles. I would love to have this on vb2. If its a slight difference with the above, please let me know. thanks!

would this work?

in member.php:


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


Last edited by DiscussAnything; 25 Jan 2004 at 04:46.
Reply With Quote
  #5  
Old 25 Jan 2004, 14:49
M.C.'s Avatar
M.C. M.C. is offline
 
Join Date: Jan 2002
there is spetial hack for 2.3.0 same to this one just search in Code Modification vB2 -> Full Releases

NTLDR, is any chanse to make it work throgh AdminCP? I now it need to make database queries but...

Thanks
__________________
WBR`s
M.C.
Reply With Quote
  #6  
Old 25 Jan 2004, 18:17
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
When Kura has released the HTL hack I'll create another version that has an ACP setting, untill then you manually need to enter the code.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #7  
Old 20 May 2004, 03:16
neo|d3fx neo|d3fx is offline
 
Join Date: Nov 2001
Is there a way to modify it to allow only certain usergroups to have access to certain styles?

For example, a selection of premuim styles for members that donate money, and a selection for normal members?
Reply With Quote
  #8  
Old 20 May 2004, 03:47
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
hmm...i was going to add this, the i thought, what happens when their premium membership runs out. they won't be able to access it anymore and it will be left at the last one they selected cause of the cookie it sets.

This is a good idea, but I think needs better integration and defineable by usergroup on which styles they are allowed to choose.
Reply With Quote
  #9  
Old 20 May 2004, 04:09
neo|d3fx neo|d3fx is offline
 
Join Date: Nov 2001
wouldn't it be the same as if the style was disabled? Then it would revert to the default forum style?
Reply With Quote
  #10  
Old 20 May 2004, 04:11
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
i don't think so, from what i have seen as soon as u change it, even with a link and not by the dropdown, it sets a cookie.
i don't think this will stop them from just appending &styleid=5 in the url ether tho.
Reply With Quote
  #11  
Old 15 Jun 2004, 19:34
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Real name: Paul
Will this hack allow me to do the following?

I want unregistered/guests to see a certain style. The rest of the usergroups can see another one.
__________________
PowWows.com
Reply With Quote
  #12  
Old 15 Jun 2004, 20:18
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
Yes it will, provided the default style is the one for guests to see.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #13  
Old 15 Jun 2004, 21:16
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Real name: Paul
Ok, then I'm confused. How do I configure it that way?
__________________
PowWows.com
Reply With Quote
  #14  
Old 27 Jul 2004, 20:07
Freezerator Freezerator is offline
 
Join Date: Dec 2001
Real name: Bas
Will you upgrade this hack in the future, so i can select for instance, style 1 and 2 for usergroup x, and style 3, and 4 for usergroup y?
Reply With Quote
  #15  
Old 06 Aug 2004, 11:48
noonespecial noonespecial is offline
 
Join Date: Nov 2002
yah, what I am looking for is to have one style that doesn't include any of my advertisers, banners, etc, on it - and allow members who donate the possiblity to select that style - if say i move them into a certain usergroup - any ideas??
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 22:47.

Layout Options | Width: Wide Color: