Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
wolfseye
Hangin' Around



Joined: Feb 06, 2008
Posts: 27

PostPosted: Wed Feb 13, 2008 5:11 pm Reply with quote

I wonder how I can disable the option for users to change the Theme in their Profile. Because i don´t find anything to turn that off in the Administration. Or when, where would it be ?

Wolfseye
 
View user's profile Send private message MSN Messenger ICQ Number
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Wed Feb 13, 2008 5:36 pm Reply with quote

I removed all the ones I was not going to use. Saves backup space, time and they can't change the theme all in one.

You could also move them in a new DIR. On one of my sites I created a DIR called OLD and moved all the unused themes in there.

Dawg
 
View user's profile Send private message
wolfseye







PostPosted: Wed Feb 13, 2008 6:24 pm Reply with quote

Dawg wrote:
I removed all the ones I was not going to use. Saves backup space, time and they can't change the theme all in one.

You could also move them in a new DIR. On one of my sites I created a DIR called OLD and moved all the unused themes in there.

Dawg


So a simple disabling of that is not possible ?

Wolfseye
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Feb 13, 2008 6:24 pm Reply with quote

Yeah, just remove the theme folders you don't want under the themes directory and you are good to go. That might cause some pain for the users that already selected a theme, but you can run a SQL query to reset everyone back to the same theme if you need to.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Feb 13, 2008 8:52 pm Reply with quote

wolfseye, this is how its done. Been like this for as long as I can remember.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Feb 14, 2008 3:52 am Reply with quote

Check this and comment out the lines navbar.php:

http://www.cybertipps.com/ftopict-235-benutzer.html
 
View user's profile Send private message
wolfseye







PostPosted: Thu Feb 14, 2008 4:27 am Reply with quote

Thank you, had that already. Wink That was the solution.

Wolfseye
 
montego







PostPosted: Thu Feb 14, 2008 6:32 am Reply with quote

Well, I cannot read German, but I still do not understand. When you remove all but one theme, Your Account already does not display the Theme icon/link. And, if you are not wanting people to change their themes, that implies that you are wanting to have only one theme. So, why change code that you are going to have to remember to change each time you upgrade? I must be missing something here.
 
Susann







PostPosted: Thu Feb 14, 2008 7:27 am Reply with quote

Montego that thread shows what to comment out in Your Account navbar.php and there is also a note about CNB wich can handle theme changes through the settings there.
The reason why this method is used:
As admin you can still configure themes and change the default theme.
I do this often as admin and can work online with my other themes.

To not loose images e.g. in the forums block from another theme I need to have both themes available otherwise I need to change my forums block and my css completely. Quess there are some more reasons. its just a simple method to not allow theme changes and often used beneed to delete all other themes. Wink
 
montego







PostPosted: Fri Feb 15, 2008 6:24 am Reply with quote

Ah, interesting. Shows my ignorance of phpBB themes. Makes sense now. Thanks!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©