Jon, if you're reading this, would this edit work with CDSEO?
Code:
if ($old_login_type == 'C') {
func_header_location($redirect_to."/mynewlogoutpage.php");
// Check for a CDSEO url to redirect back to
if (checkforcdseo_login($HTTP_REFERER) === TRUE) {
func_header_location($HTTP_REFERER, false);
}
/*
elseif (!empty($HTTP_REFERER) && (strncasecmp($HTTP_REFERER, $http_location, strlen($http_location)) == 0 || strncasecmp($HTTP_REFERER, $https_location, strlen($https_location)) == 0)) {
if (strpos($HTTP_REFERER, "mode=order_message") === false &&
strpos($HTTP_REFERER, "mode=wishlist") === false &&
strpos($HTTP_REFERER, "bonuses.php") === false &&
strpos($HTTP_REFERER, "returns.php") === false &&
strpos($HTTP_REFERER, "orders.php") === false &&
strpos($HTTP_REFERER, "giftreg_manage.php") === false &&
strpos($HTTP_REFERER, "order.php") === false &&
strpos($HTTP_REFERER, "register.php?mode=delete") === false &&
strpos($HTTP_REFERER, "register.php?mode=update") === false) {
func_header_location($redirect_to.strrchr(func_qs_remove($HTTP_REFERER, $XCART_SESSION_NAME), "/"), false);
}
}
*/
}
I don't really understand why the "// Check for a CDSEO url to redirect back to" code is important, so I have no idea if this is going to help or hurt.
The reason I would like a logout confirmation: since I have "Rememebr Me" I want to make it clear to customers that may be on a public terminal, that if they logout, they are definitely logged out. A confirmation page is an obvious enhancement.
I was going to make a static embedded page, and exclude it from the help menu (by POS).
Any advice? Am I on the right track?
Thanks!
Jeremy
UPDATE: I did this edit and it seems to work. I added this line to pages_menu.tpl to exclude the static page:
Code:
{if $pages_menu[pg].orderby > 900}
{else}
Works as expected.
Jon: is this going to get in the way of CDSEO? Thanks!
Jeremy