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

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

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

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.

  • 9 months later...
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

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...
  • 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 2:29 PM, 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?

Same with me.

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

 

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.

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...