Changed defualt theme not showing

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:247e470a1a][i:247e470a1a]Originally posted by DWHS.net[/i:247e470a1a]

Hello,

I changed the default theme to the x version in the set up and saved it.

But the accounts with the default cpanel still doesn't show the changes.

Do I have to reset something for it to take place? The whm theme took right away.

Thank you,

Charles[/quote:247e470a1a]
You have to change it on user by user basis or

in a root ssh session:

replace RS=default RS=xskin -- /var/cpanel/users/*

(this comand replace default to xskin)

or multiple changes like this:

replace RS=default RS=xskin RS=iconic RS=xskin RS=advanced RS=xskin -- /var/cpanel/users/*
 

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:22dd057cd0][i:22dd057cd0]Originally posted by DWHS.net[/i:22dd057cd0]

replace RS=default RS=xskin -- /var/cpanel/users/*

All I do is drop this in from root and it will change all the accounts to the xskin that have the default setting?

Thanks,

[/quote:22dd057cd0]

yes, it replaces all accounts with default theme to xskin theme

[b:22dd057cd0][email protected]#[/b:22dd057cd0] replace RS=default RS=xskin -- /var/cpanel/users/*
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:28724868b2][i:28724868b2]Originally posted by DWHS.net[/i:28724868b2]

replace RS=default RS=xSkin -- /var/cpanel/users/*

All I do is drop this in from root and it will change all the accounts to the xskin that have the default setting?

[/quote:28724868b2]
Just make sure the theme names are right in terms of upper/lower case - remember we ain't working in windoz!

The one installed by WHM is Xskin, not xSkin or xskin. The last 2 won't work. :(
 

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:34211e245e][i:34211e245e]Originally posted by mikerayner[/i:34211e245e]
is this command useful for any theme?
[/quote:34211e245e]
[quote:34211e245e][i:34211e245e]Originally posted by itf[/i:34211e245e]

[quote:34211e245e][i:34211e245e]Originally posted by DWHS.net[/i:34211e245e]

Hello,

I changed the default theme to the x version in the set up and saved it.

But the accounts with the default cpanel still doesn't show the changes.

Do I have to reset something for it to take place? The whm theme took right away.

Thank you,

Charles[/quote:34211e245e]
You have to change it on user by user basis or

in a root ssh session:

replace RS=default RS=Xskin -- /var/cpanel/users/*

(this comand replace default to Xskin)

or multiple changes like this:

replace RS=default RS=Xskin RS=iconic RS=Xskin RS=advanced RS=Xskin -- /var/cpanel/users/*
[/quote:34211e245e]
[b:34211e245e]This is a sample to show how replace command is working. use your valid theme names with replace command. [/b:34211e245e]
I wrote about replace earlier in this thread too (click on the link)
http://forums.cpanel.net/read.php?TID=4515&page=2#19180

[quote:34211e245e]
replace RS=t1 RS=theme RS=t2 RS=theme RS=t3 RS=theme RS=t4 RS=theme -- /var/cpanel/users/*

this command replaces t4, t3 t2 & t1 to theme in user files
[/quote:34211e245e]

(FYI. Replace is part of MySQL-util package)
 

sbrad

Well-Known Member
Aug 14, 2001
113
0
316
This has got to be the most useful command I've seen posted here in a while. Thanks!