Disabling Theme Selection in User's Accounts

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Disabling Theme Selection in User's Accounts
avidn
CZ Newbie
avidn has been a member for over 19 year's 19 Year Member
usa.gif hawaii.gif
Gender: Male
Website:
Status: Offline
Joined: Oct 07, 2004
0.00 posts per day
Posts: 20
Points: 1,240
   
I would like to know how to disable the ability for a user to se;ect an alternater theme. I want to onl;y have the default theme available to all users.

I am running PHPNuke 7.5



Back to top Reply with quote
#2   re: Disabling Theme Selection in User's Accounts
CurtisH
CZ Active Member
 Codezwiz Site Donator
CurtisH has been a member for over 19 year's 19 Year Member
usa.gif texas.gif
Gender: Male
Status: Offline
Joined: Jun 14, 2004
0.02 posts per day
Posts: 112
Points: 5,900
AIM Address Yahoo Messenger  
Deleted by author




_________________
PHP-Nuke and ALL software and/or themes coded to be used with PHP-Nuke are GPL and are FREE to redistribute regardless of what an author may claim.
Back to top Reply with quote
#3   re: Disabling Theme Selection in User's Accounts
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
There are a few ways to do this...at least tried and proven in Nuke 7.4 and below. I just came across this:

CNB_Your_Account_750_421

over at:
[ Register or login to view links on this board. ]

Features:

Admin can define the size of security code
+ Admin can create private or public fields
- Include the IP ban link of 7.4 Nuke version
- The problem with the forums flag was solve
- Adminis can define the period of user pageview inactivity
- Adminis can define the lifetime of user cookie
- Admins can add new fields in edit user form
- Mostly bug fixes.
- Mail domains can be blocked from being used for new user accounts.
  - These are stored in the config table.
- Strings can be blocked from being used in new user account usernames.
  - These are stored in the config table.
- Account Activation time can be set from No Limit to 30 days.
- Email must be entered twice to help prevent typos in email addresses.
- Username min and max length are settable.
- Password min and max length are settable.
- New user account must fill out the profile form before being activated.
- Reinstalled Admin username change setting. USE GREAT CAUTION WHEN CHANGING
  USERNAMES. MANY THINGS WITHIN NUKE ARE KEYED BY USERNAME NOT USER ID.
- Addition of ChatServ's Avatar Control Panel.
- Automatically suspends inactive user accounts.
  - Can be set to only allow to run when admin chooses.
- Improved scripting.
- Enhanced Admin panels.
- Greater control of users.
- Admin can turn the security image on or off.
- Forced login to use username in database. i.e. Test not test
- Admins can allow user self deletion.
- Admins can block user email changes.
- Admins can block user theme changes.
- Admins can choose to bypass email activation.
- Admins can now modify pending user details.
- Admins can now view pending user details.
- Admins can resend Activation Email.
- Admins can suspend users.


This may help: [ Register or login to view links on this board. ]

Or you can do what I do, delete all themes but the one I set as default in the admin preferences.

*Dang! one minute to late, I see CurtisH answered first.


Back to top Reply with quote
#4   re: Disabling Theme Selection in User's Accounts
avidn
CZ Newbie
avidn has been a member for over 19 year's 19 Year Member
usa.gif hawaii.gif
Gender: Male
Website:
Status: Offline
Joined: Oct 07, 2004
0.00 posts per day
Posts: 20
Points: 1,240
   
Thanks for the help folks.
I think muy best choice will be to delete the alternate themes.

Cheers!



Back to top Reply with quote
#5   re: Disabling Theme Selection in User's Accounts
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Just a quick point, deleting those themes can and probably will lock out all users from your site who may be currently using a theme that you remove.

You should use phpmyadmin and change anyone's theme from ones that you may be deleting.




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#6   Re: re: Disabling Theme Selection in User's Accounts
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   


Originally posted by nicruisin @ Tue Oct 12, 2004 4:28 am:

Just a quick point, deleting those themes can and probably will lock out all users from your site who may be currently using a theme that you remove.

You should use phpmyadmin and change anyone's theme from ones that you may be deleting.


Good point, and here's an easy way of doing that: [ Register or login to view links on this board. ]



Back to top Reply with quote
#7   re: Disabling Theme Selection in User's Accounts
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Nice one! icon_biggrin.gif

That'll come in handy after Hallowe'en! icon_biggrin.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#8   re: Disabling Theme Selection in User's Accounts
avidn
CZ Newbie
avidn has been a member for over 19 year's 19 Year Member
usa.gif hawaii.gif
Gender: Male
Website:
Status: Offline
Joined: Oct 07, 2004
0.00 posts per day
Posts: 20
Points: 1,240
   
Thanks for the input. The site is just getting started, no members yet. Delaeted extra themes, Worked fine.



Back to top Reply with quote
#9   re: Disabling Theme Selection in User's Accounts
smotrs
CZ Newbie
smotrs has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Oct 13, 2004
0.00 posts per day
Posts: 1
Points: 323
   
I've found an easier way to remove them is not to remove them, simply make them hidden.

In Windows, Rt Click> Properties, click appropriate check box.
In Linux or Unix, rename Theme to .Theme (note the . in front of the theme name)

If the theme is hidden, then the webserver can't see it. Therefore, the user can't see it to select it.



Back to top Reply with quote
#10   Re: re: Disabling Theme Selection in User's Accounts
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   


Originally posted by smotrs @ Wed Oct 13, 2004 8:49 am:

I've found an easier way to remove them is not to remove them, simply make them hidden.

In Windows, Rt Click> Properties, click appropriate check box.
In Linux or Unix, rename Theme to .Theme (note the . in front of the theme name)

If the theme is hidden, then the webserver can't see it. Therefore, the user can't see it to select it.


Nice tip! icon_smile.gif You know I usually rename the original files when I do heavy editing (preserving the originals on the server) and I never thought of doing this, thanks and welcome to Codezwiz. occasion14.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum