Jump to content

Free: Plesk Sync v1.0.1 Addon (update)


Shawn Reimerdes

Recommended Posts

Plesk Sync Addon

 

http://plesksyncwhmcs.sourceforge.net/

 

Plesk Sync is a WHMCS add-on module to import, control, create and synchronize client hosting accounts with your Parallel Plesk servers.

 

Synchronize hosting account statuses between WHMCS & Plesk. Finds orphaned hosting accounts that are active in Plesk, but not in billing. Attempts to locates the real owner of the hosting account through domain/e-mail. Imports and creates new clients with invoiced hosting account, including password.

 

Inconsistencies can start to arise during the nightly WHMCS cron job on the server to analyze due invoices and if necessary, change hosting status on the client server via Plesk API.

 

Plesk Sync displays all your client servers running the Plesk OS with a compatible API protocol. You can quickly show more detailed statistics such as: uptime, load averages, memory, disk, clients, domains, databases, and mail.

 

Browse a server to start paging through the client domain accounts existing in Plesk. Accounts are color-coded, tells a diagnosis and resolution through action buttons and contains statistics on disk space and traffic, with a button for the complete client profile.

 

 

Features

 

* Ensure synchronicity between WHMCS and Plesk

* Interactively Suspend or Unsuspend Plesk client accounts

* Import Plesk accounts with invoicing and welcome e-mails

* Ajax buttons to carry-out operations rapidly

* Open Source, Freeware

 

 

Requirements

 

* WHMCS v4+

* PHP5 (with cURL and SimpleXML)

* Plesk v8.1+ for Linux/Unix & Windows (packet protocol > 1.4.1.0)

 

Screen Shots

 

http://sourceforge.net/project/screenshots.php?group_id=351738

 

WHMCS API PHP Wrapper Class

 

Included is a PHP wrapper class for WHMCS API (Whmcs.Api.class.php). Currently contains the shell for every call, but only the functions used by this software are coded. This is submitted for you to use on your own projects, please contribute any code you have.

 

 

Download

 

Get the latest version from SourceForge:

 

+ v1.0.1 Beta as of (Sept-23-2010): PleskSyncWhmcs_v1.0.1.Beta.zip

 

 

 

 

Enjoy!

 

Shawn Reimerdes

 

WebNames.com.br

Edited by Shawn Reimerdes
Link to comment
Share on other sites

  • 2 months later...
its a great utility, many thanks! However, it overwrites the background image and that makes it hard to read.

Still, many thanks!

 

bilader türk müsün

 

eğer türksen şu konudaki mesajları bi tamamen türkçeleştirip bana yollarmısın rica etsem tam anlayamadım modülün ne işe yaradığını

Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...

You need to edit the plesksync.php file so that the script is checking for server types 'plesk8', 'plesk9' and 'plesk10', rather than simply 'plesk' as was the case in previous versions of WHMCS:

 

On or about line 103 of plesksync.php, change:

type = 'plesk'

to:

type LIKE 'plesk%'

 

The corrected line should be exactly:

$result = mysql_query("SELECT `tblservers`.name, `tblservers`.hostname, `tblservers`.ipaddress, `tblservers`.maxaccounts, `tblservers`.username, `tblservers`.password, `tblservers`.secure, `tblservergroups`.name AS `groupname` FROM `tblservers` LEFT JOIN `tblservergroupsrel` ON `tblservers`.id = `tblservergroupsrel`.serverid LEFT JOIN `tblservergroups` ON `tblservergroupsrel`.groupid = `tblservergroups`.id WHERE type LIKE 'plesk%' ");

 

This add-on definitely needs a re-write! :)

Link to comment
Share on other sites

  • 2 months later...

Not sure if this is being worked on at all anymore but I have a plesk8 server that is throwing the following error under plesk sync stats column:

exception 'Exception' with message 'String could not be parsed as XML' in /var/www/html/modules/admin/plesksync/plesksync.class.php:108 Stack trace: #0 /var/www/html/modules/admin/plesksync/plesksync.class.php(108): SimpleXMLElement->__construct('

 

The plesk 8 server showing in my list also shows a * in the protocol column. I am assuming the this is due to the server being an older plesk 8.

 

The Plesk 10 server works just fine.

Link to comment
Share on other sites

  • 1 month later...

Hi

 

You Wrote:

On or about line 103 of plesksync.php, change:

type = 'plesk'

to:

type LIKE 'plesk%'

 

first let me say : thanks for this, i get now all Server, but i get this error too, if i want to insert the Accounts to my WHMCS...

 

⇒ WHMCS API: AddClient...

x WHMCS API Error: Invalid IP 8x.21x.21x.5x

 

i get this one on all Servers i have. Iwork with WHMCS 5.0.3 and Plesk 10.4.4.

I double check the I.P. from all servers, they are right, dont know, why the addon says it is wrong.

 

do you have any Ideas how to solve this Problem..

 

Thanks KAsi

Link to comment
Share on other sites

Hi before i start working by Hand...

 

ii have make the changes - and i can see The Plesk Servers..

 

But by importing the Clients, i get anytime a API Error with the Text "false IP Address"..

 

I have install this on on Plesk 10.4.4 and whmcs 5.0.3

 

I have edit the Files here with %Plesk

 

Result was, it will work and show me the Clients, Servers and all without Problems.

But if i ad a Client to convert to pleskserver, then i get a api Error.. See Image

 

Anybody, what can assist or give me please a Hint, what can be wrong. So i think, i am not the only one, what is working with Plesk...

 

Thanks for helping Hand

30.01.jpg

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
Now i get it working, but there is one Problem left... It will not show the Packages! So i cant insert the Client with a Package i want..

 

Is there any, what has the same Problem solved ?

Thanks Kasi

 

Hi Kasimir61,

 

Have you solved you problem ?

Plesk sync works for you ? Because i have an API error when click on "attach order to client"...

 

Thank you for any help...

Crysy

Link to comment
Share on other sites

  • 1 month later...

I guess WHMCS is all about CPanel, and doesn't like Plesk at all, huh!

I am shocked to see that a brand like WHMCS, didn't develop an official solution for Plesk Panel, yet...

If there is a development on this subject, please let us know!

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated