hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Mass therme change change for all hosting packages
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

Mass therme change change for all hosting packages

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-22-2010, 05:50 AM
parag parag is offline
Registered User
 
Join Date: May 2009
Posts: 63

Mass therme change change for all hosting packages


Hello,

I want to change cpanel theme all hosting packages at one time.

How can i do that.

Please advise.

Reply With Quote


Sponsored Links
  #2  
Old 04-22-2010, 06:56 AM
HostStellar_Jansen HostStellar_Jansen is offline
Web Hosting Master
 
Join Date: Jun 2004
Posts: 588
Quote:
Originally Posted by parag View Post
Hello,

I want to change cpanel theme all hosting packages at one time.

How can i do that.

Please advise.
Not too sure if this will work but you can probably do this by modifying the default theme of the packages.

__________________
HostStellar.com - Stellar Shared and Reseller Hosting
Features: LiteSpeed Powered | R1Soft Backup (6 hourly) | RVSiteBuilder Pro | Jailed SSH Access
Guarantees: 24/7/365 Stellar Support | 30 Days Money Back | 99.9% Uptime SLA

Reply With Quote
  #3  
Old 04-22-2010, 06:58 AM
Nick Joyce Nick Joyce is offline
Junior Guru Wannabe
 
Join Date: Oct 2009
Posts: 49
To change the theme for all the accounts at once, execute the following command:

for i in `ls -la /var/cpanel/users/ | awk ‘{print $9}’ | sed ‘1,3 d’`; do sed -i “/CPMOD/d” $i; echo “CPMOD=x3″ >> $i; done;

This will change the cPanel theme of all the accounts on the server to ‘x3′ theme.

You need to execute /scripts/updateuserdomains to rebuild the cache.

__________________
Thanks,
Nick Joyce

Reply With Quote
Sponsored Links
  #4  
Old 04-22-2010, 07:08 AM
VPSGODSJohn VPSGODSJohn is offline
Newbie
 
Join Date: Apr 2010
Posts: 12
Quote:
Originally Posted by Nick Joyce View Post
To change the theme for all the accounts at once, execute the following command:

for i in `ls -la /var/cpanel/users/ | awk ‘{print $9}’ | sed ‘1,3 d’`; do sed -i “/CPMOD/d” $i; echo “CPMOD=x3″ >> $i; done;

This will change the cPanel theme of all the accounts on the server to ‘x3′ theme.

You need to execute /scripts/updateuserdomains to rebuild the cache.
Thanks this worked perfectly

Reply With Quote
  #5  
Old 04-22-2010, 07:43 AM
parag parag is offline
Registered User
 
Join Date: May 2009
Posts: 63
Hello,

Its not working.

Do you have any idea that how do i change cpanel theme all hosting packages inclueding reseller hosting packages alos at one time?

Please advise

Reply With Quote
  #6  
Old 04-22-2010, 11:16 AM
MikeDVB MikeDVB is offline
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,315
Quote:
Originally Posted by parag View Post
Hello,

Its not working.

Do you have any idea that how do i change cpanel theme all hosting packages inclueding reseller hosting packages alos at one time?

Please advise
What was pasted above will change the ACTIVE THEME on all accounts, it won't change the theme set in all packages.

To do so you'd need to modify the line to edit the package files on the server which would be in /var/cpanel/packages

If you don't know what you're doing you could do some real damage with the command above so I would suggest having an experienced admin do this for you.

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass change IP for IIS Tomcatf14 Hosting Security and Technology 12 10-24-2006 12:53 PM
mass ownership change? r00t pAsSw0rd Hosting Security and Technology 1 10-10-2006 01:35 PM
cPanel mass site IP change NetSender Hosting Security and Technology 2 12-07-2004 11:00 AM
Software for mass bitrate change null Web Hosting Lounge 4 04-12-2004 11:08 PM
Mass change of symbolic links Wilbo Hosting Security and Technology 0 12-17-2002 12:21 PM

Related posts from TheWhir.com
Title Type Date Posted
Web Host A2 Hosting Launches Customizable VPS Hosting Plans Web Hosting News 2012-06-07 15:11:57
Web Host SeekDotNet Launches Windows and Linux VPS Hosting Services Web Hosting News 2012-04-19 14:58:13
Web Host Bluehost Launches Reseller Hosting Web Hosting News 2011-10-14 15:16:37
Web Host Cyber Host Pro Launches New VPS Packages Web Hosting News 2011-09-16 18:15:55
Web Host Web-Hosting.com Launches Website Redesign, Improves Hosting Packages Web Hosting News 2011-07-13 20:43:28


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?