Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    389

Community Answers

  1. Blesta Addons's post in Photo's For Staff And Clients was marked as the answer   
    you are talking about the support plugin ?
    you can disable it by deleting the line in plugins\support_manager\views\default\client_tickets_reply.pdt
     

    <img src="//www.gravatar.com/avatar/<?php echo md5(strtolower(trim($this->Html->_($reply->email, true))));?>?s=250" class="img-thumbnail img-responsive" /> EDIT :
    i forget to mention the admin side plugins\support_manager\views\default\admin_tickets_reply.pdt
     
     

    <img src="//www.gravatar.com/avatar/<?php echo md5(strtolower(trim($this->Html->_($reply->email, true))));?>?s=120" />
  2. Blesta Addons's post in Can't Close Support Ticket was marked as the answer   
    You can now re-doawnload the files , the bug has been fixed .
     
    best regards
  3. Blesta Addons's post in Where Are The Email Templates was marked as the answer   
    the table name is emails .
    make a backup before any change .
  4. Blesta Addons's post in Get Getmodulerows Inside Getpackagerules was marked as the answer   
    i have got it
    $module_row = $this->getModuleRow($vars['module_row']);
  5. Blesta Addons's post in Array To Fieldselect was marked as the answer   
    GOT IT , the full code for reference :
        public function getPackageFields($vars=null) {         Loader::loadHelpers($this, array("Html"));         // $module_row = $this->getModuleRow($vars->module_row);         $fields = new ModuleFields();                      // Fetch all packages available for the given server or server group         $module_row = null;         if (isset($vars->module_group) && $vars->module_group == "") {             if (isset($vars->module_row) && $vars->module_row > 0) {                 $module_row = $this->getModuleRow($vars->module_row);             }             else {                 $rows = $this->getModuleRows();                 if (isset($rows[0]))                     $module_row = $rows[0];                 unset($rows);             }         }         else {             // Fetch the 1st server from the list of servers in the selected group             $rows = $this->getModuleRows($vars->module_group);             if (isset($rows[0]))                 $module_row = $rows[0];             unset($rows);         }                                  if ($module_row) {             $types = $this->getLicenseTypes($module_row)  ;         }                                          $license_type = $fields->label(Language::_("CpanelManagetwo.package_fields.license_type", true), "license_type");         $license_type->attach($fields->fieldSelect("meta[license_type]", $this->Html->ifSet($types['packages']['@attributes'])  ,             $this->Html->ifSet($vars->meta['license_type']), array('id'=>"license_type")));         $fields->setField($license_type);         return $fields;     }
  6. Blesta Addons's post in /tools / Logs / Convert Currency Url Return 404 Error was marked as the answer   
    maybe i have found the probleme . nothing related to the plugin code .....
    but i will make more profond analysis for this .
    EDIT AND FIX :
    the are no probleme with the code , is related to the plugin dir name "admin_tools" and routes .
    i have renamed the plugin directory and updated all the path . and all is working .
    THE BIG QUESTION NOW IS .
    the tools link not working if the "admin_tools" plugin was installed or un-installed .
    i believe the final solution for the future is fixing this bug
    http://www.blesta.com/forums/index.php?/topic/2779-uninstalled-plugins-are-accessible-via-url/
  7. Blesta Addons's post in Link Client To Cpanel Account was marked as the answer   
    yes , creat service without cheking the use module .
    you need to add the correct username .
  8. Blesta Addons's post in Invalid Email Address? was marked as the answer   
    that because blesta do a dns query  , if the query failed the email is considerated as invalid .
  9. Blesta Addons's post in Blesta Stop Working was marked as the answer   
    re-installing the browser resolve the probleme .
×
×
  • Create New...