Horje
What is the best way of doing this? - Wordpress Solution
[Solved] - What is the best way of doing this? - Wordpress Solution
Try following codes
Hello, I am going to implement a remote blog management system. I will manage (i am explaining it later), a number of blogs from a central place. By managing I actually do not mean managing everything. Here how it will work: 1. from the panel, user will put server login (initially I am thinking about cPanel only so that I can use their API to copy files, create db). but how can I do it if user want to provide ftp and db credentials? 2. it will install a wordpress 3. it will have to activate a theme 4. it will have to activate one or more plugins and set plugins initial configurations. we know which key=>value we need to set. just need how best to do it? Currently I am thinking two things: 1. XML-RPC - I yet not sure whether it will work 2. A custom listener - That mean during file copy, I will include a custom file with a random hash value (to authenticate). i will call this file from my manager. as the listener is installed with that wordpress installation (and it will load wp-config.php), it can execute the commands like activate_plugins or something like that. I am looking for your suggestion. I just need the idea, no solution! Thanks

Solution - 1

Don't reinvent the wheel and fork this? [[LINK href="http://techie-buzz.com/wordpress-plugins/manage-multiple-blogs-release.html"]]http://techie-buzz.com/wordpress-plugins/manage-multiple-blogs-release.html[[/LINK]] And yeah, I would first check at RPC.


Solution - 2

Research what all you can do with the XMLRPC API right now. Does that suffice your needs? If yes, then use it. Regarding 2,3,4 that can be done easily. There were mass installation scripts which would set certain values of their own like you mentioned. Its somewhere linked on the Codex. You can try asking that on wp-hackers list if you need any specific help. That's the best free help you can get from the experts.

Date: 2022-10-21 05:19:37
Category: Wordpress
More for You