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
BarrySDCA Offline
New Member
 
Posts: 19
Join Date: Dec 2007
How do I remove the logon box? - 17-12-2007, 06:50 PM

I synced supportsuite with hspc. For some reason, users can logon from hsp and then into supportsuite transparently. However, a user entering their logon into supportsuite is always rejected. It's not really a problem because most come through hsp...

what I need to do is remove the logon box, but still show that a user is logged in if indeed they are. How can I do this?

thank you!
   
Reply With Quote
  (#2) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 855
Join Date: May 2005
Location: Henderson, Nevada
17-12-2007, 07:12 PM

Admin CP > Templates > Manage Templates > General > Navbar >


Delete the following code

Code:
<!-- BEGIN LOGIN BOX -->
					  <tr class="tcat">
						<td width="1" align="left"><img src="<{$themepath}>space.gif" width="1" height="21"></td>
						<td width="1" align="left"><img src="<{$themepath}>blockarrow.gif" width="8" height="8"></td>
						<td valign="middle" align="left">&nbsp;<span class="smalltext"><strong><font color="#FFFFFF"><{$language[login]}></font></strong></span></td>
						<td align="right" width="130"><span class="smalltext"><{if $loginsharemodule != 1}>&nbsp;<{else}><a href="index.php?_m=core&_a=lostpassword" id="white"><{$language[lostpassword]}>&nbsp;</a><{/if}></span></td>
					  </tr>

					  <tr>
						<td bgcolor="#F5F5F5" colspan="4"><form name="loginform" action="<{$basepath}>" method="POST"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
						  <tr>
							<td width="46%" class="smalltext"><{if $loginsharemodule != 1}><{$language[loginusername]}><{else}><{$language[loginemail]}><{/if}></td>
							<td width="54%"><input type="text" name="loginemail" class="logintext" value="<{$cookieloginemail}>"></td>
						  </tr>
						  <tr>
							<td class="smalltext"><{$language[loginpassword]}></td>
							<td><input type="password" name="loginpassword" class="loginpassword" value="<{$cookieloginpassword}>"></td>
							</tr>
						  <tr>
							<td class="smalltext"><{$language[loginrememberme]}></td>
							<td><input type="checkbox" name="rememberme" value="1"<{if $cookierememberme == 1}> checked<{/if}>></td>
						  </tr>
						  <tr>
							<td class="smalltext">&nbsp;</td>
							<td><input type="submit" name="Submit2" value="<{$language[login]}>" class="yellowbutton">                          </td>
						  </tr>
						</table><input type="hidden" name="_m" value="core"><input type="hidden" name="_a" value="login"><input type="hidden" name="querystring" value="<{$querystring}>"></form>
						<script language="Javascript">
						document.loginform.loginemail.focus();
						</script>
						</td>
					  </tr>
					  <!-- END LOGIN BOX -->
If you wanna remove the My Account Box this is the box that appears where the login box is when the user is logged in and has the option to change password if you wanna remove that box as well then delete this code as well

Code:
<!-- BEGIN MY ACCOUNT BOX -->

					  <tr class="tcat">
						<td width="1" align="left"><img src="<{$themepath}>space.gif" width="1" height="21"></td>
						<td width="1" align="left"><img src="<{$themepath}>blockarrow.gif" width="8" height="8"></td>
						<td valign="middle" align="left">&nbsp;<span class="smalltext"><strong><font color="#FFFFFF"><{$language[myaccount]}></font></strong></span></td>
						<td align="right" width="130"><span class="smalltext"><font color="#FFFFFF"><a href="index.php?_m=core&_a=logout" id="white"><{$language[logout]}></a>&nbsp;</font></span></td>
					  </tr>

					  <tr>
						<td bgcolor="#F5F5F5" colspan="4"><table width="100%"  border="0" cellspacing="1" cellpadding="2"><tr><td align="left" valign="top">
						<span class="smalltext"><{$language[loggedinas]}><strong><{$_USER[fullname]}></strong></span>
						</td></tr></table>
						</td>
					  </tr>
					  <{if $tgroup[loginapi_moduleid] == 1}>
					  <tr>
						<td bgcolor="#F5F5F5" colspan="4">
						  <div class="navitem" onMouseOver="javascript:this.className='navitemhover';" onMouseOut="javascript:this.className='navitem';"><img src="<{$themepath}>icon_user.gif" align="absmiddle" />&nbsp;<a href="index.php?_m=core&_a=myaccount"><{$language[myaccount]}></a></div>
						  <div class="navitem" onMouseOver="javascript:this.className='navitemhover';" onMouseOut="javascript:this.className='navitem';"><img src="<{$themepath}>icon_lock.gif" align="absmiddle" />&nbsp;<a href="index.php?_m=core&_a=changepassword"><{$language[changepassword]}></a></div>
						  </td>
					  </tr>
					  <{/if}>

					  <!-- END LOGIN BOX -->


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

I'm Important
   
Reply With Quote
  (#3) Old
BarrySDCA Offline
New Member
 
Posts: 19
Join Date: Dec 2007
17-12-2007, 07:47 PM

that worked great, thank you!

Now if I could trouble you for one more thing...

How can I redirect where the 'register' link goes? I prefer it goes to our site, since that's where new accounts are being registered.

thank you!
   
Reply With Quote
  (#4) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 855
Join Date: May 2005
Location: Henderson, Nevada
17-12-2007, 08:00 PM

open /includes/Widgets/widgets.php in a text editor and find

// ======= REGISTER =======
$_widgets[$index]["icon"] = $_SWIFT["themepath"]."register.gif";
$_widgets[$index]["title"] = $_SWIFT["language"]["registerlogin"];
$_widgets[$index]["description"] = $_SWIFT["language"]["desc_register"];
$_widgets[$index]["link"] = "index.php?_m=core&_a=register";
$index++;
}


take the part that says

$_widgets[$index]["link"] = "index.php?_m=core&_a=register";

change it too

$_widgets[$index]["link"] = "http://www.yoursitehere.com";


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

I'm Important
   
Reply With Quote
  (#5) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 855
Join Date: May 2005
Location: Henderson, Nevada
17-12-2007, 08:03 PM

If you like you can even change it so it doesn't say register and instead says "Main Website"

take

$_widgets[$index]["title"] = $_SWIFT["language"]["registerlogin"];

change too

$_widgets[$index]["title"] = "Main Website";

pretty much do the same thing to change the description which is the part that appears under "Register"

take

$_widgets[$index]["description"] = $_SWIFT["language"]["desc_register"];

change too

$_widgets[$index]["description"] = "Click Me I am fun";


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

I'm Important
   
Reply With Quote
  (#6) Old
BarrySDCA Offline
New Member
 
Posts: 19
Join Date: Dec 2007
17-12-2007, 08:40 PM

perfect, thank you!
   
Reply With Quote
  (#7) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 855
Join Date: May 2005
Location: Henderson, Nevada
17-12-2007, 08:41 PM

no problemo


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

I'm Important
   
Reply With Quote
Reply

Tags
box, logon, remove

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
Tickets Ticket views -> Remove CC users from this view eger Feature Requests 6 01-08-2007 01:54 AM
Logon Box - ONLY Quinch SupportSuite, eSupport and LiveResponse 4 02-07-2007 02:57 AM
remove news from autoresponder arsalan Developers & Code 1 31-07-2006 06:29 PM
How can i remove, disable the login box? Mikie SupportSuite, eSupport and LiveResponse 0 29-06-2006 05:47 PM
how to remove some staff links.. php_bug SupportSuite, eSupport and LiveResponse 0 21-03-2006 07:35 PM



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