Setup

Version 8 (Bryan Heath, 08/07/2012 10:09 am)

1 1
h1. Setup
2 1
3 1
This can be used for users and/or staff
4 1
5 8 Bryan Heath
h1. Template
6 8 Bryan Heath
7 8 Bryan Heath
No matter what capacity you use this in you must make sure you have it enabled in your template.
8 8 Bryan Heath
9 8 Bryan Heath
* Login to your admin
10 8 Bryan Heath
* Go to Templates (left bar)
11 8 Bryan Heath
* Click on Groups
12 8 Bryan Heath
* Select your template
13 8 Bryan Heath
* On the window that opens, on the general tab, Use LoginShare
14 8 Bryan Heath
** Change it to yes
15 8 Bryan Heath
16 3 Bryan Heath
h1. Users:
17 1
18 1
* Login to your admin
19 1
* Go to Users
20 1
** Its on the top grey bar under the logo and to the right
21 1
* LoginShare
22 1
** On the bar directly under Users
23 1
* Enable LoginShare
24 1
** Change it to Yes
25 1
* Give it a title
26 1
** For example: Network Login
27 1
* Enter the url to your ldap.php 
28 1
** Example: http://www.mysite.com/kayako/ldap.php
29 1
* Update
30 1
31 3 Bryan Heath
h1. Staff:
32 1
33 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.
34 7 Bryan Heath
35 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.  
36 7 Bryan Heath
Then go to insert team:
37 7 Bryan Heath
http://www.yoursite.com/admin/index.php?/Base/StaffGroup/Insert
38 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.
39 7 Bryan Heath
40 1
* Login to your admin
41 1
* Staff 
42 1
** Its on the top grey bar under the logo
43 1
* LoginShare
44 1
** On the bar and to the right
45 1
* Enable LoginShare
46 1
** Change it to Yes
47 1
* Give it a title
48 1
** For example: Network Login
49 1
* Enter the url to your ldap.php with ?type=staff
50 1
** Example: http://www.mysite.com/kayako/ldap.php?type=staff
51 1
* Update
52 2 Bryan Heath
53 3 Bryan Heath
h1. Optional
54 2 Bryan Heath
55 3 Bryan Heath
h2. Logging
56 2 Bryan Heath
57 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.
58 2 Bryan Heath
59 5 Bryan Heath
h2. Disable Kayako Registration
60 2 Bryan Heath
61 2 Bryan Heath
* Login to your admin
62 2 Bryan Heath
* Widgets 
63 2 Bryan Heath
* Register
64 2 Bryan Heath
* Change to disabled
65 2 Bryan Heath
	
66 3 Bryan Heath
h2. Remove lost password from the template
67 2 Bryan Heath
68 2 Bryan Heath
* Login to your admin
69 2 Bryan Heath
* Templates
70 2 Bryan Heath
* Templates
71 2 Bryan Heath
* General
72 2 Bryan Heath
* Header
73 2 Bryan Heath
* Find and remove (Around the middle):
74 6 Bryan Heath
<pre><div id="logintext"><a href="<{$_baseName}><{$_templateGroupPrefix}>/Base/UserLostPassword/Index"><{$_language[lostpassword]}></a></div></pre>
75 2 Bryan Heath
** Or you can hide it using <!-- -->
76 2 Bryan Heath
* You may also want to remove the ability to change their password to do so find and remove:
77 6 Bryan Heath
<pre><div class="maitem machangepassword" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/UserAccount/ChangePassword');"><{$_language[machangepassword]}></div></pre>
78 2 Bryan Heath
** Or you can hide it using <!-- -->
79 2 Bryan Heath
* Save
80 2 Bryan Heath
		
81 3 Bryan Heath
h2. Change the text on the login box from "Your email address"
82 2 Bryan Heath
83 2 Bryan Heath
* Login to your admin
84 2 Bryan Heath
* Languages
85 2 Bryan Heath
* Phrases
86 2 Bryan Heath
* You want loginenteremail, you can scroll through until you find it or use search
87 2 Bryan Heath
* Change to the text you want (IE Your username)
88 2 Bryan Heath
* Update