Pagina 1 din 3

Login error (cred eu)

Scris: 10-Noi-2011, 00:55:01
de w3zoowtf
Problema 1
Ok, am instalat o tema noua, toate bune si frumoase.
Dupa ce ma logez si dau click pe unul din butoanele:

Cod: Selectaţi tot

 Home 	View new posts 	FAQ 	Members List 	Logout 	Profile 	Search
expira login-ul, cand cu 5 secunde in urma tocmai ma autentificasem...

Problema 2
E normal ca link-ul sa fie atat de lung?

Cod: Selectaţi tot

http://w3zoo.ro/forum/index.php?sid=bf6ecd7a975a53ca113bf90667d42773
Si aici ma refer la tot sirul asta:

Cod: Selectaţi tot

sid=bf6ecd7a975a53ca113bf90667d42773

Re: Login error (cred eu)

Scris: 10-Noi-2011, 04:10:03
de bogdan
1. Sterge toate cookie-urile si eventual curata cache-ul forumului

2. Acela e id-ul sesiunii curente (session id)

Re: Login error (cred eu)

Scris: 10-Noi-2011, 09:21:38
de w3zoowtf
bogdan scrie: Sterge toate cookie-urile si eventual curata cache-ul forumului
Asa am facut, am curatat si cache-ul, dar tot ne deconecteaza cum am scris in primul post.
Alta idee ?

Re: Login error (cred eu)

Scris: 10-Noi-2011, 13:35:09
de Dragosvr92
umm.. credeam ca am raspuns acestui subiect :|
Ai incercat sa te loghezi din alt browser?
Poti oferi un cont demo?

Re: Login error (cred eu)

Scris: 11-Noi-2011, 16:05:15
de w3zoowtf
Am incercat si de pe IE, acelas lucru se intampla...
Am creat un cont pentru tine.
Username: Test
PW: 123456

Re: Login error (cred eu)

Scris: 11-Noi-2011, 16:09:57
de Dragosvr92
hmm.. foarte ciudat, poti pune aici fisierul overall_header.html ?
Ma gandesc ca poate link-urile nu or fi variabilele phpBB, gen {U_FAQ} etc, asa ca nu retine sid ul :-??

EDIT:

M-am uitat priin stilul tau si vad ca iti lipsesc urmatoarele linii:

Cod: Selectaţi tot

<script type="text/javascript">
// <![CDATA[
	var T_THEME_PATH  = "./forums/styles/NUME_STIL/theme";
	var jump_page = 'Enter the page number you wish to go to:';
	var on_page = '1';
	var per_page = '18';
	var base_url = './forums/index.php';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '; path=/; domain=.example.com';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	

	/**
	* Find a member
	*/
	function find_username(url)
	{
Ai incercat sa pui alt stil ?
Ai o problema Cu Cookie-urile.

Re: Login error (cred eu)

Scris: 11-Noi-2011, 18:42:06
de w3zoowtf
overall_header

Cod: Selectaţi tot

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- INCLUDE ca_config.html -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
{META}
<title>{SITENAME} - <!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF S_ENABLE_FEEDS -->
	<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/ie7.css" />
<![endif]-->

<link rel="stylesheet" href="./styles/avalon/theme/stil.css" type="text/css" />

<script type="text/javascript">
// <![CDATA[

	var onload_functions = new Array();
	var onunload_functions = new Array();
	var ca_main_width = '{$CA_WIDTH}';

<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">
<table width="100%" class="cat" border="0" cellspacing="0" cellpadding="0">
  <tr>

   


		<table width="100%" align="center" cellpadding="0" cellspacing="0">
	
			<td align="center"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
		
		</table>

</div>

<div id="wrapcentre">

<div id="datebar"><table width="120%" border="0" align="center" cellpadding="0" cellspacing="0" style="width:100%;">
  <tr>
    <td class="sub"><table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="background: url(http://img338.imageshack.us/img338/7344/subm.png) repeat;
white-space: nowrap;">
      <tr align="center"> 
			    
			   
				 
                <td width="10%" class="sub_nav"><a href="index.php" class="style1" rel="nofollow"style="color:#FFFFFF"><strong>Home</a></td>
                
				
				
				<td width="12%" class="vbmenu_control"><a href="search.php?search_id=newposts" style="color:#FFFFFF"><strong>View new posts</strong></a></td> 
				<td width="7%" class="sub_nav"><a href="faq.php" class="style1" accesskey="5"style="color:#FFFFFF"><strong>FAQ</a></td>
                <td width="22%" class="sub_nav"><a href="memberlist.php" class="style1" style="color:#FFFFFF"><strong>Members List</a></td>
				<td width="15%" class="sub_nav">	<!-- IF S_USER_LOGGED_IN -->
				  <span class="sub_nav"><a href="{U_LOGIN_LOGOUT}" class="style1"style="color:#FFFFFF"><strong>Logout</a>
				  <!-- ELSE -->
			    <a href="{U_REGISTER}"accesskey="4" rel="nofollow"style="color:#FFFFFF"><strong>Register</strong></a></span>				  <!-- ENDIF --></td>
                  
                 
                <td width="21%" class="sub_nav"><a href="ucp.php" class="style1" accesskey="2"style="color:#FFFFFF"><strong>Profile</a></td>

                 
                <td width="13%" class="sub_nav" id="navbar_search"><span class="style1"><a href="search.php" accesskey="4" rel="nofollow"style="color:#FFFFFF"><strong>Search</a> 
                   
                <script type="text/javascript"> vbmenu_register("navbar_search"); </script>                
                </span></td>
            </tr>
        </table></td>
  </tr>

  
</table>

<table width="100%" cellspacing="0">
		<tr>
			<td class="gensmall">&nbsp;</td>
		  <td class="gensmall" align="{S_CONTENT_FLOW_END}">&nbsp;</td>
	  </tr>
	</table>
  </div>



<div id="wrapcentre">
  <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
    <form method="post" action="{S_LOGIN_ACTION}">

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
	</tr>
	<tr>
		<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

	<!-- INCLUDE breadcrumbs.html -->
<br></br>

La alt stil ramane salvata sesiunea de log-in...






Re: Login error (cred eu)

Scris: 11-Noi-2011, 20:55:02
de Dragosvr92
Mda... Era exact cea ce am crezut.
Vrei neaparat sa folosesti acest Stil?

Este incredibil de prost facut, si ii lipsesc o gramada de lucruri... Imi vine sa il strang de gat pe autor :lol:
Iti recomand sa cauti alt stil pentru 3.0.9, si sa actualizezi si versiunea forumului in 3.0.9.

Re: Login error (cred eu)

Scris: 14-Noi-2011, 00:53:25
de w3zoowtf
TheKiller scrie:Mda... Era exact cea ce am crezut.
Vrei neaparat sa folosesti acest Stil?

Este incredibil de prost facut, si ii lipsesc o gramada de lucruri... Imi vine sa il strang de gat pe autor :lol:
Iti recomand sa cauti alt stil pentru 3.0.9, si sa actualizezi si versiunea forumului in 3.0.9.
Asta l-am ales din toate temele , chiar luandu-le la rand pe fiecare.
Nu se poate modifica asta?
E o problema daca nu actualizez versiunea forumului ?

Re: Login error (cred eu)

Scris: 14-Noi-2011, 01:15:10
de Dragosvr92
Ba da, se poate modifica, dar as prefera sa folosesti un stil bine scris.
In opinia mea autorul stilului ar cam trebui spanzurat pentru stilul asta :lol: