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
  (#1) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
little help with customization plz - 18-04-2008, 11:23 AM

Hi


We got SupportSuite and need to customize it a little. And I need a little help, if things what we need are possible or not. I check a lot of posts on this forum, and also try some of them. We need to make most of changes on Support center.


Our company got 4 products on which we need to customize our services. In one post I find that in registration process, you can register to specific department. Is it possible to create categories of products, which will make also automatic subscription to newsletter (and for news module made subscription to specific product – that owner of this product will receive news about subscripted product).


Also we need to make special partners section, for our distributors, with special informations… In this case I tried to create new module “helloworld” but I need to know if it’s possible to create there downloads and knowledgebase functionality. I created group “partners” but I can’t see that module in “manage groups – group partners” - to set permissions for view for this group.


Another thing, if it’s possible… we give one year assurance to every our product. And we need to send some automated mail through support system to client 2 weeks before assurance expiration. I was trying to test it trough “due to send mail” but it’s not effective.
So and I wanna ask if you got some list of all modules or addons to kayako also created by users. It’s not important if they are for free or for sell.


Thanks a lot (if I find something else I post it later)

i forget, we are using Kayko SupportSuite v3.20.02

Last edited by Jan Alchus : 18-04-2008 at 11:53 AM.
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 4,341
Join Date: Jan 2006
Location: UK

SupportSuite
Owned License

18-04-2008, 11:24 AM

Hi Jan,

I have moved your thread to the Developers and Code forum.

Thanks,


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#3) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
29-04-2008, 11:21 AM

I have done some of things from my questions. We made another copy of Kayako under kayako now it’s www.site.com/support/partners, so another support suite for partners zone. I need to know how can I set loginshare to this. When someone log into root installation of Kayako and the “partner” want to go to partner zone of kayako, that he will stay loged.
   
Reply With Quote
  (#4) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
29-04-2008, 11:25 AM

Then another question. After creating new module with tutorial “creating module halloworld”, I want to ask how can set permissions to this module. That only one specific group can enter this part. There is nothing in group settings.
Attached Images
File Type: jpg user_groups.JPG (74.4 KB, 19 views)
   
Reply With Quote
  (#5) Old
Pat H Offline
New Member
 
Pat H's Avatar
 
Posts: 9
Join Date: May 2007
Location: Canada

eSupport
Owned License
30-04-2008, 03:15 PM

Quote:
Originally Posted by Jan Alchus View Post
Then another question. After creating new module with tutorial “creating module halloworld”, I want to ask how can set permissions to this module. That only one specific group can enter this part. There is nothing in group settings.
Ditto!

I've developed a bunch of staff modules for administrating a dedicated server backend, but now I'm working on the client frontend (widgets) and need a way to set permissions... ideally per user, but I can make it work with groups if need be.
   
Reply With Quote
  (#6) Old
Pat H Offline
New Member
 
Pat H's Avatar
 
Posts: 9
Join Date: May 2007
Location: Canada

eSupport
Owned License
30-04-2008, 05:21 PM

Nevermind, got it working by modifying the following files for my "example" module:

includes/Widgets/widgets.php

PHP Code:
// ======= EXAMPLE MODULE =======
if ($module->isRegistered(MODULE_EXAMPLE) && $_SWIFT["user"]["permissions"]["perm_canviewexample"] != "0")
{
    
$_widgets[$index]["icon"] = $_SWIFT["themepath"]."example.gif";
    
$_widgets[$index]["title"] = $_SWIFT["language"]["example"];
    
$_widgets[$index]["description"] = $_SWIFT["language"]["desc_example"];
    
$_widgets[$index]["link"] = "index.php?_m=example&_a=view";

    
$template->assign("cansearch"true);
    
$template->assign("dlcansearch"true);

    
$index++;

locale/en-us/staff_userpermissions.php
PHP Code:
 // ======= EXAMPLE MODULE =======
    
'perm_'.MODULE_EXAMPLE => 'Permissions: Example',
    
'perm_canviewexample' => 'Can View Example Widget'
modules/core/config_userpermissions.php

PHP Code:
    MODULE_EXAMPLE => array (
        
"perm_canviewexample",
    ), 
modules/example/example.php

PHP Code:
if (!defined("INSWIFT")) {
    
trigger_error("Unable to process $PHP_SELF"E_USER_ERROR);
}

// ======= PERMISSION CHECK =======
if ($_SWIFT["user"]["permissions"]["perm_canviewexample"] == "0" || $_SWIFT["settings"]["ex_enableclient"] == "0")
{
    
$template->assign("errormessage"$_SWIFT["language"]["perminvalid"]);
    echo 
$template->displayTemplate("header");
    echo 
$template->displayTemplate("footer");
    exit;

You can then change the permissions under Kayako -> Users -> Manage Groups and enable the "example" module or disable it. It works perfectly, but if anyone knows how to make this work per user (email) that would be awesome!
   
Reply With Quote
  (#7) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
06-05-2008, 08:03 AM

Thanks a lot, ot works !!!
but all texts to this module gone, so i go check to find this problem.
Attached Images
File Type: jpg text.JPG (5.8 KB, 14 views)
   
Reply With Quote
  (#8) Old
Pat H Offline
New Member
 
Pat H's Avatar
 
Posts: 9
Join Date: May 2007
Location: Canada

eSupport
Owned License
06-05-2008, 01:23 PM

Quote:
Originally Posted by Jan Alchus View Post
Thanks a lot, ot works !!!
but all texts to this module gone, so i go check to find this problem.
Take a look at your widget.php file for the module, you should have two lines (for example):

PHP Code:
$_widgets[$index]["title"] = $_SWIFT["language"]["example"];
$_widgets[$index]["description"] = $_SWIFT["language"]["desc_example"]; 


Login to Kayako Admin area and click on Languages then Manage Phrases and finally click on Insert Phrase. Then for the identifier put in example and for the text the name of the widget, then go back and repeat the same process for
desc_example.

Here's what my module language examples looks like:

PHP Code:
$_widgets[$index]["title"] = $_SWIFT["language"]["mrtg"];
$_widgets[$index]["description"] = $_SWIFT["language"]["desc_mrtg"]; 

This is how they look in Kayako:

MRTG Graphs
View the bandwidth graphs for your dedicated server.

Last edited by Pat H : 06-05-2008 at 01:28 PM.
   
Reply With Quote
  (#9) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
12-05-2008, 01:50 PM

thanks a lot. it's working fine.
   
Reply With Quote
  (#10) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
22-05-2008, 02:11 PM

i got another problem, i dunno why but when i want to submit ticket, priority bar is clear ( see picture).

and another one. when i want to relog in customer view, i can't. i find, that if i delete private data in web browser, i can relog on another user but after i need to clear that data again to log me. it looks like cookies expiration problem, but when i check them all got expiration after logout session.

can u help plz ??
Attached Images
File Type: jpg priority.JPG (12.1 KB, 9 views)

Last edited by Jan Alchus : 23-05-2008 at 07:22 AM.
   
Reply With Quote
  (#11) Old
Jan Alchus Offline
New Member
 
Jan Alchus's Avatar
 
Posts: 12
Join Date: Feb 2008

Owned License
problem solved - 26-05-2008, 01:43 PM

with menu: i forget to set priority to template group ( admin CP >> Tickets >> Manage Priorities >> edit >> Template Groups )

witch login: i set Restrict Users Group to yes, so user from anither group can't relogin. After setting no, everything is working fine.
   
Reply With Quote
  (#12) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 834
Join Date: May 2005
Location: Henderson, Nevada

SupportSuite
Owned License

27-05-2008, 05:06 AM

Quote:
Originally Posted by Pat H View Post
Nevermind, got it working by modifying the following files for my "example" module:

includes/Widgets/widgets.php

PHP Code:
// ======= EXAMPLE MODULE =======
if ($module->isRegistered(MODULE_EXAMPLE) && $_SWIFT["user"]["permissions"]["perm_canviewexample"] != "0")
{
    
$_widgets[$index]["icon"] = $_SWIFT["themepath"]."example.gif";
    
$_widgets[$index]["title"] = $_SWIFT["language"]["example"];
    
$_widgets[$index]["description"] = $_SWIFT["language"]["desc_example"];
    
$_widgets[$index]["link"] = "index.php?_m=example&_a=view";

    
$template->assign("cansearch"true);
    
$template->assign("dlcansearch"true);

    
$index++;

locale/en-us/staff_userpermissions.php
PHP Code:
 // ======= EXAMPLE MODULE =======
    
'perm_'.MODULE_EXAMPLE => 'Permissions: Example',
    
'perm_canviewexample' => 'Can View Example Widget'
modules/core/config_userpermissions.php

PHP Code:
    MODULE_EXAMPLE => array (
        
"perm_canviewexample",
    ), 
modules/example/example.php

PHP Code:
if (!defined("INSWIFT")) {
    
trigger_error("Unable to process $PHP_SELF"E_USER_ERROR);
}

// ======= PERMISSION CHECK =======
if ($_SWIFT["user"]["permissions"]["perm_canviewexample"] == "0" || $_SWIFT["settings"]["ex_enableclient"] == "0")
{
    
$template->assign("errormessage"$_SWIFT["language"]["perminvalid"]);
    echo 
$template->displayTemplate("header");
    echo 
$template->displayTemplate("footer");
    exit;

You can then change the permissions under Kayako -> Users -> Manage Groups and enable the "example" module or disable it. It works perfectly, but if anyone knows how to make this work per user (email) that would be awesome!


Interesting I followed these instructions for my Module and isn't working :'( the Enable/Disable option appears in the Staff CP > Users > Manage Groups > Guest but if I disable the widget when I go to the Support Center the widget is still there :'(


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.biz
MSN: Steve.Lawrence@Digital-Mayhem.biz
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
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
How do I questions about KB article customization and template customization Aaron How do I? 0 06-11-2007 06:49 PM
My customization Terry01 Developers & Code 10 19-09-2007 10:51 PM
Logo customization for eSupport vermorel Style & Design 2 21-05-2007 07:34 PM
SoftAir customization User Name Marketplace 2 16-05-2006 04:14 AM
How to use kayako flash tutorial with your customization jc11 Developers & Code 0 19-01-2006 04:48 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