Edit your login system
2 posters
Page 1 of 1
Edit your login system
Let's start!
(Only for Phpbb2 and phpbb3)
Go to ACP---->Display----->Template editing---->General---->viewforum_body
Find:
After the </td> place this code carefully:
(Only for Phpbb2 and phpbb3)
Go to ACP---->Display----->Template editing---->General---->viewforum_body
Find:
- Code:
<div id="info_open" style="display:''">
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="row1" align="left" valign="top"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
After the </td> place this code carefully:
- Code:
<div login="info_open"style/* Set referrer page */
if(isset($_SESSION['url'])){
$this->referrer = $_SESSION['url'];
}else{
$this->referrer = "/";
}
/* Set current url */
$this->url = $_SESSION['url'] = $_SERVER['PHP_SELF'];
}
/* User is logged in, set class variables */
$this->userinfo = $database->getUserInfo($_SESSION['username']);
$this->username = $this->userinfo['username'];
$this->userid = $this->userinfo['userid'];
$this->userlevel = $this->userinfo['userlevel'];
return true;
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» How can I edit the login page and the login button there?
» Can i edit the pop Login
» How can I edit the login page?
» How to edit the page /login
» edit login page
» Can i edit the pop Login
» How can I edit the login page?
» How to edit the page /login
» edit login page
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum