hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Adding name and address to plesk clients
Reply

Hosting Software and Control Panels Software used in the web hosting industry. Topics include control panels, add-on software, setup scripts, etc.
Forum Jump

Adding name and address to plesk clients

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-27-2010, 08:48 PM
wmguk wmguk is offline
Newbie
 
Join Date: Sep 2008
Posts: 23

Adding name and address to plesk clients


Hey,

I have 80 clients in plesk at the moment, however NONE of them have addresses and correct contact details, they were just created quickly to get the accounts online.

I have a csv exported from my accounts package, is there a simple way to import my csv to update the client accoutns deails?

The other way I think is via phpMyadmin - I could simply download the clients table as a csv, edit it in excel and then reupload the csv - however would this work, is there any danger here? as I am simply adding a few fields to the existing csv?

Reply With Quote


Sponsored Links
  #2  
Old 11-28-2010, 06:56 PM
Helix development Helix development is offline
Junior Guru Wannabe
 
Join Date: Nov 2010
Posts: 79
You can manage clients table using phpMyadmin, but 'psa' database should be dumped before such changes:

# mysqldump -uadmin -p`</etc/psa/.psa.shadow` psa >/root/psa.dump.sql

It's easy to write a script to apply such changes.

For example, you have clients contact details in CSV file client_data.csv containing login, company name, person name, phone, email:

johns,NewSoft Inc.,John Smith,1234567890,john@example.com
billg,MS,Bill Gates,0987654321,billg@eample.com

Bash script:
Code:
#!/bin/bash
while read -d, C_LOGIN C_CNAME C_PNAME C_PHONE C_EMAIL JUNK; do
   /usr/local/psa/bin/client -u "$C_LOGIN" -company "$C_CNAME" -name "$C_PNAME" -phone "$C_PHONE" -email "$C_EMAIL"
done <client_data.csv
Best regards.

Eduard

__________________
Helix Development products:
|| OpenVZ & Virtuozzo: *WHMCS module to sell VPS
|| Plesk panel: *Password Viewer/editor, *Run PHP as vhost user w/o overhead

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding IP address to WHM mooseweb Hosting Security and Technology 5 05-21-2009 06:40 PM
adding new ip address - linux mavidusler Hosting Security and Technology 2 11-15-2006 08:27 PM
Adding a new IP address ant.eater Hosting Security and Technology 2 03-05-2006 04:22 PM
Ensim 4.0.1 - problem adding second IP address brian73 Hosting Software and Control Panels 6 09-21-2004 05:46 PM
Adding IP Address to server flashwebhost Hosting Security and Technology 6 06-23-2004 11:20 AM

Related posts from TheWhir.com
Title Type Date Posted
50e186c4-7de8-4bcc-a4db-5c5645a79981 Listing 2013-03-05 18:26:11
50d1e332-2e40-4602-9add-676545a79981 Listing 2013-03-05 18:23:57
50cf362d-46b0-4bdf-94d6-5eda45a79962 Listing 2013-03-05 18:23:45
Parallels Plesk Flaw Left FTC Websites Open to Security Breaches Web Hosting News 2012-02-23 13:32:43
Web Host myhosting Relaunches Custom VPS Hosting Plan Tool Web Hosting News 2011-07-21 20:21:04


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?