Help! Shop Mod Log in problem!


  -----  
Author Message

LifeBlade
Member

Wed Nov 08, 2006 1:03 am   Post subject: Help! Shop Mod Log in problem!
I've installed the shop mod.. but there's a problem.
Whenever i go to the shop page.. it logs me out..

So.. I'll be logged in on my forum. and can post messages.. but if i click on the shop link.. I'll see the page load.. but it'll have the "Log In" link ..

Is there an edit in the code somewhere i was suppose to do.. or something? Help! Please!
 

Thoul
Administrator

Wed Nov 08, 2006 6:56 am   Post subject: re: Help! Shop Mod Log in problem!
Make sure you're using {U_SHOP} to link to the Shop page in overall_header.tpl. If you code it in as <a href="shop.php"..., the link doesn't carry over the session data. You need to use <a href="{U_SHOP}"... instead.
 

LifeBlade
Member

Wed Nov 08, 2006 9:45 pm   Post subject:
Thanks for the Reply!!

lol As soon as you said that.. I jumped cause i thought i finally got a solution.. lol but.. it's not that.. .. mine is directed to {U_SHOP} as it's suppose to be..

Here's the code for the "overall_header.tpl"

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/Xbox360/{T_HEAD_STYLESHEET}" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
   if ( {PRIVATE_MESSAGE_NEW_FLAG} )
   {
      window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
   }
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body background="templates/Xbox360/images/pattern_bkgd.gif" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="1" border="0" align="center">
   <tr>
      <td class="bodyline" align="center">

<table border="0" cellspacing="0" cellpadding="0" width="808" height="100%" bgcolor="FFFFFF">
<tr>
   <td width="54" valign="top" background="templates/Xbox360/images/border_left_bkgd.gif"><img src="templates/Xbox360/images/Xbox360_logo_left.gif" width="54" height="38"></td>
   <td width="100%" height="100%" class="content" align="center" valign="top">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><a href="{U_INDEX}"><img src="templates/Xbox360/images/Xbox360_logo.jpg" border="0"></a></td>
</td>
</tr>

<table width="30%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="21" align="left" valign="top"><img src="templates/Xbox360/images/nav_left.gif" width="21" height="40"></td>
<td align="center" valign="middle" nowrap="nowrap" background="templates/Xbox360/images/nav_bkgd.gif">
<span class="mainmenu"><!-- BEGIN switch_user_logged_out -->
&nbsp;<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>&nbsp;
<!-- END switch_user_logged_out -->
<a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SHOP}" class="mainmenu">{L_SHOP}</a>&nbsp;&nbsp;<a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>&nbsp;&nbsp;<a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a>&nbsp;&nbsp;<a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>&nbsp;&nbsp;<a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>&nbsp;&nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>&nbsp;&nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>&nbsp;</span>
</td>
<td width="21" align="right" valign="top"><img src="templates/Xbox360/images/nav_rite.gif" width="21" height="40"></td>
</tr>
</table>


Hope you can figure it out! lol
 

Thoul
Administrator

Thu Nov 09, 2006 7:07 am   Post subject: re: Help! Shop Mod Log in problem!
Yep, that looks good. There shouldn't be anything in the shop itself that would cause this. Try using the Auto-Cookie mod to check your cookie settings. They may need to be changed.
 

LifeBlade
Member

Thu Nov 09, 2006 10:18 pm   Post subject:
... Still not working..

I clicked on "reset to default" settings.. and cleared my cookies and restarted my browser.. but it still doesn't work..

.. I'm on a localhost right now.. so does that affect it in anyway?... I can post etc without that login problem...
 

Thoul
Administrator

Fri Nov 10, 2006 11:02 am   Post subject: re: Help! Shop Mod Log in problem!
I don't think the localhost thing would be related. It should be working, since posting and all that good stuff does as well. Try replacing your shop.php with a new, unedited copy. It might be damaged somehow.
 

LifeBlade
Member

Sat Nov 11, 2006 2:42 am   Post subject:
well.. Since i've now got my site up and running.. on an online server.. it's working now!.. Wow!! Great Prog!! lol

Thanks for all your help! Very Happy Very Happy Very Happy
 

Thoul
Administrator

Sat Nov 11, 2006 8:30 am   Post subject: re: Help! Shop Mod Log in problem!
Excellent, I'm glad it works properly there. Have fun with it. Smile
 

Page 1 of 1
Display posts from previous: