Changing users to a specific skin?

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
Gryzor
Rank 2
Rank 2
Posts: 13
Joined: July 15th, 2009, 12:39 pm

Changing users to a specific skin?

Post by Gryzor »

Hello!

I just discovered GuMaxV and I LOVE IT!

So I wanted to share it with my users over at cpcwiki.com . However, when I run

Code: Select all

php userOptions.php skin --old "monobook" --new "GuMaxV"
I get notifications that it doesn't change most of the users because they have their skin set to '' (null). So I run

Code: Select all

php userOptions.php skin --old "" --new "GuMaxV"
and this time it changes all of the users - or so it tells me. WHen I try to log in with a username that got an OK, I still get monobook... :( Am I doing something wrong?

Also, how do I set the skin that a registered user sees before he logs in?

Thanks for the wonderful skin! Keep it up :)
User avatar
Gryzor
Rank 2
Rank 2
Posts: 13
Joined: July 15th, 2009, 12:39 pm

Re: Changing users to a specific skin?

Post by Gryzor »

Ahhh darn, got it. I had used capitalization, but it needed it to be all lower case.

Loving it!!! :mrgreen:
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Changing users to a specific skin?

Post by Paul »

Thanks for sharing this... it's great :D

The skin name needs to be lowercase in MediaWiki...
User avatar
Gryzor
Rank 2
Rank 2
Posts: 13
Joined: July 15th, 2009, 12:39 pm

Re: Changing users to a specific skin?

Post by Gryzor »

Yeah... the problem is that useroptions.php doesn't do any check, and it'll give you an OK even if naming is incorrect!
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Changing users to a specific skin?

Post by Paul »

If you set all user skin to 'null', then all user skin will be default to the skin in LocalSettings.php... :D
Post Reply