Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/02/2016 in all areas

  1. I've spotted a few of our clients who aren't using Two Factor Authorisation and so to try and push clients to use this cool feature, I've put this warning on the client area. And thought I'd pass it onto the community who would also like to use it. In /app/views/client/bootstrap/structure.pdt under the Blesta Nav you can paste this code: <?php if ($this->Html->ifSet($logged_in)) { if ($client->two_factor_mode === 'none'){ ?> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <strong>Warning!</strong><br /> <p style="margin-top: 0px !important;font-size: 13px;"> It seems you haven't activated Two Factor Authorization yet? It's a security feature in which you provide two means of identification to log into your account.<br> You can enable it <a href="//licensecart.com/customers/main/edit/" class="alert-link">here</a> under "Authentication". </p> </div> </div> </div> </div> <?php } } ?> All you need to edit there is the licensecart.com to your Blesta installation url. It will display a message like so:
    2 points
  2. I realize this is an old post, but in case you can still use it to add to the importer, the database structure for the knowledgebase in v. 6.x of WHMCS is: -- -- Table structure for table `tblknowledgebase` -- CREATE TABLE IF NOT EXISTS `tblknowledgebase` ( `id` int(10) NOT NULL AUTO_INCREMENT, `title` text NOT NULL, `article` text NOT NULL, `views` int(10) NOT NULL DEFAULT '0', `useful` int(10) NOT NULL DEFAULT '0', `votes` int(10) NOT NULL DEFAULT '0', `private` text NOT NULL, `order` int(3) NOT NULL, `parentid` int(10) NOT NULL, `language` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; -- -------------------------------------------------------- -- -- Table structure for table `tblknowledgebasecats` -- CREATE TABLE IF NOT EXISTS `tblknowledgebasecats` ( `id` int(10) NOT NULL AUTO_INCREMENT, `parentid` int(10) NOT NULL DEFAULT '0', `name` text NOT NULL, `description` text NOT NULL, `hidden` text NOT NULL, `catid` int(10) NOT NULL, `language` text NOT NULL, PRIMARY KEY (`id`), KEY `parentid` (`parentid`), KEY `name` (`name`(64)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; -- -------------------------------------------------------- -- -- Table structure for table `tblknowledgebaselinks` -- CREATE TABLE IF NOT EXISTS `tblknowledgebaselinks` ( `categoryid` int(10) NOT NULL, `articleid` int(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `tblknowledgebasetags` -- CREATE TABLE IF NOT EXISTS `tblknowledgebasetags` ( `id` int(10) NOT NULL AUTO_INCREMENT, `articleid` int(10) NOT NULL, `tag` varchar(64) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
    1 point
  3. 1 point
  4. Paul

    IonCube Woes

    Sorry about that. I updated the page to make a note about PHP 7 https://docs.blesta.com/display/user/Requirements
    1 point
  5. INUMIO-Rob

    IonCube Woes

    https://docs.blesta.com/display/user/Requirements Had this been a bit more accurate, it would have saved me about three hours of wasted labor.
    1 point
  6. Paul

    IonCube Woes

    I suggest running PHP 5.6 with the hotfix provided with Blesta. Let's not forget that Ioncube's PHP 7 loaders are BETA, and as we experienced in our v4 dev builds, are buggy. Even if the ioncube beta loaders worked, I wouldn't use them because they are in beta.
    1 point
  7. Abdy

    IonCube Woes

    Blesta is not prepared to run in PHP 7.0
    1 point
  8. Nice contribution Mike! It's always good to recommend good security practices. I'd probably go with the Warning / Yellow/Orange color instead of Red personally, but I like it!
    1 point
  9. Hi, I found, I guess that is a bug. If you sell a digital product, and the client order the product, the client can download the product without pay the invoice.
    1 point
  10. Yes , https://marketplace.blesta.com/#/extensions/29
    1 point
  11. Here's a tiny peek at some of the UI changes in v4. What stands out to you?
    1 point
  12. Paul

    Custom invoice template

    You can modify the PDF template inside ~/components/invoice_templates/default_invoice/default_invoice_pdf.php. You should be able to modify quantity here to hours, though it will be set as a language definition. Just a tip if you aren't aware.. Blesta's invoice quantity field supports fractions. So, for example, you could enter "1 45/60" in the quantity field to indicate 1 hour, 45 minutes.. and for the amount enter your hourly rate. Blesta will calculate this out automatically.
    1 point
  13. You are very kind, thanks for your support!
    1 point
×
×
  • Create New...