Control Web Panel

Developers => New Modules => Topic started by: yokowasis on June 23, 2017, 03:25:27 PM

Title: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on June 23, 2017, 03:25:27 PM
I just made a new module. Since I create a lot of Wordpress Website, and it is very painful for me to install wordpress manually, I decide to create custom cwp module for Installing Wordpress.

https://github.com/yokowasis/cwp-wp-installer

This is also my first project on GITHUB. Feel free to contribute.
I am planning to add other cms / apps in the future, but for now, I will stick to Wordpress, because I am only familiar with wordpress. It would be great if you guys can contribute and add another CMS / APPS, such as Joomla, Drupal, etc.
Title: Re: Wordpress Installer / Uninstaller
Post by: yokowasis on June 23, 2017, 03:28:19 PM
I tested this on CWP7, Openvz Centos 7 64bit.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: darkness on June 29, 2017, 03:06:02 PM
Great job! Really great job! Just tested it on CentOS 6.9 (Final) and works. There are few errors which needs to be fixed, but it works. For example instead of using unset($result) which is giving error, use $result = null; and later put something in that var.
Needs a bit fixing, because it`s not showing anything after you install a Wordpress, but everything else is ok. Once again - Great Job!
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on June 30, 2017, 03:20:58 AM
Great job! Really great job! Just tested it on CentOS 6.9 (Final) and works. There are few errors which needs to be fixed, but it works. For example instead of using unset($result) which is giving error, use $result = null; and later put something in that var.
Needs a bit fixing, because it`s not showing anything after you install a Wordpress, but everything else is ok. Once again - Great Job!

Thanks. Let me know if you found any error / bug. Regarding not showing anything, after installing a wordpress, it will show a table which list the installation.
(https://snag.gy/NC1Px6.jpg)

In there you can delete the installation or go to phpmyadmin.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on June 30, 2017, 03:23:53 AM
I want to add other app scripts, but the dev said, there is a big update coming up. I should wait for the update, because it is very likely it will break after the update.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: darkness on June 30, 2017, 06:07:11 AM
It`s working. Just it`s not  showing the instalations.
Error showing the installations (http://imgur.com/76n4fg8) <- Image
Wordpress Blog is there and working (http://imgur.com/StXHCiG) <- Image
It`s not a big problem. Just mention it to know.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on June 30, 2017, 06:10:22 AM
It`s working. Just it`s not  showing the instalations.
Error showing the installations (http://imgur.com/76n4fg8) <- Image
Wordpress Blog is there and working (http://imgur.com/StXHCiG) <- Image
It`s not a big problem. Just mention it to know.

remove database cwp_installer. update the script. It should show installation now.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: darkness on June 30, 2017, 08:21:02 PM
Sorry, I didn`t had time to check it earlier, but now I check it and it works perfect. Good job!
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on July 01, 2017, 01:39:14 AM
Cool  ;)
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on July 14, 2017, 07:08:25 PM
is anybody really using this module ? when there is no feedback, the product is either perfect or nobody using it.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: darkness on July 15, 2017, 08:41:58 PM
I use it. Up to now I have no problems with it. If there`s something I`ll let you know.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: vxdas on July 17, 2017, 11:58:55 AM
Hi thanks for the contribution.I have just installed it on my server and checked on client panel thankfully glorious thanks.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on July 21, 2017, 03:54:53 AM
Hi thanks for the contribution.I have just installed it on my server and checked on client panel thankfully glorious thanks.

Great, Glad it is useful
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: johnny09 on September 06, 2017, 06:17:24 AM
Were can I find the installed module in panel? Link, anything?

You can access the module from Other Menu in CWP Menu - ???

Added correct permissions, restarted cwp, cant see it....  ::)

Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on September 06, 2017, 06:49:07 AM
It's only shown on user. Not admin. And you don't need to restart anything.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: johnny09 on September 06, 2017, 07:14:35 AM
Ok, but how can an admin install then?
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on September 06, 2017, 07:19:26 AM
If you mean root can install wordpress into user panel. It can't.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: johnny09 on September 06, 2017, 07:29:41 AM
Is there a way to block some users to see this?

Lets say I want user1, 2 and 3 to use it. But user 4 and 5 would like to disable it. Any option to do that? Because there are users who like to test and they can delete a site that is in production. You will say there is a backup, yes, the only solution to get everything back up and running.

There is no warning message if the user presses install and has something installed already it gets deleted..... - this needs to be added
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on September 06, 2017, 08:00:30 AM
Is there a way to block some users to see this?

Lets say I want user1, 2 and 3 to use it. But user 4 and 5 would like to disable it. Any option to do that? Because there are users who like to test and they can delete a site that is in production. You will say there is a backup, yes, the only solution to get everything back up and running.

There is no warning message if the user presses install and has something installed already it gets deleted..... - this needs to be added

Yeah you right. I should have add warning.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: johnny09 on September 06, 2017, 11:40:15 AM
Works nice, also it could be useful for root admin, to use.
Also the default Folder Location should be written by default  /usr/public_html/ not Folder Location and if there something in there it should show notification or be in different color, example, red. If it is ok, its green.

/usr/public_html/ previous site install
/usr/public_html/ empty location, good to go :)
And also a field of the Notification, chose other place, Do you rely want to overwrite this location?

I hope you got the idea, that would only help site admins to ignore situations of user low knowledge and help us relax a bit more!

Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on September 06, 2017, 11:44:12 AM
Works nice, also it could be useful for root admin, to use.
Also the default Folder Location should be written by default  /usr/public_html/ not Folder Location and if there something in there it should show notification or be in different color, example, red. If it is ok, its green.

/usr/public_html/ previous site install
/usr/public_html/ empty location, good to go :)
And also a field of the Notification, chose other place, Do you rely want to overwrite this location?

I hope you got the idea, that would only help site admins to ignore situations of user low knowledge and help us relax a bit more!

Good idea. I will try to implement that.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: johnny09 on September 06, 2017, 11:53:28 AM
That would be fantastic, let us know when the new installer is ready  :D Cant wait  ;)
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: vicente on November 30, 2017, 09:30:14 PM
I just made a new module. Since I create a lot of Wordpress Website, and it is very painful for me to install wordpress manually, I decide to create custom cwp module for Installing Wordpress.

https://github.com/yokowasis/cwp-wp-installer

This is also my first project on GITHUB. Feel free to contribute.
I am planning to add other cms / apps in the future, but for now, I will stick to Wordpress, because I am only familiar with wordpress. It would be great if you guys can contribute and add another CMS / APPS, such as Joomla, Drupal, etc.

with the new update dont works any more
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on December 01, 2017, 12:25:30 PM
I just made a new module. Since I create a lot of Wordpress Website, and it is very painful for me to install wordpress manually, I decide to create custom cwp module for Installing Wordpress.

https://github.com/yokowasis/cwp-wp-installer

This is also my first project on GITHUB. Feel free to contribute.
I am planning to add other cms / apps in the future, but for now, I will stick to Wordpress, because I am only familiar with wordpress. It would be great if you guys can contribute and add another CMS / APPS, such as Joomla, Drupal, etc.

with the new update dont works any more

With the new update they added Wordpress Installer. I don't see any reason to continue this project.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: vicente on December 01, 2017, 08:39:29 PM

With the new update they added Wordpress Installer. I don't see any reason to continue this project.

thanks for your answer. but I have 2 servers one with free version and other with CWP pro and wordpress addon doesnt work for me. Can you check if is it working for you?

Also they say that the wordpress installer is for the pro version, so I want to use it in the free version.
http://centos-webpanel.com/cwppro
Coming soon:
- WordPress installer in the cwp.user panel

Regards
Vicente
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on December 04, 2017, 09:21:02 PM

With the new update they added Wordpress Installer. I don't see any reason to continue this project.

thanks for your answer. but I have 2 servers one with free version and other with CWP pro and wordpress addon doesnt work for me. Can you check if is it working for you?

Also they say that the wordpress installer is for the pro version, so I want to use it in the free version.
http://centos-webpanel.com/cwppro
Coming soon:
- WordPress installer in the cwp.user panel

Regards
Vicente

I have 3 servers with the free one. And all of them get updated to the newest version. All of them now have wordpress installer. And all of them doesn't show any addon menu. I guess the new update changing how addon works.

It is not coming soon. It's already here. And it's available for free user.
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: vicente on December 05, 2017, 08:37:59 PM

I have 3 servers with the free one. And all of them get updated to the newest version. All of them now have wordpress installer. And all of them doesn't show any addon menu. I guess the new update changing how addon works.

It is not coming soon. It's already here. And it's available for free user.

but can you install it? I can see the option but nothing happens when I do install, just a message that will install soon... but dont work
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: yokowasis on December 06, 2017, 12:51:38 AM

I have 3 servers with the free one. And all of them get updated to the newest version. All of them now have wordpress installer. And all of them doesn't show any addon menu. I guess the new update changing how addon works.

It is not coming soon. It's already here. And it's available for free user.

but can you install it? I can see the option but nothing happens when I do install, just a message that will install soon... but dont work

Yes, at first I too thinking that it's not working. But apparently it works. It install fine, but somehow we can not see the list of installation. Yes, it sucks. But we got to live with it. I don't know how to add module on the new CWP.

Title: Re: [module] Wordpress Installer / Uninstaller
Post by: vicente on December 06, 2017, 05:15:19 PM


Yes, at first I too thinking that it's not working. But apparently it works. It install fine, but somehow we can not see the list of installation. Yes, it sucks. But we got to live with it. I don't know how to add module on the new CWP.

You are right now I could install wordpress, the problem is that install in a wrong directory, I dont undestand which steps I have to follow to have a clean wordpress instalation, because first I create a new account who ask me for a domain, then I will have this domain in the Apache vHosts but when I open the client to install wordpress I cant see the domain listed to select it in the instalation panel, so I have to add the same domain in the client panel, then I have duplicated records in all my files, can you explain me the correts steps? dont know what I am doing wrong

thanks for your time

PD: here you have a modification of your module, but you need to upload in the admin folder, then you will have the instalation panel in your admin CWP, and then just write the user name of the account that you want to install wordpress.
https://www.dropbox.com/s/pzkl5hzc51s17d4/installer_wordpress.zip?dl=0
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: chtalhaanwar on August 21, 2018, 07:56:35 PM
i am still confused , where in cwp panel this wordpress stuff has been accessed? any screen shot
Title: Re: [module] Wordpress Installer / Uninstaller
Post by: Alfred523 on January 07, 2019, 07:29:54 AM
Great, Glad it is useful