Joomla/Plesk Integration?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
lewiss
Forum User
Forum User
Posts: 20
Joined: Sun Mar 09, 2008 5:13 pm

Joomla/Plesk Integration?

Unread post by lewiss »

Anyone know of a bridge that would allow for user accounts being created on joomla to be turned into email accounts for a specific domain on plesk?

When that same account was deleted on joomla, it would also be deleted on plesk.

I know I could probably futz something up using the joomla database, the plesk command line tools and some scripting but, maybe someone can save me many hours of frustration :).

Mike
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yeah you could use either the plesk command line utilities or the API. Check this page out:

http://swdn.swsoft.com/en/library/plesk/
lewiss
Forum User
Forum User
Posts: 20
Joined: Sun Mar 09, 2008 5:13 pm

Unread post by lewiss »

scott wrote:Yeah you could use either the plesk command line utilities or the API. Check this page out:

http://swdn.swsoft.com/en/library/plesk/
Problem is, I'm not a programmer so am not sure how to read, re-read the joomla database to keep updating the plesk server.

Was kinda hoping someone had already done this. Is anyone interested in writing a little script that would do the job for me? I'll pay you of course.

The idea would be to have a script running say every 15 minutes or so, looking at the joomla user list. If someone was added or removed, the script would then update the plesk database by adding or removing that same user and his/her password.

Mike
lewiss
Forum User
Forum User
Posts: 20
Joined: Sun Mar 09, 2008 5:13 pm

Unread post by lewiss »

Let's forget passwords since those are encrypted making the complexity too high. I just want to create a user list.

Can a dbase knowledgeable person paste a little linux command line code that would do the following.

Read as input, a joomla 1.0.x user account dbase file.
Have three options for running, output to a text file;

A - Default option - Changed users only since last run
B - All user accounts
C - All users in a specific class

I would probably run this as a cron job, every 15 minutes.

-I'm looking to see when Registered (or some other class) falls out of Registered and into say Guest mode for example.

-I'm looking for long unused accounts, say someone has not used their account into 30 days or 365 days.

Maybe two sections in the output to cover the above? One section of users who fell out of one class to another. Section two, users who have not logged into for x number of days, configurable in the script.

Anyhow, using this text file, I could then import the user list into another application so that I can somewhat synch joomla with other apps.

Shot in the dark :).

Mike
Post Reply