Kayako Logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#31) Old
Sheep Offline
Member
 
Sheep's Avatar
 
Posts: 326
Join Date: Feb 2007
Location: Lyon, France

SupportSuite
Owned License
03-08-2007, 02:38 PM

Quote:
Mod tested with 3.11, works fine.
To get the good formating use this "patch"
Code -> strip_tags is such a pain


Antoine "Sheep" BERMON
-- I left kayako's community: do NOT contact me for job offers, thx --
   
Reply With Quote
  (#32) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
03-08-2007, 03:24 PM

Sweet...I'll try this once I update to 3.11.00. Thanks again Antoine.


Mehul
Siora Solutions Inc.
www.SioraONE.com
www.sioraIT.com
   
Reply With Quote
  (#33) Old
sws Offline
Member
 
Posts: 42
Join Date: Aug 2006

09-08-2007, 01:16 AM

Thanks for fixing the KB / Predefined Insert..

Just upgraded to latest release and working a treat
   
Reply With Quote
  (#34) Old
PeteV Offline
Member
 
Posts: 190
Join Date: Jul 2007

eSupport
Hosted License

09-08-2007, 04:05 AM

Just for head count: We would be interested too, but we are currently still evaluating eSupport and therefore are using hosted eSupport for now.

Also, I suspect that a number of people who requested HTML email are not checking the forums too often. Perhaps (more) time will tell how many people are interested.

PeteV.
   
Reply With Quote
  (#35) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
10-08-2007, 12:06 AM

1. For Sheeps modification here did anybody add the ";" after the bracket or is that an error? I tried his mod of the main.js file and it screwed up my desk. Is it to be done the way he stated or is something missing?

2. When you insert the KB article now it looks good however when you hit "send" and then go back and view the ticket it is displayed in plain text making it unreadable. Has anyone else experienced this and how did you fix it if you did?


Mehul
Siora Solutions Inc.
www.SioraONE.com
www.sioraIT.com

Last edited by Siora : 10-08-2007 at 12:11 AM.
   
Reply With Quote
  (#36) Old
sws Offline
Member
 
Posts: 42
Join Date: Aug 2006

10-08-2007, 01:01 AM

Not sure if its an error or not, but my file has it and I have no javascript errors, it works well ?

Code:
function autoInsertPR(predefinedreplyid) {
	fetchData("pr", predefinedreplyid);
xmlhttp.onreadystatechange  = function()
        { 
         if(xmlhttp.readyState  == 4)
         {
              if(xmlhttp.status  == 200) 
                 editor.setHTML(editor.getHTML()+xmlhttp.responseText);
         }
        };  


	return true;
}

function autoInsertTP(ticketpostid, fetchtype) {
   
Reply With Quote
  (#37) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
10-08-2007, 01:14 AM

I have the same but when I go to use it characters disappear on buttons and text changes to weird characters.

EDIT: Weird, I just reloaded my modded main file and it seems to be working (that is the errors are gone).

When you insert a predifined KB article using the WYSWYG editor and then hit send, how is the contents stored when you go and view the ticket (HTML/plain text)

I also get an error on page when trying to input a predefined reply (the reply does not insert). Anyone else get this?


Mehul
Siora Solutions Inc.
www.SioraONE.com
www.sioraIT.com

Last edited by Siora : 10-08-2007 at 01:27 AM.
   
Reply With Quote
  (#38) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
10-08-2007, 01:22 PM

When creating the new php file and adding to the config.php file I get the attached error. I haven't even started modding the 18 occurences yet and this is what happens when trying to log into the admin/staff CP. It doesn't even allow me to login. If I comment out the require once statement from the config.php file i can login and the error disappears. I put the line right before the ?>. Is this where you guys put it?
Attached Images
File Type: bmp PHPEnhanced Error.bmp (536.2 KB, 15 views)


Mehul
Siora Solutions Inc.
www.SioraONE.com
www.sioraIT.com
   
Reply With Quote
  (#39) Old
ITMNETWORKS Offline
New Member
 
Posts: 12
Join Date: Aug 2007
Location: Brazil

SupportSuite
Owned License
Work in Kayako 3.11.00 ? - 12-08-2007, 04:18 AM

Quote:
Originally Posted by sws View Post
MOD NOW DONE, FULLY WORKING AND IN CONSTANT USE

Please read my new post below

including instructions on how to integrate the WYSIWYG Edittor back into Kayako !!!
Hi,

This is work in Kayako 3.11.00 ?

Tks,


---------------------------------
[]īs Rodrigo Adr Araujo
http://www.ITMNETWORKS.com.br
   
Reply With Quote
  (#40) Old
craigbrass Offline
Senior Member
 
Posts: 4,947
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
12-08-2007, 09:50 AM

Look up ^

Quote:
Mod tested with 3.11, works fine.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#41) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
14-08-2007, 12:39 AM

What sucks is that when you create a new ticket, insert a nicely formatted article then hit send, the ticket contents is stored as unreadable HTML instead of the nicely formatted article. This basically makes it impossible for my staff to go back to previous tickets to see how problems were solved.

Anyone else notice this as well?


Mehul
Siora Solutions Inc.
www.SioraONE.com
www.sioraIT.com
   
Reply With Quote
  (#42) Old
ITMNETWORKS Offline
New Member
 
Posts: 12
Join Date: Aug 2007
Location: Brazil

SupportSuite
Owned License
Because Kayako Staff not add this in Original Package ? - 14-08-2007, 02:49 AM

Hi,

Because Kayako not implement WYSIMYG Html Editor in original Kayako ticket pakage to look and write tickets ?


---------------------------------
[]īs Rodrigo Adr Araujo
http://www.ITMNETWORKS.com.br
   
Reply With Quote
  (#43) Old
Sheep Offline
Member
 
Sheep's Avatar
 
Posts: 326
Join Date: Feb 2007
Location: Lyon, France

SupportSuite
Owned License
14-08-2007, 10:18 AM

Quote:
What sucks is that when you create a new ticket, insert a nicely formatted article then hit send, the ticket contents is stored as unreadable HTML instead of the nicely formatted article. This basically makes it impossible for my staff to go back to previous tickets to see how problems were solved.

Anyone else notice this as well?
You need my patch to correct the html display it's working well for me.
(as said in PM i'll send you my code this evening)


Antoine "Sheep" BERMON
-- I left kayako's community: do NOT contact me for job offers, thx --
   
Reply With Quote
  (#44) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,238
Join Date: Apr 2007
Location: Toronto Canada

SupportSuite
Owned License
14-08-2007, 11:41 AM

Quote:
Originally Posted by Sheep View Post
You need my patch to correct the html display it's working well for me.
(as said in PM i'll send you my code this evening)
Thanks Sheep, you the man. You should really look at creating modules for Kayako users for money...it could be a good side business for you. You've already earned many members' trust.


Mehul
Siora Solutions Inc.
www.SioraONE.com
www.sioraIT.com
   
Reply With Quote
  (#45) Old
Sheep Offline
Member
 
Sheep's Avatar
 
Posts: 326
Join Date: Feb 2007
Location: Lyon, France

SupportSuite
Owned License
14-08-2007, 08:55 PM

Okay, here we go

staff_ajax.php
PHP Code:
echo strip_tags_except($_kb["contents"],$_SWIFT["settings"]["pr_allowabletags"]); 
functions_ticketmain.php
PHP Code:
   $_posts[$dbCore->Record["ticketpostid"]]["contentstext"] = strip_tags_except($dbCore->Record["contents"],$_SWIFT["settings"]["pr_allowabletags"]);
 
   return 
getProcessedHTML(strip_tags_except($content,$_SWIFT["settings"]["pr_allowabletags"])); 
functions_clientkb.php
PHP Code:
    $kbarticlelist[$dbCore->Record["kbarticleid"]]["contents"] = strip_tags_except(substr($dbCore->Record["contents"], 0$_SWIFT["settings"]["kb_climit"]),$_SWIFT["settings"]["pr_allowabletags"]); 
I think that it's all that needs to be modified for the tickets.

And here is my settings for the mail parser strip tags:
a;b;i;u;font;hr;strong;p;br

I hope it'll work now


Antoine "Sheep" BERMON
-- I left kayako's community: do NOT contact me for job offers, thx --
   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outgoing HTML Emails Need Staff To Code HTML in Tickets? Elite SupportSuite, eSupport and LiveResponse 7 08-01-2008 07:51 PM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46