Jump to content

mobbdeep

Members
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    mobbdeep reacted to Michael in Blesta Integration 3.3.x (Advanced)   
    Should do I'll make a new tutorial soon for you with 4.6.0.
  2. Like
    mobbdeep reacted to Tyson in Blesta Soft Auto Installer   
    Only package options with a matching term to the package can be set. So if you have a 3 month term package, only package options that are 3 month terms can be ordered with it. I'm not aware of ordering multiple domains for a single WP package, I think that has more to do with parking domains on a web hosting account.
    The package's welcome email contains the "service" object, and the package options are available in a list of "service.options". You would have to loop over the "service.options" and then evaluate the specific option to display the option name and value (e.g. "Admin Password: abc123").
    For example:
    {% for option in service.options %} {% if option.option_name == 'admin_name'}{option.option_label}: {option.value}{% endif %} {% if option.option_name == 'admin_pass'}{option.option_label}: {option.value}{% endif %} {% endfor %} The above would look over all service options, and display admin name and password if those are options on the service:
    Admin Name: myname Admin Password: mypassword  
  3. Like
    mobbdeep reacted to Paul in cPanel Module not updating passwords   
    Changing a password in cPanel doesn't update the password in that other billing application. They just used SSO. Stay tuned, there's a rumor than the cPanel module may be updated in Blesta 4.6 to do this. Of course, I can't confirm nor deny this, time will tell.  
  4. Like
    mobbdeep got a reaction from Michael in License key issue..   
    It appears adding TLS support properly in my Apache config worked. To those who are using a setup like mine:
    LAMP stack on CentOS 7 Used @Blesta.Store's tutorial (https://licensecart.com/brain/knowledgebase/398/How-to-install-Blesta-on-CentOS-without-a-panel.html) Let's Encrypt SSL Apache vHost (which you need anyway to use Let's Encrypt) Your Apache config file needs to look like so:
    <VirtualHost *:80> ServerAdmin email@yourdomain.com DocumentRoot "/var/www/html/yourdomain.com/" ServerName yourdomain.com ServerAlias www.yourdomain.com ErrorLog "/var/log/httpd/yourdomain.com-error_log" CustomLog "/var/log/httpd/yourdomain.com-access_log" combined <Directory "/var/www/html/yourdomain.com/"> DirectoryIndex index.html index.php Options Indexes MultiViews FollowSymLinks AllowOverride All Require all granted </Directory> Redirect permanent / httpd://yourdomain.com/ </VirtualHost> <VirtualHost *:443> ServerAdmin email@yourdomain.com DocumentRoot "/var/www/html/yourdomain.com/" ServerName yourdomain.com ServerAlias www.yourdomain.com ErrorLog "/var/log/httpd/yourdomain.com-error_log" CustomLog "/var/log/httpd/yourdomain.com-access_log" combined <If "%{HTTP_HOST} == 'www.yourdomain.com'"> Redirect permanent / https://yourdomain.com/ </If> <Directory "/var/www/html/yourdomain.com/"> DirectoryIndex index.html index.php Options Indexes MultiViews FollowSymLinks AllowOverride All Require all granted </Directory> SSLEngine On SSLProtocol -ALL +TLSv1.1 +TLSv1.2 SSLCertificateFile /etc/letsencrypt/live/yourdomain.com/cert.dh.pem SSLCertificateKeyFile /etc/letsencrypt/live/yourdomain.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/yourdomain.com/chain.pem </VirtualHost> SSLProtocol -ALL +TLSv1.1 +TLSv1.2 is what's vital in this situation I was having.
  5. Like
    mobbdeep reacted to Paul in License key issue..   
    That's weird that your Apache SSL settings would have any bearing on PHP and egress connections. Glad it works though, thanks for the update! Best guess is that maybe you were missing OpenSSL, and setting up Apache correctly got you the necessary libraries.
  6. Like
    mobbdeep got a reaction from activa in Issue with PHP and backend   
  7. Like
    mobbdeep got a reaction from Blesta Addons in Block certain TLD's?   
    This worked. Thank you!
  8. Like
    mobbdeep got a reaction from Paul in Block certain TLD's?   
    This worked. Thank you!
  9. Like
    mobbdeep reacted to Blesta Addons in Block certain TLD's?   
    i have tested the code now, you can use this regex
     
    'cpanel_domain' => [ 'format' => [ 'rule' => [[$this, 'validateHostName']], 'message' => Language::_('Cpanel.!error.cpanel_domain.format', true) ], 'test' => [ 'rule' => ['substr_compare', 'test', 0, 4, true], 'message' => Language::_('Cpanel.!error.cpanel_domain.test', true) ], 'block' => [ // 'if_set' => true, 'rule' => ['matches', '/^((?!.ga|.tk|.td|.cf).)*$/'], 'message' => 'this domain is not alowded' ], ],  
×
×
  • Create New...