The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changed defualt theme not showing

Discussion in 'General Discussion' started by DWHS.net, Oct 6, 2002.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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
     
  2. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [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/*
     
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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,
     
  4. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [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]root@host#[/b:22dd057cd0] replace RS=default RS=xskin -- /var/cpanel/users/*
     
  5. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [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. :(
     
  6. mikerayner

    mikerayner Well-Known Member

    Joined:
    Apr 10, 2002
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    is this command useful for any theme?
     
  7. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [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)
     
  8. sbrad

    sbrad Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    This has got to be the most useful command I've seen posted here in a while. Thanks!
     
Loading...

Share This Page