link on log out
Posted: 27 Apr 2010, 19:51
well alright i made my own custom page and when your loged-in to the forum and click a link like domain.com/rules.php and it logs you out for no reason its my own custom page that i added
Database and Demo for phpBB3 BBCodes, Mods and Smilies
https://phpbb3bbcodes.com/
Code: Select all
<?php
/**
*
* @package phpBB3
* @version $Id: template.php Raimon $
* @copyright (c) 2008 Raimon ( http://www.phpBBservice.nl )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('mods/rules');
// Output page
page_header($user->lang['rules']);
$template->set_filenames(array(
'body' => 'rules_body.html')
);
page_footer();
?>
Code: Select all
'U_FAQ'
Code: Select all
'U_RULESPAGE' => append_sid("{$phpbb_root_path}rules.$phpEx"),
Code: Select all
<a href="{U_RULESPAGE}">Rules</a>
Code: Select all
<a href="{U_RULESPAGE}">Rules</a>