Setup

Version 7 (Bryan Heath, 06/22/2012 01:10 pm)

1 1
h1. Setup
2 1
3 1
This can be used for users and/or staff
4 1
5 3 Bryan Heath
h1. Users:
6 1
7 1
* Login to your admin
8 1
* Go to Users
9 1
** Its on the top grey bar under the logo and to the right
10 1
* LoginShare
11 1
** On the bar directly under Users
12 1
* Enable LoginShare
13 1
** Change it to Yes
14 1
* Give it a title
15 1
** For example: Network Login
16 1
* Enter the url to your ldap.php 
17 1
** Example: http://www.mysite.com/kayako/ldap.php
18 1
* Update
19 1
20 3 Bryan Heath
h1. Staff:
21 1
22 7 Bryan Heath
In order for you to have Staff integration you need to have a valid AD group in which the users must be in and a valid Kayako staff team for them to be a part of.  The reason for this is if not setup this way then anyone could login to the staff area.
23 7 Bryan Heath
24 7 Bryan Heath
One way you can handle this is to create a AD group called Kayako Staff and put all the users you want to access the staff area into it.  
25 7 Bryan Heath
Then go to insert team:
26 7 Bryan Heath
http://www.yoursite.com/admin/index.php?/Base/StaffGroup/Insert
27 7 Bryan Heath
And add a new team, for example Staff.  Now when you get the $staff_groups = array('Group' => 'Staff'); part of the required configuration settings it will make more sense.
28 7 Bryan Heath
29 1
* Login to your admin
30 1
* Staff 
31 1
** Its on the top grey bar under the logo
32 1
* LoginShare
33 1
** On the bar and to the right
34 1
* Enable LoginShare
35 1
** Change it to Yes
36 1
* Give it a title
37 1
** For example: Network Login
38 1
* Enter the url to your ldap.php with ?type=staff
39 1
** Example: http://www.mysite.com/kayako/ldap.php?type=staff
40 1
* Update
41 2 Bryan Heath
42 3 Bryan Heath
h1. Optional
43 2 Bryan Heath
44 3 Bryan Heath
h2. Logging
45 2 Bryan Heath
46 4 Bryan Heath
If you plan to use logging you must make the ldap/log directory writable (755 or 777).  Honestly I would just do it just in case.
47 2 Bryan Heath
48 5 Bryan Heath
h2. Disable Kayako Registration
49 2 Bryan Heath
50 2 Bryan Heath
* Login to your admin
51 2 Bryan Heath
* Widgets 
52 2 Bryan Heath
* Register
53 2 Bryan Heath
* Change to disabled
54 2 Bryan Heath
	
55 3 Bryan Heath
h2. Remove lost password from the template
56 2 Bryan Heath
57 2 Bryan Heath
* Login to your admin
58 2 Bryan Heath
* Templates
59 2 Bryan Heath
* Templates
60 2 Bryan Heath
* General
61 2 Bryan Heath
* Header
62 2 Bryan Heath
* Find and remove (Around the middle):
63 6 Bryan Heath
<pre><div id="logintext"><a href="<{$_baseName}><{$_templateGroupPrefix}>/Base/UserLostPassword/Index"><{$_language[lostpassword]}></a></div></pre>
64 2 Bryan Heath
** Or you can hide it using <!-- -->
65 2 Bryan Heath
* You may also want to remove the ability to change their password to do so find and remove:
66 6 Bryan Heath
<pre><div class="maitem machangepassword" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/UserAccount/ChangePassword');"><{$_language[machangepassword]}></div></pre>
67 2 Bryan Heath
** Or you can hide it using <!-- -->
68 2 Bryan Heath
* Save
69 2 Bryan Heath
		
70 3 Bryan Heath
h2. Change the text on the login box from "Your email address"
71 2 Bryan Heath
72 2 Bryan Heath
* Login to your admin
73 2 Bryan Heath
* Languages
74 2 Bryan Heath
* Phrases
75 2 Bryan Heath
* You want loginenteremail, you can scroll through until you find it or use search
76 2 Bryan Heath
* Change to the text you want (IE Your username)
77 2 Bryan Heath
* Update