Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
mrix
Client



Joined: Dec 04, 2004
Posts: 757

PostPosted: Tue Nov 10, 2009 11:02 am Reply with quote

Hi all, I just had a member explain that my site theme looks odd? I explained could he please give me a screenshot etc.
I noticed from his screenshot that his theme was not the default theme?
The thing is when I look into the my account I can see an option anymore for a member to change theme, or an option for them to only use the default theme?
Is it possible for me to only allow the default theme?
Cheers
mrix
 
View user's profile Send private message Visit poster's website
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Tue Nov 10, 2009 11:41 am Reply with quote

Yes , you can set that in RNYA's settings. However you will want to change all members themes to the default in the nuke_users tables Smile

_________________
Only registered users can see links on this board! Get registered or login! (My RN site)- Only registered users can see links on this board! Get registered or login!(cod4 clan) - Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website MSN Messenger
mrix







PostPosted: Tue Nov 10, 2009 1:41 pm Reply with quote

all members themes to the default in the nuke_users tables

Hi there, I found the table but am not sure what settings I need to add to make all themes the same?

thanks for the help


Cheers
mrix
 
mrix







PostPosted: Tue Nov 10, 2009 2:01 pm Reply with quote

I have also noticed the setting in edit users in the admin section which is already clicked on users use default them etc.
So I can only imagine that members that were using another theme othere than the default theme before the upgrade, seem to be stuck with that theme and are not seeing the present default theme etc Sad
Cheers
mrix
 
montego
Site Admin



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

PostPosted: Wed Nov 11, 2009 12:12 pm Reply with quote

mrix, you have actually raised a good point here that if the admin has elected to turn off the ability for the users to change their theme, that the default theme should always be used. I'll open an issue to be addressed in a future RN release.

However, since you have this set now within the Edit Users configuration, you just need to blank out all the user default themes. Within phpMyAdmin, you could execute the following SQL (modify to use your table prefix):

UPDATE nuke_users SET theme = '';

That will clear out all the user's own chosen themes.

_________________
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
mrix







PostPosted: Wed Nov 11, 2009 1:49 pm Reply with quote

Many thanks for that fix and very glad I actually helped in some form Very Happy
Cheers and thanks
mrix
 
NeapolitanWorld
Involved
Involved



Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA

PostPosted: Thu Nov 12, 2009 12:37 am Reply with quote

montego, If I would want to pre-select a theme for everyone. Would it be something like:

UPDATE nuke_users SET theme = RavenIce''; ??? yea I know a real newbie Laughing Embarassed

thanks in advance,
jc

_________________
My Raven Site Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Nov 12, 2009 1:57 am Reply with quote

you can also delete every theme except the one you want used, if a user has a missing theme selected they'll be directed to the default.
 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Nov 12, 2009 5:42 pm Reply with quote

@Neo, yes but change the end to
theme = 'RavenIce';
 
View user's profile Send private message Send e-mail
montego







PostPosted: Fri Nov 13, 2009 6:39 am Reply with quote

NeapolitanWorld, if you only want to have one theme active on your site, this is just personally what I would do:

1. Modify under ACP --> Edit Users --> Configuration --> Permissions --> Allow User Theme Selection set to "No".

2. Make sure under ACP --> Preferences you have the theme of your choice selected.

3. Use the SQL I posted above to wipe out any user's specific selection.

4. At this point you are "done", but you can also save on some disk space by removing all the other themes as was also suggested above.

I personally would rather not have every user's default be set to some theme value. If you leave it blank, then if you change themes down the road for your site, you only have to point to the new under Preferences and you are "done". Wink
 
NeapolitanWorld







PostPosted: Sat Nov 14, 2009 12:27 am Reply with quote

Guardian2003, montego, thanks guys you make an incredible corner stone in the RN community tm Cool

jc
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN 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 ©