Jump to content
Message added by Michael,

Important Notice:

We have received reports that this developer is not responding to support requests. Some extensions may not be compatible with newer versions of Blesta.

Recommended Posts

Posted

Hello Community

i have updatedthe plugin to work with the latest blesta branch 3.2 ...

all the credit/licence belong to the creator of this plugin , so i have just changed some code to make it working in v 3.2

download the plugin for github , any suggetion welcome

https://github.com/Blesta/cpanel_csf

TODO :

Support other panels

Plesk

DirectADmin

Best regards

Posted

when the plugin is installed and i click unblock menu as client the logo of blesta dissapears shows this in the html:

 

            <div class="container">
                <div class="logo">
                    <a href="/portal/client/">
                                                    <img src="/portal/plugins/cpanel_csf/views/client/bootstrap/images/logo.png" alt="Blesta" />
                                            </a>
                </div>

 

that path doesnt exists cpanel_csf/views/client/bootstrap/images/logo.png

 

you should add in plugins/cpanel_csf/cpanel_csf_controller.php

    public function preAction() {

this:

    $this->structure->setDefaultView(APPDIR);

with this the logo will be rendered propertly

Posted
  On 5/14/2014 at 6:56 AM, tlchosting said:

This is great but install instructions would be nice, I have uploaded to plugins in components but it is not showing in blesta.

 

Are you looking at the Plugins (Available) page? Because you've uploaded it to the components which isn't the correct place. This is a Plugin, so it goes in the Plugin folder.

Posted
  On 5/14/2014 at 6:56 AM, tlchosting said:

This is great but install instructions would be nice, I have uploaded to plugins in components but it is not showing in blesta.

you should upload the plugin to the plugins folder .

Posted

I did it dont seem to be showing. And yes I was on the plugin avaliable page. Also I typed my reply wrong I mean I have upload to the plugins and the component folders but the folder being in both the plugin is still not showing.

  • 2 weeks later...
Posted

I'm having issues with this as well. It works splendid on the admin side, but on the client side the logo disappears and the "unblock" button doesn't work. I've tried a reinstall and deleting the cache folder.  Can't figure it out.

Posted
  On 5/29/2014 at 10:16 PM, ServZoo said:

I'm having issues with this as well. It works splendid on the admin side, but on the client side the logo disappears and the "unblock" button doesn't work. I've tried a reinstall and deleting the cache folder.  Can't figure it out.

the fix in the post N2

http://www.blesta.com/forums/index.php?/topic/2593-plugin-cpanel-csf-tounblock-ip-in-cpanel/?p=18445

  • 9 months later...
Posted
  On 3/20/2015 at 6:02 PM, kenng said:

Hi thanks for updating this plugin. Just want to check if this is working with the latest blesta version ?

 

This was re-edited for 3.2, so I believe it will work :)

Posted
  On 3/20/2015 at 6:02 PM, kenng said:

Hi thanks for updating this plugin. Just want to check if this is working with the latest blesta version ?

Normally it should work .

You can test it and send feedback , is thier any bug i will correct it .

Best regards .

Posted

Thank you. Ive managed to add the $this->structure->setDefaultView(APPDIR); to fix client's template missing logo.

 

I'm not sure if anyone has this bug? If you unblock an IP from admin area, it works. However from client's area, it is not submitting anything. the URL is mydomain.com/customers/plugin/cpanel_csf/client_main/# with the #

 

Please advise?

Posted
  On 3/26/2015 at 7:29 AM, kenng said:

Thank you. Ive managed to add the $this->structure->setDefaultView(APPDIR); to fix client's template missing logo.

I'm not sure if anyone has this bug? If you unblock an IP from admin area, it works. However from client's area, it is not submitting anything. the URL is mydomain.com/customers/plugin/cpanel_csf/client_main/# with the #

Please advise?

I wil check it this weekend to reproduce and correct if it need correction .

  • 4 weeks later...
Posted
  On 4/21/2015 at 9:23 PM, HostMyLink said:

Is this compatible with Blesta 3.4 as well or just for 3.2?

 

Should work as nothing has changed from 3.2 to 3.4 which would effect anything in the plugin.

  • 8 months later...
  • 1 month later...
Posted

Okay, so after pulling my hair our and a bunch of testing I have the reason

 

So my reseller account is setup as "Full root" on my WHM box. 

 

What this does is actually changes the api call required, to also mimic root.

 

The fix I am working on is that on a per server - we can add a flag for does reseller have root privs

 

We can then use this in the plugin to send the correct command and have it working :)

  • 7 months later...
Posted
  On 3/26/2015 at 7:29 AM, BlestaTheme said:

Thank you. Ive managed to add the $this->structure->setDefaultView(APPDIR); to fix client's template missing logo.

 

I'm not sure if anyone has this bug? If you unblock an IP from admin area, it works. However from client's area, it is not submitting anything. the URL is mydomain.com/customers/plugin/cpanel_csf/client_main/# with the #

 

Please advise?

Expand  

Same with me.

on client side a href on submit button is # . But on admin area works as usual. @naja7host :D

 

Posted

I totally forgot about this plugin. Would be great if it were working. Anyone have any screenshots? Where does the unblock appear to staff and clients?

Posted

What is the mechanism that it performs a csf -dr or csf -tr ? Does it do so via the WHM API? Would this be more appropriately added to the cPanel module and listed as its own management tab for clients (and staff)?

Posted

It does use the cPanel API - there is a cavet to watch out for that I hit.

It does use the cPanel plugin information to know about the servers..  - but it should also have a setting per cPanel server if the reseller has root privileges as it will run a different unblock comment for a reseller vs root privileged user.

I think as a stand alone plugin that can read the data from the cpanel one is the better way to go.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...