Leaderboard
Popular Content
Showing content with the highest reputation on 07/31/2015 in all areas
-
Yup, it's on todo list.3 points
-
[Emails / Articles] If There's Multi-Language Select Default Tab.
a.daniello and one other reacted to Michael for a topic
2 points -
do you always create xx topics related to same things, by the way I think you will afraid anybody trying to help as issue could not only be technical...but a never ending same 's guy story2 points
-
Blesta 4 will make PHP 5.4 a minimum requirement.2 points
-
Update Geoip Database Weekly.
Paul reacted to EidolonHost for a topic
So. Here's a script for updating your GeoIP database. #!/bin/bash # cd to directory where the MaxMind database is to be downloaded. if ! cd /home/example/public_html/billing/system/; then echo "Can't find work directory" >&2 exit 1 fi # Remove existing files so we start off with a clean set of updated data from Maxmind. rm -f GeoLite* rm -f md5sum.txt # Download databases and if applicable, their md5s. curl -L https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz |gunzip |tee GeoLite2-City.mmdb|md5sum |awk '{print $1}' > GeoLite2-City.mmdb.md5-loc$ curl -L http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.md5 > GeoLite2-City.mmdb.md5-remote.md5 # Localized copies of our working data. local=`cat GeoLite2-City.mmdb.md5-local.md5` remote=`cat GeoLite2-City.mmdb.md5-remote.md5` echo L=$local R=$remote # DO THE THING! ie, compare the files! if [ "$local" != "$remote" ]; then mail -s "Results of GeoLite Updates" example@domain.com <<< "md5sum for GeoLite2-City failed. Please check the md5sum. File may possibly be corrupted." else fi Works for me so far. My cronjob looks like this: * 20 * * 6 /home/example/geoip.sh Runs every Saturday at 8PM. Haven't figured out how to automatically overwrite... oh wait.1 point -
Update Geoip Database Weekly.
Blesta Addons reacted to Cody for a topic
Yeah, that's the gray area, and I'm not a lawyer, but my interpretation is that if it is completely optional and not enabled by default (e.g. the download does not happen automatically unless and until someone checks a box), then it should be ok.1 point -
The API makes public model methods available, but it sounds like you're looking for language that represents the plugin name. In this case you don't want to fetch information from the plugin directly, but instead want to fetch the plugin details from the PluginManager. e.g. $response = $api->get("plugin_manager", "get", array('plugin_id' => 1, 'detailed' => true)); To open a ticket from the API, you can use the Support Manager plugin included with Blesta and make two calls to 1) create the ticket and 2) add the ticket reply to the ticket. e.g. $ticket_data = array( 'ticket_id' => 1, // the ID of the ticket that was just created 'vars' => array( 'department_id' => 1, // ticket belongs to this department 'staff_id' => 1, // ticket assigned this staff user 'service_id' => null, // ticket is in relation to this service 'client_id' => 1, // ticket belongs to this client 'email' => null, // ticket was emailed into the system from this address 'summary' => "I have an issue", // summary line of the ticket 'priority' => "critical", // priority of the ticket 'status' => "open", // status of the ticket ) ); $response = $api->get("support_manager.support_manager_tickets", "add", $ticket_data); # TODO: make sure the ticket is actually created, then add a reply to it $reply_data = array( 'vars' => array( 'staff_id' => null, // the reply is from this staff user 'client_id' => 1, // the reply is from this client user 'contact_id' => null, // the reply is from this client contact user 'type' => "reply", // this is a ticket reply 'details' => "My issue is that...", // the ticket reply description 'department_id' => 1, // the ticket's assigned department 'summary' => "I have an issue", // summary line of the ticket 'priority' => "critical", // priority of the ticket 'status' => "open", // status of the ticket 'ticket_staff_id' => null, // the staff user the ticket is assigned to ), 'files' => null, 'new_ticket' => true // this reply is for a newly created ticket ); $response = $api->post("support_manager.support_manager_tickets", "addReply", $reply_data);1 point
-
What do you mean by selecting the default tab? Do you mean if your default language is English that the English tab should be selected by default when you visit the page? What do you experience now?1 point
-
Display Customer Name At Blesta Admin Panel & Services List
a.daniello reacted to Tyson for a question
If you're referring to [billing] -> [services] as naja7host described, then since there is a tooltip to show the customer's name, you could update the template to add a dedicated column to the table for it instead. I like the idea of you being able to choose data you want to include as columns in a table for more flexibility. That would be a good feature request.1 point -
While the next comment I make is going to make me sound like an asshole, eh, why not. If you are having trouble / issue with setting up cron, perhaps you should not be in offering web hosting or and offering WordPress Websites & Support (as your signature says). I am making this statement, not based off this one single post, but as a whole with all the other posts you have made. None the less, READ the documenation here: http://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-4.SetupaCronJob and if you have a specific question about cron, ask away. May you provide us more information as to the issue you are having with cron -- provider error logs maybe? Or a detailed description of the problem? -Adam1 point
-
This is a DNS issue. It looks like your webserver is unable to reach your database server. Ensure the hostname is correct (in config/blesta.php). If you're running your database on a non-default port, uncomment the port field (in config/blesta.php) and enter the port for your database server.1 point
-
It's possible the customer could have changed the ticket hash/code in the subject line before they sent the email. In that case they would have received the bounce response. If they corrected it and sent the email again, then the system would have added the ticket reply to the system. If this customer gets the bounce email each time they reply to an email, you may want to check your mail server records for the emails being received and check the headers for the from/to addresses, subject line, etc., to see if you're receiving multiple emails at about the same time, whether the addresses are incorrect, or the subject differs from what is expected.1 point