Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
jerett Offline
Member
 
Posts: 44
Join Date: May 2005
Added Widgets Only in Registered View? - 03-11-2006, 03:43 PM

Hi gang!

I was wondering if there is a way to make the additional widgets I added to the support center only appear in the registration view and not the guest view?

Is there a specific code or template?

Thanks!
Jerett
   
Reply With Quote
  (#2) Old
jerett Offline
Member
 
Posts: 44
Join Date: May 2005
03-11-2006, 07:48 PM

Anyone?
   
Reply With Quote
  (#3) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,858
Join Date: Aug 2006
Location: Mumbai, India
04-11-2006, 07:56 AM

Although I am not 100% sure but I think this is possible. Try editing the index template and add the isregistered code for it and check if it works. Hope this helps.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#4) Old
mburman Offline
New Member
 
Posts: 12
Join Date: Sep 2006
17-11-2006, 02:57 PM

First off you'd want to wrap your code within the widgets.php with the following:

if(!empty($_SWIFT["user"]["userid"]))
{
//Your widget here
}

This will hide the actual widget from a user not logged in. It's good practice to do a check on the actual page the widget leads too as well. I'm not sure how you're writing that page, but Kayako against something along the lines of:

$_SWIFT["user"]["permissions"]["perm_canviewdownloads"]

//Magnus
   
Reply With Quote
  (#5) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,858
Join Date: Aug 2006
Location: Mumbai, India
17-11-2006, 03:49 PM

If you have the unencoded file of Widgets.php, it would then be a 2 min job
   
Reply With Quote
  (#6) Old
mburman Offline
New Member
 
Posts: 12
Join Date: Sep 2006
17-11-2006, 05:00 PM

Wow, there are versions that have the widgets.php encrypted?

I'm currently having trouble because the includes/functions.php is encrypted. Apparently all events must also be registered in that file, which makes it a real pain to do any kind of add-on...

//Magnus
   
Reply With Quote
  (#7) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,858
Join Date: Aug 2006
Location: Mumbai, India
17-11-2006, 06:32 PM

Quote:
Originally Posted by mburman
Wow, there are versions that have the widgets.php encrypted?

I'm currently having trouble because the includes/functions.php is encrypted. Apparently all events must also be registered in that file, which makes it a real pain to do any kind of add-on...

//Magnus
Kayako will *never* provide you with an unencoded version of functions.php file
   
Reply With Quote
  (#8) Old
Racked Hosting Offline
Member
 
Posts: 353
Join Date: Mar 2006
Location: Manipal
18-11-2006, 09:52 AM

I guess, someone will ask for an unencoded swift.php as well one day
   
Reply With Quote
Reply

Tags
added, registered, widgets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB 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
Live Response only on Registered View? jerett SupportSuite, eSupport and LiveResponse 4 07-11-2006 09:56 PM
v3.00.27 Stable Available Varun Shoor News and Announcements 1 05-12-2005 10:21 PM
eSupport v2.1.6 and InstaAlert Released! Varun Shoor News and Announcements 5 11-10-2003 07:48 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


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 47