Leaderboard
Popular Content
Showing content with the highest reputation on 04/13/2015 in all areas
-
Softfiber Integration
Michael and 3 others reacted to Squidix Web Hosting for a topic
I love this application!!! Easy to work with and the markup is very clean.4 points -
Extend H2O To Translate Everything With Cms Plugin
Blesta Addons and one other reacted to a.daniello for a topic
I'm playing with the great Admin Tools by naja7host and i need to use in my cms pages something to be translated. So i make this simple extension of h2o. 1. create a file called "translate.php" under "vendors/h2o/ext"; 2. add this code to the file <?php class Translate_Tag extends H2o_Node { var $lang_key; function __construct($argstring, $parser, $pos=0) { $this->lang_key = trim($argstring); } function render($context, $stream) { $stream->write(Language::_($this->lang_key, true)); } } h2o::addTag('translate'); 3. load this tag where do you need (for frontend, in "plugins/cms/controllers/main.php" at line 56) adding this code h2o::load('translate'); It's all! So you can add a simple h2o tag as you need, for example {% translate here_write_language_key_or_your_string_also_with_spaces %} Usually, i'm adding my custom text in languages/[lang]/_custom.php. Hope that this can help someone.2 points -
[Plugin] Admin Tools (More Options For Staff)
a.daniello reacted to Blesta Addons for a topic
Hello All . LAST UPDATE : 28/10/2017, Version 2.5.0 Plugin was rewritten from scratch for v 4.0.0 . we bring exclusive content , this plugin will help admin for their tasks . with the plugin, you can : - Empty Cache . - Manage Countries (List - Add - Edit - Delete). - Manage Clients Note on one page (List - Stick - Unstick - Delete - Edit) - Get a List of Duplicate Clients (Usernames/Emails). - Locking Down Admin Area By Ip to only authorized IPS - block ips from accessing the system . - stop spam user registration (check the StopForumSpam database). - Move Service from client A to client B. - Move invoice from client A to client B. - Edit dates service (Date Added, Date renew, Date canceled, Date last renew). - Delete Invoice from the system. - Reactivate canceled service. - Modify Text/links In Navigation Bar (client/admin side) . - stop registration with duplicated email in primary contact only - add/edit/delete CMS pages. - verify missed phrases from languages files . TODO LIST : - Locking Down Admin Area By Ip to only authorized IPS - block ips from accessing the system . - Stop spam user registration (check the StopForumSpam database). - Modify Text/links In Navigation Bar (client/admin side) - stop registration with duplicated email in primary contact only - Move Service Beetwen Clients (Move Service/invoice X from Client A to Client B ) - Move Invoice Beetwen Clients (Move Service/invoice X from Client A to Client B ) - Add/Edit/Delete tasks/tasks_run in database . - Log ip/referral/useragent ..ect for dennied access to admin area if iprestriction is enabled . - Email admin if failure attemp to access admin area . - Add API key support for StopForumSpam to add entries in StopForumSpam database . - Change Service Dates (creation/deleted ... ) - GeoIP database auto updater - Blesta Available Update for CMS portal , add a new page , the URI is the path to that page in the url adress. exemple , new page with uri "about-us" can be accessed with the url http://yourdomain.com/blestaurl/about-us Some screenshoot : security settings ip restriction for admin area and all the system navigation links Languages Verify edit countries duplicated emais duplicated email message spam message if detected This Plugin is tested in our test server , no bugs at the moment . this plugin requiere the Basic (Bronze) subscription . Order Link as always the installtion steps is : 1 - download the file from client area. 2 - upload the admin_utils folder inside plugin directory . 3 - goto plugins , and install Admin Tools Plugin . 4 - enjoy the free content . if you are using a old version , you should upgrade the plugin from the plugin manager . Best regards1 point -
Add Language Selector In Client Side
PauloV reacted to Blesta Addons for a topic
Hello all, this thread will show you how to add a langaueg selection for clients/visitors . first thing , the admin tools plugins should be installed and activated to get this working . now what we should add is the language selector in the cleint area , something like <form method="GET" class="form-inline" id="change_language"> <label for="set_language">Language:</label> <select name="set_language" class="form-control input-sm" id="set_language"> <option value="en_us">English</option> <option value="fr_fr">Français</option> <option value="es_es">Spanish</option> <option value="ar_sa">Arabic</option> </select> </form> you can add your own html markup but you should conserve only the selector name "set_language" . didn't change GET with POST form . also add the jquery code inthe footer of the view // Process change Language request $("#set_language").change(function() { $(this).closest("form").attr('action', window.location.href); $(this).closest("form").submit(); }); note any language should be exist in your blesta installation . now the clients/visitor can change language in the client portal/login/order page . best regards1 point -
Hi guys, I would like to propose to developers to look into a feature where we can be able to print out statements for clients who might request them, alternatively this option could be added to the client's portal where he or she can print the statement/ summary of all the invoices or any dates they might choose... having said, it could also come handy that any invoice sent to the client be stored in his portal, this will reduce load from us as owners. any contribution to this idea will be highly appreciated. Best regards, Thebe Smuuch (Pty) Ltd1 point
-
This sounds similar to another feature request. You could include any other specifics in that other thread so we can better judge how such a billing statement should work based on feedback from everyone.1 point
-
[Plugin] Blesta Live Chat Rc 1.0.7 - 4ºrc
a.daniello reacted to PauloV for a topic
New update released Blesta Live Chat 1.0.7 Added: 10 auto languages detect on Admin/Staff Chat Box (thanks to a.daniello) Fix: Security issue on Chat Box displayin outside Admin/Staff login session (thanks to a.daniello) Just see first post how to Install or Upgrade Many thanks a.daniello for your help I used : if ($GLOBALS['_SESSION']['blesta_staff_id']) return $blc_include; insted of: if (!isset($this->Session)) Loader::loadComponents($this, array("Session")); And for language I have added: /* Chat Supported Languages 0 => 'eng', 1 => 'lit', 2 => 'hrv', 3 => 'esp', 4 => 'por', 5 => 'nld', 6 => 'ara', 7 => 'ger', 8 => 'pol', 9 => 'rus', 10 => 'ita', 11 => 'fre', 12 => 'chn', 13 => 'cse', 14 => 'nor', 15 => 'tur', 16 => 'vnm', 17 => 'idn', 18 => 'sve', 19 => 'per', 20 => 'ell', 21 => 'dnk', 22 => 'rou', 23 => 'bgr', 24 => 'tha', 25 => 'geo', 26 => 'fin', 27 => 'alb', */ if (Configure::get("Blesta.language") == "en_us"){ $lang = ""; }; if (Configure::get("Blesta.language") == "pt_pt"){ $lang = "por"; }; if (Configure::get("Blesta.language") == "pt_br"){ $lang = "por"; }; if (Configure::get("Blesta.language") == "fr_fr"){ $lang = "fre"; }; if (Configure::get("Blesta.language") == "es_es"){ $lang = "esp"; }; if (Configure::get("Blesta.language") == "de_de"){ $lang = "ger"; }; if (Configure::get("Blesta.language") == "it_it"){ $lang = "ita"; }; if (Configure::get("Blesta.language") == "ru_ru"){ $lang = "rus"; }; if (Configure::get("Blesta.language") == "zh_cn"){ $lang = "chn"; }; if (Configure::get("Blesta.language") == "ar_sa"){ $lang = "ara"; }; Later on I have to use an array, more easy1 point -
Yes, i could do that Yes, Im the developper of all my signature plugin's/modules/extensions/mods/order forms I also alredy have deveolped several plugins and modules for a several blesta members I own a company in Portugal, but I do this purly for fun (love blesta, and love to program/design), in my free time. You can PM me if your are interested in custum work1 point
-
[Plugin] Blesta Live Chat Rc 1.0.7 - 4ºrc
PauloV reacted to a.daniello for a topic
PauloV, i'ld suggest to use quote for param "nick" in views/default/admin_live_chat_include.pdt var LHCChatboxOptions = {hashchatbox:'empty',identifier:'default',status_text:'Admin Chat','nick':"{{nick}}",'disable_nick_change':true}; So, there aren't problems with nick using single quote (i tried with my full name and i got an error because my last name contains a single quote). Then, i'm searching a way to localize chat on Blesta session language. For now, i do it so: 1. i added a placeholder "{{lang}}" in views/default/client_live_chat_include.pdf, after "index.php" po.src = '{{base_uri}}plugins/live_chat/vendors/blc/index.php{{lang}}/chat/getstatus/(click)/internal/(position)/bottom_right/(top)/350/(units)/pixels/(leaveamessage)/true?r='+refferer+'&l='+location; 2. i set this placeholder based on Blesta session "language" (Live Helper Chat uses a 3 chars code for locale, e.g. "eng"), adding this control in "liveChatClientInclude()" of "live_chat_plugin.php"; for example, in my case if (!isset($this->Session)) Loader::loadComponents($this, array("Session")); $_lang = ($this->Session->read('language')=='it_it') ? '/ita' : ''; $blc_include = str_replace("{{lang}}", $_lang, $blc_include); Not is the best, but works1 point -
I prefer it like this if you was to do down that route this would be nice, but it must be for all cancelled services and not just scheduled services, and if possible force customers who are cancelling to add a reason.1 point
-
[Plugin] Admin Tools (More Options For Staff)
PauloV reacted to a.daniello for a topic
naja7host, always great! I think that there's only a little issue, simply to fix. Case: - I have two language (english and italian); english is set as default. - I go in Languages (.../plugin/admin_utils/admin_languages/) and get following error Undefined offset: 0 on line 73 in /home/mykomuni/public_html/plugins/admin_utils/controllers/admin_languages.php Cause: "If" clause at line 61of controllers/admin_languages.php unsets first item of array $languages, so at first step of "for" cycle the var $languages[$j]->code (with $j=0) is undefined Solution: I fix simply adding an "else" at line 63, so there aren't jumps in keys of $languages array Thanks1 point -
Not fully tested yet but looks ok. Braintree was a deal breaker for me, so thanks very much for writing this!1 point
-
Thanks. I'll shoot them an email and see what the status of that is.1 point
-
Looking For A Developer For Xero Integration
ModulesBakery reacted to Michael for a topic
Xero is going to be done by ModulesBakery if you can wait mate we're going to buy a copy from him when he's done.1 point -
Sql For Pending Service With A Paid Invoice
Blesta Addons reacted to serge for a question
I think if you want to get data result, : - you can remove "COUNT(*)", because if not your query will just give you the number of line that match to your query (just the number like "3") - you will need to fletch the result, and Blesta do have maybe his own data base communication abstraction to do it, you could check in the code how Blesta is doing it1 point -
Add Language Selector In Client Side
a.daniello reacted to Blesta Addons for a topic
you can use my own toolbox plugin . Add Custom html simple Pages : All Client Pages Markup to set in : before the /body tag HTML To Add : <form method="GET" class="form-inline text-center" id="change_language"> <label for="set_language">Language:</label> <select name="set_language" class="form-control input-sm" id="set_language"> <option value="en_us">English</option> <option value="fr_fr">Français</option> <option value="es_es">Spanish</option> <option value="ar_sa">Arabic</option> </select> </form> save . Add Custom JS simple Pages : All Client Pages Markup to set in : before the /body tag JS To Add : // Process change Language request $("#set_language").change(function() { $(this).closest("form").attr('action', window.location.href); $(this).closest("form").submit(); }); save . you are done1 point -
[Plugin] Admin Tools (More Options For Staff)
ariq01 reacted to Blesta Addons for a topic
new release 2.4.0 + removed option to correct invoice date , is fixed in CORE-1605 . + aded option to read/write language selector in sessions .1 point -
[Plugin] Admin Tools (More Options For Staff)
PauloV reacted to Blesta Addons for a topic
1 - it save a pdf file in a folder inside your upload folder . it save only the PAID invoices , this because to get a copy of the final invoice , when a client change thier info , you still have the invocie with the old data . 2 - when enabled "Enable EU invoicing" it will make new profoma in sequential numbers . 3 - this feature has been removed in v 2.4.0 that will be released now .1 point -
Every status minus In Progress changes when a customer replies. So from Awaiting reply or Closed to Open.1 point