Jump to content

Adam

Members
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    16

Reputation Activity

  1. Like
    Adam reacted to barryf in Invoice Due Setup   
    On a related note - how do you configure the actual Due Date for an invoice. In the UI I see a lot of references to the Due Date, but I cannot find howe/where to set it. Different customers may have different credit terms so it is kind of important.
     
    Thanks!
     
    Stupid me. Due date IS the renewal date.
     
    -Barry
  2. Like
    Adam got a reaction from Michael in Invoice Due Setup   
    Could you be more specific? What trouble are you having? Are you getting any errors in the logs? Is mail configured correctly? Have YOU read the how to guide? http://docs.blesta.com/display/user/Important+Settings#ImportantSettings-PaymentDueNotices You have to be way more specific.
    Please read the following documents on how to ask better questions *and* get better help:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
    http://www.catb.org/~esr/faqs/smart-questions.html
    -Adam
  3. Like
    Adam got a reaction from Lucas in Update Geoip Database Weekly.   
    If you run this in a cronjob, no need to log each message since you log the whole script (email or pipe redirection). I would also make the suggestion you use https as opposed to http for the transfer (geolite supports this).
    You could get a small performance boost if you used named pipes and curl. Something like this would work:
     

    curl -L https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip > GeoLiteCity.dat That is pretty agressive. The Maxmind website says the database is updated on the first Tuesday of the month. Taking into account the various number of timezones and not knowing when on Tuesday the database is updated, lets run this on Wednesdays instead.
     

    0 9 * * 3 [ `date +\%d` -le 7 ] && curl -L https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip > /srv/uploads/system/GeoLiteCity.dat  Runs on the first Wednesday of every month at 9AM server time.
     
    It is more then just countries, cities are accounted for. With IPv4 shortage, v4 addresses are being reallocated, reassigned more fequrently then ever before.
    Note to Blesta Devs: Should switch to the new GeoLite2 database format. The current one is legacy and will be deprecated at some point. The new GeoLite2 also includes md5 sums which can be added to the script above.
    http://dev.maxmind.com/geoip/geoip2/geolite2/
    -Adam
  4. Like
    Adam got a reaction from EidolonHost in Update Geoip Database Weekly.   
    If you run this in a cronjob, no need to log each message since you log the whole script (email or pipe redirection). I would also make the suggestion you use https as opposed to http for the transfer (geolite supports this).
    You could get a small performance boost if you used named pipes and curl. Something like this would work:
     

    curl -L https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip > GeoLiteCity.dat That is pretty agressive. The Maxmind website says the database is updated on the first Tuesday of the month. Taking into account the various number of timezones and not knowing when on Tuesday the database is updated, lets run this on Wednesdays instead.
     

    0 9 * * 3 [ `date +\%d` -le 7 ] && curl -L https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip > /srv/uploads/system/GeoLiteCity.dat  Runs on the first Wednesday of every month at 9AM server time.
     
    It is more then just countries, cities are accounted for. With IPv4 shortage, v4 addresses are being reallocated, reassigned more fequrently then ever before.
    Note to Blesta Devs: Should switch to the new GeoLite2 database format. The current one is legacy and will be deprecated at some point. The new GeoLite2 also includes md5 sums which can be added to the script above.
    http://dev.maxmind.com/geoip/geoip2/geolite2/
    -Adam
  5. Like
    Adam got a reaction from Michael in Blesta For Php5.3 And Ioncube V3.3.9   
    FYI: PHP 5.3 has end of life about 11 months ago and is no longer getting updates or patches for security.
    PHP 5.4 will EOL in about a month. I suggest upgrading to the latest.
    More information: http://php.net/eol.php and http://php.net/supported-versions.php
    -Adam
  6. Like
    Adam got a reaction from Michael in 500 Internal Server Error At Installation   
    But they do! http://bfy.tw/rdw and for the lazy: http://documentation.cpanel.net/x/hgAX :-)
    -Adam
  7. Like
    Adam reacted to activa in Extending The Universal Module Or Create Plugin   
    your answer is just for the OP question . what about the other questions , use two module to manage 1 service ?
  8. Like
    Adam got a reaction from activa in [Updated][Module] Universal Server Module - Manage Dedicated Servers And Colocation   
    Merge the projects. @cyandark should post this on some public code repository (self-hosted git/svn or github, bitbucket, etc).
    /adam
  9. Like
    Adam got a reaction from activa in Default Value On Forms (Radio And Checkbox)   
    Howdy,
    Would it be possible to add a default option to be selected when using Radio or and Checkbox as a configuration option?
    By adding this feature, this would improve the user experience on order forms as the end user can avoid selecting configuration options if the default that is define by the company is selected.
    thanks,
    /adam
  10. Like
    Adam reacted to EidolonHost in Is Blesta An Option For Dedicated?   
    There was a Dedicated Server module for WHMCS... I think I even have a copy of that script, but it's an extremely old copy.
     
    Hmm... maybe I should convert it to Blesta?
     
    I'll look into it and see if there's anything that can be done. Honestly, the closest thing that comes to managing dedicated servers would be NOC-PS's NOC-PS module, but that's mainly for OS reloads and stuff.
     
    Ironically, I have a project right now with ModulesBakery that's currently on hold for developing such a module. It ties into Ubersmith... well, the providers that utilize Ubersmith such as QuadraNet have enabled Ubersmith's APIs.
     
    If you'd like to have access to such a module that makes use of the Ubersmith API for dedicated servers... I'd be happy to get it open-sourced instead of copyrighted and locked to our company only.
     
    Edit: Looks like the module for dedicated servers was abandoned. And a new version of the module has been released for WHMCS.
     
    I'll take a look-see at it and see if I can help with getting it converted over.
×
×
  • Create New...