Jump to content

wfitg

Members
  • Posts

    205
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    wfitg reacted to flangefrog in How To Show The Page Header With Logo On The Client Login Form?   
    You can use this vQmod. Visit https://account.orangehost.co.nz/ to see this in action.
     
    If you don't want to use a vQmod you can make the changes manually:
     
    In /app/views/client/bootstrap/structure.pdt replace
    if ($this->Html->ifSet($show_header, true)) { with
    if (true) { Or just remove the if block altogether.
    always_show_header.xml
  2. Like
    wfitg reacted to Tyson in Logo Not Scaling   
    The logo changes I mentioned above work fine for me. Did you remember to update the .logo class?
  3. Like
    wfitg reacted to Tyson in Site Integration With Blesta 3.1.x   
    While $this->Html->_() escapes HTML content to avoid introducing XSS vulnerabilities, I think you should continue to use $this->Html->safe() for wrapping custom URLs. Using $this->Html->_() several times is not as clean and readable.
     
    Also, these statements are equivalent:
    <?php $this->Html->_($variable); echo $this->Html->_($variable, true); ?>
  4. Like
    wfitg reacted to Michael in Blesta Vs Whmcs   
    Agreed Naja7host mate,
     
    WHM**: Launched 1.0.0 in 2005 and built on it, each version's modules are passed onto what it is today. When WHM** 6.x comes out in PDO format (Re-write) they are going to be in the same situation because every single module will need to be re-written in PDO to be compatible with their new requirement... Oh well haha win some loose some.
     
    HostBill: Launched 1.0.0 in 2008 and has a bad business model changing prices every week when they feel like it to hit the $4,999.96 price mark for everything included in it. They charge a high price per ticket as-well and doesn't have a community with the developers.
     
    ClientExec: Launched 1.0.0 in 2002 and built on it in every version. Still doesn't have everything either.
     
    Blesta: Opened in 2007, built on 1.x up-to 2.5 and then decided to re-write Blesta from the bottom up again this time making it modular so you only install want you want and need. It's now 99% opened and has a strong API for any developer to make it (Remember people need to live). Blesta 3 is modern, secure (Still), opened and still growing slowly, not too rapid to loose focus on the main focus "Secure & expandable billing system". - My own words.
     
    Blesta 3.0.0 went Beta only on August 2013, a year today and it's grown a lot and the community is bigger.
  5. Like
    wfitg reacted to Blesta Addons in Need To Remove Tax Id Number From Registration   
    near you can do like this task from the admin panel .....
     
    stay tunned ,
  6. Like
    wfitg got a reaction from Nelsa in Vendor Updates   
    I like the ones that say they are from the FBI. heh...
  7. Like
    wfitg reacted to flangefrog in Logo Not Scaling   
    This vQmod will make the logo responsive as long as you haven't already modified that part of the structure.pdt. You can look at the generated file in vqmod/vqcache to find out what the resulting structure.pdt looks like when the changes have been applied.
    responsive_logo.xml
  8. Like
    wfitg reacted to Michael in Vendor Updates   
    Lord Sugar had a email from Apple which was fraudulent: https://twitter.com/Lord_Sugar/status/508171877261787136
     
    But they are easy to spot if you read and check the signs. I use InterWorx and our SpamAssassin is set-up very strict and I've not had any spam since. I used to get a lot of PayPal fraudulent emails but mike@ domain doesn't have access to the paypal account so I knew they was fake
  9. Like
    wfitg reacted to flangefrog in Fully Custom Blesta Order Page   
    I also use Notepad++ sometimes when I'm working on a single file, but if you're working on a bigger project you should consider checking out NetBeans. It's designed especially for PHP/HTML so makes it easy to refactor, go to declaration, navigate all classes, methods, properties in the file and format code. It shows documentation for all PHP functions and even your own if you have PHPDoc style comments above them. It integrates with several PHP debuggers, will check syntax and best practices. You can connect it with git and other versioning systems and also with bugtrackers. It's got far to many features to list and is very stable, fast and easy to use. https://netbeans.org/features/php/

  10. Like
    wfitg got a reaction from Michael in Vendor Updates   
    For those who like to keep everything updated and patched:
    Security Fix: Swiftmailer 5.2.1 released
    http://blog.swiftmailer.org/
    These days Spammers troll the Internet looking for venerabilities.
  11. Like
    wfitg got a reaction from Michael in Logo Not Scaling   
    Did'nt work, but thanks.
    However, adding this did, I used it as a workaround, for those people searching:
    structure.pt
    <a href="index.html">
    <img src="https://wfitg.com/img/small-logo3.png" alt="logo" class="emailImage" />
    </a>
    the css:
    @media only screen and (max-width: 480px)
    {
    .emailImage{
    height:auto !important;
    max-width:600px !important;
    width: 100% !important;
    }
    }
  12. Like
    wfitg reacted to Michael in Site Integration With Blesta 3.1.x   
    So you want to make your blesta installation to look like your website?
     
    First go to: app/views/client/default/
     
    Make sure you Take a backup of the default folder or do make a new folder called default_backup and copy the files first before editing.
     
    upload the folders you need from your website like /css and /images and even /js if you have custom JS.
     
    Now go and edit: structure.pdt
     
    Here you can see everything which displays the Top / Content / footer.
     
    So remove everything except this:
     
    <section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>> <section class="layout"> <div class="page"> <?php echo $content;?> </div> </section>  
    As that is the middle content Which we want to keep the same of course.
     
    Now copy the header from your website.
     
     
    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>My site Name</title> <meta name="author" content="Blesta" /> <meta name="rating" content="Safe For Kids" /> <link href="http://yoursite.com/css/bootstrap.css" rel="stylesheet"> <link href="http://yoursite.com/css/cubicwebs.css?v=2" rel="stylesheet"> </head> <body> <section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>> <section class="layout"> <div class="page"> <?php echo $content;?> </div> </section>  
    Now replace the http://yoursite.com/ of your CSS / JS  to: [Remember to leave the external links like google the same]
     
    <?php echo $this->view_dir;?>  
    And replace the Title of your design to: 
     
    <?php echo (($page_title = (isset($page_title) ? $page_title : $this->_($page_title_lang, true, $get_params))) ? $this->Html->_($page_title, true) . " | " : "") . $this->Html->_($system_company->name, true);?> Like:
    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo (($page_title = (isset($page_title) ? $page_title : $this->_($page_title_lang, true, $get_params))) ? $this->Html->_($page_title, true) . " | " : "") . $this->Html->_($system_company->name, true);?></title> <meta name="author" content="Blesta" /> <meta name="rating" content="Safe For Kids" /> <link href="<?php echo $this->view_dir;?>css/bootstrap.css" rel="stylesheet"> <link href="<?php echo $this->view_dir;?>css/cubicwebs.css?v=2" rel="stylesheet"> </head> <body> <section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>> <section class="layout"> <div class="page"> <?php echo $content;?> </div> </section>  
    Now that will make the header the same. However we now need to add the final Blesta Header code, just above the </head><body> put the following code:
     
    <!--[if IE 9]><link href="<?php echo $this->view_dir;?>css/ie9_css3.css" rel="stylesheet" type="text/css" /><![endif]--> <link href="<?php echo $this->view_dir;?>css/jquery.qtip.css" rel="stylesheet" type="text/css" /> <?php // Theme CSS if (isset($theme_css)) { ?> <link href="<?php $this->Html->_($theme_css);?>" rel="stylesheet" type="text/css" media="screen" /> <?php } ?> <?php echo $this->Javascript->getFiles("head");?> <?php echo $this->Html->ifSet($custom_head); ?> <link href="<?php echo $this->view_dir;?>css/jquery.qtip.css" rel="stylesheet" type="text/css" /> <?php // Theme CSS if (isset($theme_css)) { ?> <link href="<?php $this->Html->_($theme_css);?>" rel="stylesheet" type="text/css" media="screen" /> <?php } ?> <?php echo $this->Javascript->getFiles("head");?> <?php echo $this->Html->ifSet($custom_head); ?>  
     
     
    Now it's time for the Footer.
     
    Paste your footer under the </section> like:
     
    <section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>> <section class="layout"> <div class="page"> <?php echo $content;?> </div> </section> <div class="footer"> <div class="wrap"> <div class="foot_left"> <b>Our Products</b><br /> </div> <div class="foot_middle"> <b>Blesta</b><br /> </div> <div class="foot_middle"> <b>Legal</b><br /> </div> <div class="foot_right"> <a href="https://cubicwebs.com/" class="footlogo"></a><br /> © Blesta 2013. All Rights Reserved.<br /> </div> </div> </div> Now to add the final Blesta code to the footer, Under your last DIV put the following:
    <?php echo $this->Javascript->getFiles("body");?> <?php echo $this->Javascript->getInline();?> </section> </body> </html>  
    Like:
    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo (($page_title = (isset($page_title) ? $page_title : $this->_($page_title_lang, true, $get_params))) ? $this->Html->_($page_title, true) . " | " : "") . $this->Html->_($system_company->name, true);?></title> <meta name="author" content="Blesta" /> <meta name="rating" content="Safe For Kids" /> <link href="<?php echo $this->view_dir;?>css/bootstrap.css" rel="stylesheet"> <link href="<?php echo $this->view_dir;?>css/blesta.css?v=2" rel="stylesheet"> link href="<?php echo $this->view_dir;?>css/jquery.qtip.css" rel="stylesheet" type="text/css" /> <?php // Theme CSS if (isset($theme_css)) { ?> <link href="<?php $this->Html->_($theme_css);?>" rel="stylesheet" type="text/css" media="screen" /> <?php } ?> <?php echo $this->Javascript->getFiles("head");?> <?php echo $this->Html->ifSet($custom_head); ?> </head> <body> <section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>> <section class="layout"> <div class="page"> <?php echo $content;?> </div> </section> <div class="footer"> <div class="wrap"> <div class="foot_left"> <b>Our Products</b><br /> </div> <div class="foot_middle"> <b>Blesta</b><br /> </div> <div class="foot_middle"> <b>Legal</b><br /> <a href="https://cubicwebs.com/terms-of-service2">Terms & Conditions</a><br /> </div> <div class="foot_right"> <a href="https://cubicwebs.com/" class="footlogo"></a><br /> © Blesta 2013. All Rights Reserved.<br /> </div> </div> </div> <?php echo $this->Javascript->getFiles("body");?> <?php echo $this->Javascript->getInline();?> </section> </body> </html>  
    Now you've got the Main core bit's done. Time to replace the extra bits, to make it easier I've made them sections and you can use what you need.
     
     
    Show Login when not logged in, but show Log out when logged in:
    <?php if ($this->Html->ifSet($logged_in)) { ?> <a href="<?php echo $this->Html->safe($this->client_uri . "logout/");?>">Logout</a> <?php } else { ?> <a href="<?php echo $this->Html->safe($this->client_uri . "login/");?>">Login</a> <?php } ?>  
    Show different navigation depending whether user is logged in or not:
    <?php if ($this->Html->ifSet($logged_in)) { ?> <a href="http://billing.yourdomain.com/customers/accounts/">Payment Accounts</a> <a href="http://billing.yourdomain.com/customers/contacts/">Contacts</a> <a href="http://billing.yourdomain.com/customers/plugin/download_manager/client_main/">Downloads</a> <a href="http://billing.yourdomain.com/customers/plugin/support_manager/client_main/">Support</a> <a href="https://billing.yourdomain.com/plugin/order/main/signup/register">Sign up</a> <?php }else{ ?> <a href="https://yourdomain.com/shared-hosting">WebHosting</a> <a href="https://yourdomain.com/resellers">Resellers</a> <a href="https://yourdomain.com/managed-vps">VPS</a> <a href="https://yourdomain.com/shoutcasts">Streaming</a> <a href="https://yourdomain.com/domains">Domains</a> <a href="https://yourdomain.com/about-us">Company</a> <a href="https://billing.yourdomain.com/plugin/order/main/signup/register">Sign up</a> <?php } ?> If you have Multi-company licenses and you want the urls to change per company you will need to use this style URLs:

      Show the page title:
    <?php if ($this->Html->ifSet($title)) { $this->Html->_($title); } else { $this->_("AppController.client_structure.default_title"); } ?>  
    Showing Theme Logo:
    <a href="<?php echo $this->Html->safe($this->base_uri);?>"> <?php if (!empty($theme_logo)) { ?> <img src="<?php $this->Html->_($theme_logo);?>" alt="Logo" /> <?php } else { ?> <img src="<?php echo $this->view_dir;?>images/logo.png" alt="Blesta" /> <?php } ?> </a>  
    Showing your own logo with link to the index:
    <a href="<?php echo $this->Html->safe($this->base_uri);?>"><img src="urltologo.png"></a> or
    <a href="<?php echo $this->Html->safe($this->base_uri);?>"><div class="logo"></div></a> or
    <a href="<?php echo $this->Html->safe($this->base_uri);?>" class="logo"></a> Return to Admin panel message:
    <?php if ($this->Html->ifSet($staff_as_client)) { ?> <div class="global_note"><?php $this->_("AppController.client_structure.staff_as_client_note", false, $this->Html->ifSet($this->admin_uri) . "clients/logoutasclient/");?></div> <?php } ?> The buttons which say Login / Return to portal etc:
    <?php if ($this->Html->ifSet($logged_in)) { ?> <span class="button"><a href="<?php echo $this->Html->safe($this->client_uri . "logout/");?>"><?php $this->_("AppController.client_structure.text_logout");?></a></span> <?php } else { ?> <span class="button"><a href="<?php echo $this->Html->safe($this->client_uri . "login/");?>"><?php $this->_("AppController.client_structure.text_login");?></a></span> <?php } ?> <span class="button"><a href="<?php echo $this->Html->safe(WEBDIR);?>"><?php $this->_("AppController.client_structure.text_return_to_portal");?></a></span> Navigation with Link / Link / Link / Link and the bar under the header on default:
    <section class="outer_nav"> <section class="layout"> <div class="inner_layout"> <nav id="nav"> <ul> <?php $i = 0; $nav_total = count($nav); foreach ($this->Html->ifSet($nav, array()) as $link => $value) { $attributes = array(); $link_attributes = array(); if ($value['active']) $link_attributes['class'][] = "active"; if ($i == 0) $attributes['class'][] = "first"; elseif ($i == $nav_total-1) $attributes['class'][] = "last"; ?> <li<?php echo $this->Html->buildAttributes($attributes);?>> <a href="<?php $this->Html->_($link);?>"<?php echo $this->Html->buildAttributes($link_attributes);?>><?php $this->Html->_($value['name']);?></a> </li> <?php $i++; } unset($i); ?> </ul> </nav> </div> </section> </section>  
    Hope this is a easier tut to follow, I've tried to make it as simple as I can. Good luck customizing your Blesta.
  13. Like
    wfitg reacted to Paul in Convert Domain Searches To Lowercase   
    I've assigned this to CORE-1369 as a "Task". I'm not sure this is a bug with Blesta so much as it is a bug with the domain registrar as we rely on them to do the lookup. It seems like they should be running string to lower on the input if it causes a problem.. but, this should fix it!
  14. Like
    wfitg reacted to Michael in Configuring Domains Via Logicboxes   
    Yeah that's fine and then do others for other prices. The documentation is currently being improved and added to every so often as the guys are working on the code part and then will get back to it .
  15. Like
    wfitg reacted to Blesta Addons in How Can I Relocate Relocate "domain Privacy" Chk Box?   
    in css file , add a custom css style for checkbox that is inside the container (order form conatiner ) , check thier div clas from source .
  16. Like
    wfitg reacted to ctalkington in Plesk - Webspace Ld Lookup   
    I've been working on an import from another billing system which doesn't use the webspace id. I believe the component should expose a function that allows for looking up a webspace id by domain (connecting to the package server). This helper would allow services to have stats working after import vs having to manually update the IDs for what could be hundreds of domains.
     
    As said billing system didn't have an importer yet, I've made my own mapping by running sql on each plesk instance and storing in the plesk config map.
  17. Like
    wfitg reacted to ctalkington in Plesk - Package Plan Ids And Server Groups   
    I was playing around with a few ways of configuring Plesk in Blesta. I noticed that the component allows for groups but requires plan IDs to be the same on all the servers in the group which is restrictive. specially when servers can be deployed by different technicians and at varying times. this means groups wont work unless you've:
     
    a ) added all the plans in same order on servers (and nothing more)
    b ) manually adjusted all the ids in the database (without upsetting plesk in the process)
  18. Like
    wfitg reacted to ctalkington in Plesk - Hostname Vs Ip Address   
    initial patch here: https://gist.github.com/ctalkington/7f31f81cb14a5251143b
  19. Like
    wfitg reacted to ctalkington in Billing - Transactions - Missing Refunded Status   
    i've patched this on my install.
     
    https://gist.github.com/ctalkington/fb28c2a1d47d0c3ead83/revisions
  20. Like
    wfitg reacted to Michael in Release 3.3.0-B1   
    Please note there is a few bugs you can see (well about 2 I think) but yeah it's useable whilst we wait for B2 to fix them. And I trust the guys
  21. Like
    wfitg got a reaction from Michael in Release 3.3.0-B1   
    Your opinion is good enough for me. I'll install it too.
  22. Like
    wfitg reacted to Michael in Release 3.3.0-B1   
    I love it as usual. And mine is in production
  23. Like
    wfitg reacted to Michael in Ticket   
    Ah, bare with me I'll give Paul a budge for you lol.
  24. Like
    wfitg got a reaction from Daniel B in Ticket   
    Normally i would not, but the ticket has been open since last thursday.
    i know ,, i know,,, it was a holiday weekend!!
  25. Like
    wfitg reacted to Daniel B in Looking For Beta Testers Of Virtkick, A Free And Open Source Alternative To Solusvm   
    I saw this over on WHT a few days ago and following the thread there, it is looking very nice.
     
    I'm not planning on starting up my VPS operations for another few months, so I wouldn't really be much help in the Beta unless it lasts longer than that though, any idea on the timeline you are looking at for Beta/Launch?
×
×
  • Create New...