Jump to content

PauloV

Members
  • Posts

    1,387
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by PauloV

  1. Hello, Problem: Describe the issue you're experiencing: Reciving/Importing emails to Tickets, removes special characters like Latin Characters (á|ã|â|à|é|è|ê|í|ì|î|ó|ò|ô|õ|ú|ù|û|) Provide detailed steps necessary to reproduce the issue: Send an email to Blesta import with characters like por exemple á|ã|â|à|é|è|ê|í|ì|î|ó|ò|ô|õ|ú|ù|û| Solution: After days testing, tracing and debuging, we finally detect the issues: 1º First problem detected: On file plugins/support_manager/vendors/html2text/html2text.class.php we have fount that characters encoded as html are being removed by the line 187: '/&[^&;]+;/i', // Unknown/unhandled entities and on line 239: '', // Unknown/unhandled entities We have coment this two lines to not remove the encoded characters like so: change to, on line 187: //'/&[^&;]+;/i', // Unknown/unhandled entities change to, on line 239: '', // Unknown/unhandled entities ///////////////////////////////////////////////////////////////////////////// Small extra note and fix: If you whant to see break lines on Tickets (I sure you do ), just do this also on this file: find on the same file on line 147: "/[\n\t]+/", // Newlines and tabs change to: "/[\t]+/", // Tabs ///////////////////////////////////////////////////////////////////////////// 2º Second problem detected: We have detected that html_entity_decode was not being used on body and subject of the email to translate special characters, so to fix it do: Open file: plugins\support_manager\components\email_parser\email_parser.php find on line 174: // Prefer conversion using iconv, but if the character set is not change to: // Decode encoded characters $text = html_entity_decode($text); // Prefer conversion using iconv, but if the character set is not 3º The final problem detected, is that the class html2text was being called one second time from "vendors\html2text\" directory, and its not nedded, causing more problems than fixing them Open file: plugins\support_manager\views\default\admin_tickets_reply.pdt find on line 186: <?php echo $this->TextParser->encode("markdown", $this->Html->_($reply->details, true));?> change to (this fix also fixes the breaklines issue): <?php echo nl2br($this->Html->_($reply->details, true));?> Open file: plugins\support_manager\views\default\client_tickets_reply.pdt find on line 137: <?php echo $this->TextParser->encode("markdown", $this->Html->_($reply->details, true));?> change to (this fix also fixes the breaklines issue): <?php echo nl2br($this->Html->_($reply->details, true));?> And thats it I hope this will help outhers. Blesta can close this issue Regards, PV
  2. Hello, Yes I know, but in our case, and maybe for alot more people, it will be great if we could import all emails (pop/imap/pipe), and the emails that have no account went to the "open" status of tickets, and then we have some new options like: Spam (the email/Ticket is deleted and the adress is aded to a new table to be checked wen importing new emails) Move (this option is to be able to move the email/ticket to a user account) Delete (This option deletes the email/Ticket) I could do a plugin that can check all email adresses, and if not in, import them all, an then the admin can choose the options above, but is better to be integrated on "Suport Manager". We recive alot of emails from banks (the email adresses are not registered) with payment recips from clients, and that have to be imported to Suport Manager, after the import we move the Ticket/Email to the client because it belongs to him and we can track the payments. There is alot more that I cannot remember that we can do with the options above I have detected a possible bug on Suport Manager that I will post on bugs Regards, Paulo V
  3. Final solution that is 100% working, and now, can add also responses on character focus, the way that should work Open plugins/support_manager/views/default/admin_tickets_add.pdt on line 177 change from: function setPredefinedResponse(response_id) { $(document).blestaRequest('GET', '" . $this->Html->safe($this->base_uri . "plugin/support_manager/admin_tickets/getresponse/") . "' + response_id, {}, function(data) { if (data) { $('#details').val($('#details').val() + data); $('#details').scrollTop($('#details')[0].scrollHeight); } }, null, {dataType:'json'} ); } To: jQuery.fn.extend({ insertAtCaret: function(myValue){ return this.each(function(i) { if (document.selection) { //For browsers like Internet Explorer this.focus(); sel = document.selection.createRange(); sel.text = myValue; this.focus(); } else if (this.selectionStart || this.selectionStart == '0') { //For browsers like Firefox and Webkit based var startPos = this.selectionStart; var endPos = this.selectionEnd; var scrollTop = this.scrollTop; this.value = this.value.substring(0, startPos)+myValue+this.value.substring(endPos,this.value.length); this.focus(); this.selectionStart = startPos + myValue.length; this.selectionEnd = startPos + myValue.length; this.scrollTop = scrollTop; } else { this.value += myValue; this.focus(); } }) } }); function setPredefinedResponse(response_id) { $(document).blestaRequest('GET', '" . $this->Html->safe($this->base_uri . "plugin/support_manager/admin_tickets/getresponse/") . "' + response_id, {}, function(data) { if (data) { $('#details').insertAtCaret(data); } }, null, {dataType:'json'} ); } Please test and send feedback Regards, Paulo V
  4. Hello see next post with a working solution Regards, Paulo V
  5. Hello, I also consider a annoying "bug" (its not actualy a bug, but its very annoying, lol) I will trie to see how WHMCS/Hostbill/ClentExec has implemented this, because on outher solutions it works that way Maybe some javascript execution after click on "Predefined Response" that gets the ticket text, add first the Predefined Response and after the rest of the ticket text I think its easy I will post a solution later Regards, Paulo V
  6. Nice I have search before post on "Blesta Core" but didn find it, that's why I post here Kepp up the good work Regards, Paulo V
  7. Hello, Wen we have a signature, and open a ticket, wen we select an Predefined Response, it posts after the signature, and not before the signature. Regards, Paulo Vidal
  8. Hello, Anouther feature, is to be able to open suport tickets to unregistered users, for exemplo if a new client calls and needs a quote, we open a Tickets and send to the email adress for that customer. Regards, Paulo V
  9. Hello, A feature that is present on all systems is to be able to Enable, Disable, Required Option on Client Fields. For exemple we dont need some fileds, and whant to disable from client registration/area/admin client view. Regards, Paulo V
  10. Many thanks once again I see that now we can check wath is schedule to implement on Core very nice Keep the good work P.S- One sugestion Keep "The Marketplace" fórum open to all unregistered users. Its because new users/possible clients, dont see the new plugins, widgets, control panels, domain registrars, etc.. and maybe its best to make it open to all, you can restrit only the Download to registed users but be able to all see the posts Regards, Paulo V
  11. Many thanks for the answer. Maybe there is anouher way to implement what I whant Is there a way to show a widget (without mess with core files), permanent in all admin pages? For exemple, in the home page I know its possible, like for exemple the calendar widget on the left, but If I whant to show on all pages? I whant to make a plugin that render a widget on all admin pages. I know that is easy messing with app/views/admin/default/structure.pdt but is there a way to add by a plugin? Thanks in advance. Paulo V
  12. Is on "nav_primary_staff" its on Backend to admins
  13. Hello How can I add an ID or NAME to a NAV link,I have trie like this but no luck: public function getActions() { return array( array( 'action' => "nav_primary_staff", 'uri' => "/some_folder/", 'name' => "Link Test", 'options' => array('id' => "SomeID",'name' => "SomeName") ), ); } Any help? Tanks in advance Paulo V
  14. Hello to all Maybe is to many hours at work in developing and also on Blesta that I cannot see I whant to be able to get the id or username of the current loged in admin in structure.pdt I have trie almost everything, and dont whant to change core files to send the var I have output all global vars using print_r($this) but I cannot the current logged in admin or username. Thanks in advance, Paulo V
  15. Hello Many thanks for all your feedback Maybe later after i build more plugins and extensions I will open a paypal donation but for now many thanks to all im happy just seeing the feedback from all you I have WHMCS, ClientExec, AWBS, WhmAutopilot, HostBill and BoxBilling licenses and none of them ofered in the regular license a LiveChat thats why I have build a solution for LiveChat for Blesta If we all trie to make an improvement for Blesta more developers will come and develop more plugins and extensions for Blesta and of course more people will come to help somehow I hope you all like the LiveChat I will keep you posted Thanks to all, Paulo V
  16. (Updated 14-04-2015) Hello to all blestars Here it is the Third Release Candidate for Blesta Live Chat 1.0.7 Here it is the "Biggest" update ever made for "Blesta Live Chat" Plugin with a new clean design (I will try to update screenshots next week) Atention: To use this you have to uninstall your old "Blesta Live Chat" Plugin, and install this one. Unfortunately this cannot be "Auto Update" because I have made an huge modification and also add the Lastest, most stable "livehelperchat" from github (https://github.com/LiveHelperChat/) This version brings a LOT of new features and Im going to trie not forget all posting it here Added: - Live Help Widget Auto detect Language on Client Area (also wen client are not loged in it detects the language) - Live Help Widget Auto detect Name and Email wen client logins to Client Area Fixed: - Fixed quotes in name problem. (bug found by a.daniello) 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) Added: See what user see with screenshot feature, Co-Browsing/Screen sharing (See in real time what your user sees on screen) (needs nodejs installed on server to fully support) Speech to text (now supporting your your voice conversion to text) Files upload Chat search Option to add custom form fields. It can be either user variables or hidden fields. Usefull if you are integrating with third party system and want to pass user_id for example. Cronjobs Callbacks Closed chat callback Unanswered chat callback Asynchronous status loading, not blocking site javascript. XML, JSON export module GEO detection using three different sources Option to configure start chat fields Browser title blinking then there is pending message. Option to limit pro active chat invitation messages based on pending chats. Option to configure frequency for pro active chat invitation message. You can set after how many hours for the same user invitation message should be shown again. Users blocking Top performance with enabled cache Option to send messges to anonymous site visitors, Voting module FAQ module Online users map Pro active chat invitatio Total pageviews tracking Total pageviews including previous visits tracking Visits tracking, how many times user has been on your page. Auto responder BB Code support. Links recognition. Smiles and few other hidden features First user visit tracking Option to have different pro active messages for different domains. This can be archieved using different identifiers. Protection against spammers using advanced captcha technique without requiring users to enter any captcha code. Flexible permission system, Roles,GroupsUsers Tablet and Mobile friendly And here is the complete list what Blesta Live Chat can do right now Auto install and preconfigure an Admin/Staff Chat (Staff and Admin can chat with each outher online securelly). Vew in real time (5 seconds delay), all online users, and see what are they doing. Auto install and add Blesta Live Chat Widget on your Blesta Order Froms and Client Area. Blesta Live Chat can do: See what user see with screenshot feature, Co-Browsing/Screen sharing (See in real time what your user sees on screen) (needs nodejs installed on server to fully support) Speech to text (now supporting your your voice conversion to text) XMPP support for notifications about new chats. (IPhone, IPad, Android, Blackberry, GTalk etc...) Chrome extension Repeatable sound notifications Work hours See what user see with screenshot feature Drag & Drop widgets, minimize/maximize widgets Multiple chats same time See what users are typing before they send a message Multiple operators Send delayed canned messages as it was real user typing Chats archive Priority queue Chats statistic generation, top chats Resume chat after user closed chat All chats in single window with tabs interface, tabs are remembered before they are closed Chat transcript print Chat transcript send by mail Site widget Page embed mode for live support script or widget mode, or standard mode. Multilanguage Chats transfering Departments Files upload Chat search Automatic transfers between departments Option to generate JS for different departments Option to prefill form fields. Option to add custom form fields. It can be either user variables or hidden fields. Usefull if you are integrating with third party system and want to pass user_id for example. Cronjobs Callbacks Closed chat callback Unanswered chat callback Asynchronous status loading, not blocking site javascript. XML, JSON export module Option to send transcript to users e-mail SMTP support HTTPS support No third parties cookies dependency Previous users chats Online users tracking, including geo detection GEO detection using three different sources Option to configure start chat fields Sounds on pending chats and new messages Google chrome notifications on pending messages. Browser title blinking then there is pending message. Option to limit pro active chat invitation messages based on pending chats. Option to configure frequency for pro active chat invitation message. You can set after how many hours for the same user invitation message should be shown again. Users blocking Top performance with enabled cache Windows, Linux and Mac native applications. Advanced embed code generation with numerous options of includable code. Template override system Module override system Support for custom extensions Changeable footer and header content Option to send messges to anonymous site visitors, Canned messages Informing then operator or user is typing. Option to see what user is typing before he sends a message Canned messages for desktop client Voting module FAQ module Online users map Pro active chat invitatio Remember me functionality Total pageviews tracking Total pageviews including previous visits tracking Visits tracking, how many times user has been on your page. Time spent on site Auto responder BB Code support. Links recognition. Smiles and few other hidden features First user visit tracking Option for customers mute sounds Option for operators mute messages sounds and new pending chat's sound. Option to monitor online operators. Option to have different pro active messages for different domains. This can be archieved using different identifiers. Dekstop client supports HTTPS Protection against spammers using advanced captcha technique without requiring users to enter any captcha code. Option for operator set online or offline mode. Desktop client for, Windows, Linux, Mac (you can download here https://livehelperchat.com/article/static/5) Flexible permission system, Roles, Groups, Users Tablet and Mobile friendly older fixes: Here it is the Second Release Candidate for Blesta Live Chat 1.0.4 (you can install/upgrade on 3.1.X or 3.2.X, you will not loose any configurations) Fix: Minor bug detected wen insert javascript with <?include();?> insted of <?php include();?> Added: Shadows to Count Badge like Facebook Badge. Fix: Fixed problem that only afected Firefox and Opera browsers, not displaying Blesta Stats or Blesta Live Chat on the Menu. Fix: Fixed problem that online visitores/chat sessions where still showing on Admin Menu Count Badge. Now it only shows the latest 10 minuts users based on latest activity on site. For this to work you have to be "Online" on "Live Chat" as Staff. Fix: Optimized code to fetch some dinamic paths that could cause errors wen changing Admin or Client Routes. Fix: Now on uninstall/install/upgrade it detects all Admin and Client new Themes and removes/add the code to show the Chat Box Add: Support for Blesta 3.2 new and future themes. Add: Count Menu Badge reformulated to the same as Blesta uses. Add: Now the Count Badge will only show if there is 1 or more users online browsing or chatting. We have changed the badge color to RED to alert and be more visible to staff members. Add: Added PayPal donation link to the Plugin in "Settings->Plugins->Blesta Live Chat". How to Upgrade (if you have alredy installed) (Note: only for 1.0.6 or above): 1º- Download the Blesta Live Chat Plugin here: Download Here (updated 14-04-2015) 2º- Uncompress, and upload the folder "live_chat" to blesta /plugins/ directory. (you will not lose any configurations) 3º- Go to Blesta Admin, and click on Setings->Company->Plugins and it will list the "Blesta Live Chat" plugin, and a new "UPGRADE" button Click on "UPGRADE". This version brings a lot of bugs detected and also brings the XMPP options To configure XMPP justo do: 1º- Login to Blesta Live Chat Click on Menu->Settings->XMPP Settings here you can configure settings. 2º-Login to Blesta Live Chat Click on Menu->Settings->Departments Edit a department->Notifications about new chats here you can configure department push settings. How to install (is very simple): 1º- Download the Blesta Live Chat Plugin here: Download Here (updated updated 14-04-2015) 2º- Uncompress, and upload the folder "live_chat" to blesta /plugins/ directory. 3º- Go to Blesta Admin, and click on Setings->Company->Plugins->Available and it will list the "Blesta Live Chat" plugin, just Click on "INSTALL" 4º- Now you will see on new menu item called "Live Chat", wen you click for the first time, a window will popup to login with the default details: Username: admin Password: pass## 5º- On the popup windows, in top right click on "Menu", and then click on "Blesta Admin", now change the username, email, and password to your own, and click on "Update". And thats it By default on install the Blesta Live Chat plugin, it will also add an "Admin Chat Box" to Blesta Admin, to all Blesta Admins/Staff start chatting, on the bottom right you will see a new button. And also by default, Blesta Live Chat plugin will add a Live Chat Widget to Blesta Client Area for clients request chatting. Now you can click on "Menu" then "Settings" and see all the options, like create departments, add new operators and admins, add "Live Help" embebed code widget to your website pages. This is the first beta plugin release, any bugs found or any susgestions are welcome to post here to fix it. Later on we will add more functionality and more integrations betwin Blesta and Blesta Live Chat. How to uninstall: Go to Blesta Admin, and click on Setings->Company->Plugins and it will list the "Blesta Live Chat" plugin, just Click on "UNINSTALL" Thats it We hope you enjoy it. Special thanks to Remigijus Kiminas from livehelperchat.com that we have based on making the Blesta Live Chat More Info below: Because I have a lot of requests to show a little of the upcoming "Blesta Live Chat" here it is a teaser before the beta release Teaser 1 in Blesta menu admin on Top, you can see how many clients are online requesting chat. and the best thing is on the bottom right, as you can see the "Blesta Live Chat" can be use for staff members and admins to chat with each other online inside Blesta admin. Teaser 2 you can see here admins chat window to chat only with staff members and admins Teaser 3 on bottom right you can see the chat button, you can put the button code inside any website pages, and not only on Blesta. Teaser 4 here you can see an active chat betwin client and staff member Teaser 5 here you can see the window where staff members can acept and chat with all clients, and see all details like geo location, ip, traced page links, send files or canned responses, and much more This plugin will be offered for free, and you can host in your hown server/hosting plan FAQ's: 1º- How To see online visitores do this: Login to Blesta Live Chat -Click on Menu->Online Visitores 2º- How To clean online visitores (if it has an abnormal number on cache like on Blesta Menu) Login to Blesta Live Chat - Click on Menu->Online Visitores->Clear List 3º- How To go in "Offline Mode": Login to Blesta Live Chat - Click on Menu->Green Man (click on the litle green man to go Red (Red=offline)) 4º- How To go in "Online Mode": Login to Blesta Live Chat - Click on Menu->Red Man (click on the litle red man to go Green (Green=online)) We hope you enjoy Regards, PV
  17. Hello, I see there is a lot of talk about new features, bug fixes, etc on CORE-XXXX where can we see the list? its easy for developers implement new functions to blesta if we can see the list P.S- Just to say, Im almost ending a new Plugin called "Blesta Live Chat" and Im offering for free to all "Blestars" (new word invented lol), in a few weeks Thanks in advance,
  18. Hello, We (European), need the folowing functions: 1º- Save on invoice database all client data (name, company, VAT-ID, custum fields, adress, etc.), if the Invoice is "Draft" the custumer or admin can change the details, but if not in "Draft", the admin and client, cant edit any fields for that invoice, or even delet any invoice or transaction for that invoice. 2º- Draft Invoices number must be sequencial and saved also on Invoice Table, and not starting over wen we convert a Draft Invoice to Final Invoice (Open), but must have the sequencial, normal Invoice Numerber that is working OK now on Blesta exemple: Draft Invoice 1 = DRAFT-1000 Final/Open Invoice 1 = INV-3404 (converted from DRAFT-1000) Draft Invoice 2 = DRAFT-1001 Final/Open Invoice 2 = INV-3405 (converted from DRAFT-1001) Draft Invoice 3 = DRAFT-1002 Final/Open Invoice 3 = INV-3406 (converted from DRAFT-1002) etc.. 3º- Always create Draft Invoices wen sending to client renewall or new services for clients, manually or by cron, and then after adding the Payment by client, admin or cron, then convert to final invoice to send to the client along with the recipe of payment. 4º- Show on client side the Draft Invoices (if still in Draft status) for clients to Pay In WHMCS, Hostbill and BoxBilling have that options and a few more, but for now its all we legaly need in Europe to invoice clients correctly Thanks in advance, Paulo
  19. Thanks for the info The new interface its a lot diferent from WHMCS and still a bit confusing for a normal user, but We will change that
  20. Hello, We need to edit the services info for clients, like renew dates,creation date, label, domain, etc.. Best Regards, Paulo
  21. More info for the Blesta Devs to be easier On the table "services" add a new field called for exemple "price_overide", and add thar field on Admin->Clients->Services on all services (including domains). On "Manage" on the "Service Information" add a text field calling the "price_overide" If the filed is null than get the current "Package/Term" price or if we "Upgrade/Downgrade" to outher package, then get always the new "Package/Term" price even if we previsualy, manually changed the "price_overide". If we change manually the price value on the text field "price_overide" and click Save, then use always that price. I hope that help
  22. Just to add more info and a easy solution for the devs implement this easy task On create Package, wen selection a Module, if the Module is a "Domain Registar" have to add some type of verification, or even organize the folder structure of Blesta like: For Domains Registrars: /components/modules/registrars For Server Managment: /components/modules/servers etc.. its easier for devs like me to organize tings then you can validate if its a registrar module, and if so the "Pricing" can show an aditional drop down field called for exemple "Type" with the values: Register Renew Transfer and then, also add anouther extra field called for exemple "Action" with the values: Normal (do the normal pricing) Free (show free for the Type selected) Disable (do not show the Type Option)
  23. Hello, We need the ability to add, only for domains, diferent prices or even offer for a specific type: Register Transfer Renew Its mandatory for every hosting/domain company Best Regards,
×
×
  • Create New...