Kayako logo
Style & Design Customizing the look and feel of your support desk? Share thoughts and request assistance here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#16) Old
streagle Offline
Member
 
Posts: 34
Join Date: Aug 2007
Location: Bulgaria
31-08-2007, 10:59 AM

We did it. We ripped off the index.php of the staff section, then modified it to post account information to the index.php of the user section. After that we modified the index.php of the user section to redirect if the user hasn't logged in to our custom login page, and when a user logout, to redirect to it again. It was a pain to do without any documentation but with enough poking around we managed to do it.
   
Reply With Quote
  (#17) Old
craigbrass Offline
Senior Member
 
Posts: 5,391
Join Date: Jun 2005
Location: Cumbria, UK
31-08-2007, 11:51 AM

Glad you got it sorted streagle! Let us know if there is anything further we can help you with.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#18) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,120
Join Date: Jan 2006
Location: United Kingdom
31-08-2007, 08:29 PM

Quote:
Originally Posted by streagle View Post
We did it. We ripped off the index.php of the staff section, then modified it to post account information to the index.php of the user section. After that we modified the index.php of the user section to redirect if the user hasn't logged in to our custom login page, and when a user logout, to redirect to it again. It was a pain to do without any documentation but with enough poking around we managed to do it.
Glad you got there in the end - I understand that the software is quite complex and being without developer documentation makes it a big task to get into the code, but once you do you should find things fairly logical.

If you have a spare moment, I am sure a lot of people would welcome a quick how-to on achieving the functionality you've added to SupportSuite.


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
  (#19) Old
streagle Offline
Member
 
Posts: 34
Join Date: Aug 2007
Location: Bulgaria
03-09-2007, 11:52 AM

We only want to make it more elegant.
Currently we check if the user has logged in with this:

if (is_null($_SWIFT["user"]["userid"]) && !$_POST && !$session->isloggedin)
{
header('location:login.php');exit;
}

Are there some other means of checking if the user is logged in in the index.php some function or something, because we think this is too bruteforce?

Last edited by streagle; 03-09-2007 at 11:55 AM.
   
Reply With Quote
  (#20) Old
Hristo Offline
New Member
 
Hristo's Avatar
 
Posts: 10
Join Date: May 2007
Location: Sofia, Bulgaria
04-09-2007, 11:30 AM

Hi, Jamie.

We sorted this out internally.

Now everything is as I wanted it to be, for a detailed change description see ticket OLN-793215.

Hristo
   
Reply With Quote
Reply

Tags
credentials, index, showing

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



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


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