Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Will i stop my members to change the web themes


Print Track
Will i stop the website members to change the website themes & stop the guests to sign up by themselves.......:o

2 replies

If you will remove the "Change Theme" option in edit_profile.php, then find this:
CodeDownload  
<tr>
<td class='tbl'>".$locale['u015']."</td>
<td class='tbl'><select name='user_theme' class='textbox' style='width:100px;'>
".makefileopts($theme_files, $userdata['user_theme'])."
</select></td>
</tr>


Delete it or if you want (super)admins to have the permission:
CodeDownload  
"; 
if (i
SUPERADMIN) { echo "<tr>
<td class='tbl'>".$locale['u015']."</td>
<td class='tbl'><select name='user_theme' class='textbox' style='width:100px;'>
".makefileopts($theme_files, $userdata['user_theme'])."
</select></td>
</tr>"; } echo "


Delete the SUPER if admins AND superadmins should have the permissions, instead of only superadmins. ;)
You could also have only 1 theme in the themes folder. That way there would be no choice but the one that is present.
And stopping the guest to sign up by themselves? Activate the 'activate by admin' function..
author ranrave
forumOfficial Core Support - 6
replies3 posts
viewed1,019 times
activeLast updated on 12 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.