![]() |
Skin select by group
I've searched for a bit and couldn't find this. Is there anyway to make it so only certain groups can select a different style? For example, say I have 3 skins, and only want the staff and supporters to be able to choose a different skin then the default one which the guests/registered members can see. Can this be done?
|
Not as far as I know...
You could edit each user induvidually in phpMyAdmin, though. |
1 Attachment(s)
Hi
Real Quick.... User Group Can Change Styles Permissions Follow me!!! Go to the Admin Directory.... Open './admin/usergroup.php' FIND THIS... Code:
require_once('./includes/adminfunctions_ranks.php'); BELOW IT ADD... Code:
require_once ( './includes/adminfunctions_template.php' ); Code:
// set default yes permissions (bitfields) Code:
// set default yes permissions (bitfields) Code:
print_yes_no_row($vbphrase['can_download_attachments'], 'usergroup[cangetattachment]', $ug_bitfield['cangetattachment']); Code:
print_yes_no_row($vbphrase['can_download_attachments'], 'usergroup[cangetattachment]', $ug_bitfield['cangetattachment']); Open './global.php' FIND THIS... Code:
// is style in the forum/thread set? Code:
if ( $codestyleid ) Code:
if ($vboptions['allowchangestyles']) Code:
if ( ( $permissions['genericpermissions'] & 16777216 ) <> 0 ) Open './profile.php' FIND THIS... Code:
if ($vboptions['allowchangestyles']) Code:
if ( ( $permissions['genericpermissions'] & 16777216 ) <> 0 ) Open './includes/init.php' FIND THIS... Code:
'canhaverepleft' => 8388608, Code:
'canselectskin' => 16777216, Now just run these querys (change 'bbs_' to the TABLE PREFIX YOU ARE USING, if not using one, then just remove it!) Code:
ALTER TABLE bbs_usergroup ADD styleid TINYINT(1) UNSIGNED NOT NULL default '1'; Then go to Usergroups >> Usergroup Manager >> Select group Then configure your groups! (by default all groups have no permission to change styles and they are set to use the default style!!!) You now have Change Style Permissions Based On User Groups! I did this real quick, so there is no Admin Help phrases, if you want them I will show you how to add them, just tell me! c, ya... Sonia |
Thank you so much. I installed it and it is working great.
Thank you. |
i need this mod , any one have it?
i dont want make manuel install. |
Quote:
|
All times are GMT. The time now is 03:45 PM. |
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:
|