PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
wolfseye
Hangin' Around


Joined: Feb 06, 2008
Posts: 27

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

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
Life Cycles Becoming CPU Cycles


Joined: Nov 07, 2003
Posts: 557

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

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
Hangin' Around


Joined: Feb 06, 2008
Posts: 27

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

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
View user's profile Send private message MSN Messenger ICQ Number
Gremmie
Former Moderator in Good Standing


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

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

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.
View user's profile Send private message
montego
Site Admin


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

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

wolfseye, this is how its done. Been like this for as long as I can remember.
View user's profile Send private message Visit poster's website
Susann
Moderator


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

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

Check this and comment out the lines navbar.php:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
wolfseye
Hangin' Around


Joined: Feb 06, 2008
Posts: 27

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

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

Wolfseye
View user's profile Send private message MSN Messenger ICQ Number
montego
Site Admin


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

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

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.
View user's profile Send private message Visit poster's website
Susann
Moderator


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

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

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
View user's profile Send private message Visit poster's website
montego
Site Admin


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

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

Ah, interesting. Shows my ignorance of phpBB themes. Makes sense now. Thanks!
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum