Jump to content

Two questions: 1) Update multiple databases from one 2) jQuery image manager


Merdok

Recommended Posts

Sorry for asking two questions in one thread, I hope its not against the rules or anything.

 

Ok question one.

 

Last year I developed a CMS for use by my clients, currently each copy of the CMS has a user automatically added to the database on install (me), however I am about to take on an employee and I'd ideally like her to have access to the client CMS's as well. So without her using my account or having to manually go to each site and add the new user. Is there a way to add new users from an external XML file or something.

 

My ideal solution would be that I can add 'global admins' to the CMS on MY website and any user tagged as a global admin will appear in all the user databases. This sounds like it would be diffult and potentially unsecure, so obviously I want to find out if there is a solution that is safe to use.

 

Question 2:

 

As part of my CMS development i've also been creating modules, recently one user requested a profile page for each user on the CMS who is listed as staff. This is easy enough and I've already done this, however currently to add a user image the user has to resize and crop the image before uploading. I've seen jQuery solutions whereby the user can upload a large image and it resized on the fly and has a progres bar to keep the user happy that its still working and I've seen solutions where the user can crop an image once it has been uploaded.

 

Annoyingly however I've not been able to find a solution which will offer the user an upload progress bar, THEN allow the user to crop the image and THEN insert its path into a variable for database insertion.

 

Is there such a thing? I'm tempted to try to create one myself but I've been using jQuery for about a month and I've not really gotten to grips with heavy modding yet.

 

Thanks for reading this guys, i'll be very greatful for any help you can give me.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.