Jump to content
Tyson

Cpanel Extended Module

Recommended Posts

ModulesGarden had recently released their cPanel Extended module to us, and now after fixing some sanitization issues, we're recently the module unencoded for free (see attached).

 

Since we've made a few changes, it's possible we've introduced new issues, so we're considering this a beta version. Let us know if you find anything.

 

Based on our initial once-over of the module, it's evident that there are some bugs; which we did not attempt to fix. For example, attempting to unsuspend a service does not actually unsuspend the service.

 

You can upload the contents of the attached zip to your Blesta installation directory, and then head into Blesta's admin interface to install the module under [settings] -> [Modules] -> [Available].

 

NOTE: Version 2.0.0+ of this module requires Blesta v3.2.0+.

 

Changes:

## Version 1.0.2

### Bug
* [CORE-957] - cPanel Extended: Add Order drop-down missing language when setting server group
* [CORE-958] - cPanel Extended: Special FTP Accounts can have their passwords changed
* [CORE-959] - cPanel Extended: Cannot unsuspend an account
* [CORE-960] - cPanel Extended: Client service expandable row shows no content
## Version 1.1.0

### Requirements
- For use with Blesta version 3.1.x.

### Improvement
* [CORE-981] - cPanel Extended: Remove the action to fetch module options when changing module row/group

## Version 2.0.0

### Requirements
- For use with Blesta version 3.2.0 or greater.

### Bug
* [CORE-1089] - cPanel Extended: Cron may fail to provision services due to "headers already sent" error via session

### Improvement
* [CORE-1057] - cPanel Extended: Add service row info sections

### Sub-task
* [CORE-1052] - cPanel Extended: Add support for bootstrap in client interface

cpanelextended.zip

cpanelextended_v1.0.2.zip

cpanelextended_v1.1.0.zip

cpanelextended_v2.0.0.zip

Share this post


Link to post
Share on other sites

Awesome news, hopefully the underspending bug can be corrected later. While I love all the bug fixes and suitableness of Blesta. Its great to see some much needed content. Even better with the free price tag now :P.

 

Or actually perhaps since this is open code the community might be able to help work out the bugs =).

Share this post


Link to post
Share on other sites

Doesn't seem to change anything on my side in ways of function, but I thought maybe it's the core version like we got when we paid, so I saved my little edit for anyone who want's to use it to.

 

It doesn't have a nice button to log into WHM (For resellers that might be bother) so here is a little tweak to do so.

 

Edit: components/modules/cpanelextended/views/default/loginto.pdt

 

With the following code:

    <form method="post" action="<?php echo sprintf('https://%s:2087/login/', $this->server->meta->host_name); ?>" target="_blank" style="width: auto;">
        <input type="hidden" name="user" value="<?php echo $this->fields->cpanel_username; ?>">
        <input type="hidden" name="pass" value="<?php echo $this->fields->cpanel_password; ?>">
        <button class="cpebutton big" type="submit" style="width: 200px;margin-left: 10px;"><img src="<?php echo $this->view_dir; ?>images/keys.png"> WHM</button>
    </form>
    <div class="clear"></div>
</div>

You remove the clear from the end of the other form so you can just paste this over the div.

Share this post


Link to post
Share on other sites

I Am having an issue where I can add a service account and all using this module but when I log into the client side and try to manage it says the account does not exist under statistics. Everywhere else errors appear.

I verified that the account was created and it was.

Anyone else have this issue?

Share this post


Link to post
Share on other sites

I Am having an issue where I can add a service account and all using this module but when I log into the client side and try to manage it says the account does not exist under statistics. Everywhere else errors appear.

I verified that the account was created and it was.

Anyone else have this issue?

 

You need to remake the account on Blesta, in the MG thread you might see I had that issue.

Share this post


Link to post
Share on other sites

Just curious about this, not a big deal if not but figured I'd ask.  Is there a simple way to import the servers that have already been setup in the standard cPanel module into this one?

 

Nope because if you update the packages, the accounts don't function, you need to re-make them.

Share this post


Link to post
Share on other sites

What is the plan for this module? I know it was developed by MG, but are you guys going to keep it up to date, work the bugs out of it and replace your module with this module?

 

I believe in the future, they might merge a few features into their own module and scrap the extended, no point having two ;) but they will probably improve it for the better.

Share this post


Link to post
Share on other sites

What is the plan for this module? I know it was developed by MG, but are you guys going to keep it up to date, work the bugs out of it and replace your module with this module?

 

Mostly just fix known issues, if possible, and as CubicWebs mentioned, add several of the features into our cPanel module over time. The cPanel Extended module is not released with Blesta.

Share this post


Link to post
Share on other sites

Mostly just fix known issues, if possible, and as CubicWebs mentioned, add several of the features into our cPanel module over time. The cPanel Extended module is not released with Blesta.

 

 

Cool cool. I haven't been using cPanel extended. I had initial problems with it. I can't wait to see all of this migrated to the Blesta module!

Share this post


Link to post
Share on other sites

Hi, 

 

I'd like to know the ETA for releasing this officially. (or with Blesta main package, or as paid addon). 

 

Is it stable enough for production use, and may I suggest the main post on this thread should keep a Known Issues  list? 

 

Eric

Share this post


Link to post
Share on other sites

Hi, 

 

I'd like to know the ETA for releasing this officially. (or with Blesta main package, or as paid addon). 

 

Is it stable enough for production use, and may I suggest the main post on this thread should keep a Known Issues  list? 

 

Eric

 

The cPanel Extended module will most-likely never be released officially with Blesta. We don't intend to introduce new features for this module, and consider it rather low-priority on the fix list, since it is a 3rd-party module. Instead, we maintain our own cPanel module, which in the future, will contain more of the features currently available in this cPanel Extended module.

Share this post


Link to post
Share on other sites

I know this isn't actively being maintained etc, but I was wondering if anyone else was having issues where in the admin panel its not showing the number of accounts that are provisioned from within WHM. Also, I was wondering if I needed to have the regular cPanel module installed as well as the extended one.'

 

Or alternately if I shouldn't even bother using this and just stick with the regular cPanel module.

 

Cheers!

Share this post


Link to post
Share on other sites

Fair enough, as far as I can tell its pulling in the correct information on the packages page, so even if its not showing the number of accounts it seems to be connected. I guess the only thing I won't be able to do would be limit the number of accounts on the server.

Share this post


Link to post
Share on other sites

I know this isn't actively being maintained etc, but I was wondering if anyone else was having issues where in the admin panel its not showing the number of accounts that are provisioned from within WHM. Also, I was wondering if I needed to have the regular cPanel module installed as well as the extended one.'

 

Or alternately if I shouldn't even bother using this and just stick with the regular cPanel module.

 

Cheers!

 

We have updated cPanel extended for Blesta 3.2 so that it's compatible with the bootstrap conversion, however we're not going to be doing much with it going forward. We are however, going to be adding a lot of the extended features to our cPanel module. Unfortunately, there's no way to switch between the two. If our module will work for you for now, I'd suggest using it instead.

Share this post


Link to post
Share on other sites

We have updated cPanel extended for Blesta 3.2 so that it's compatible with the bootstrap conversion, however we're not going to be doing much with it going forward. We are however, going to be adding a lot of the extended features to our cPanel module. Unfortunately, there's no way to switch between the two. If our module will work for you for now, I'd suggest using it instead.

 

Perfect! Thanks for the heads up!

Share this post


Link to post
Share on other sites

We have updated cPanel extended for Blesta 3.2 so that it's compatible with the bootstrap conversion, however we're not going to be doing much with it going forward. We are however, going to be adding a lot of the extended features to our cPanel module. Unfortunately, there's no way to switch between the two. If our module will work for you for now, I'd suggest using it instead.

Maybe a dumb question but you're not suppose to be using the main cPanel and the extended version together?  I keep trying to setup the extended module and I get a 500.shtml error every time.  Guess I can disable the one and see what happens.

Share this post


Link to post
Share on other sites

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.

Loading...

×
×
  • Create New...