Then you need to take a look at the code and see how that mod uses sessions. Or ask how to add a custom page at the phpbb-seo support forums.
An let me know the solution if other people ask
Simple portal outside
- Stoker
- Site Admin
- Posts: 3554
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Simple portal outside
Board rules! No PM support
- Tigerman75
- BBCoder III
- Posts: 109
- Joined: 31 Oct 2011, 14:14
- BBCodes: 10
- Favourite MOD: Top Staticts
- Location: Italy
- Contact:
Simple portal outside
Yes ,Thanks very mucht Stoker
Edit:
Stoker ,I did a test by turning off the SEO mods, the problem remains
Edit:
Stoker ,I did a test by turning off the SEO mods, the problem remains
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
- Tigerman75
- BBCoder III
- Posts: 109
- Joined: 31 Oct 2011, 14:14
- BBCodes: 10
- Favourite MOD: Top Staticts
- Location: Italy
- Contact:
Simple portal outside
Solved.Triass wrote:I am Have Mods Seo ultimate url running
I added this code:
Open portal.php:
Search:
Code: Select all
<?php
define('IN_PHPBB', true);
$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();
Code: Select all
if($user->data['is_registered'])
{
//User is already logged in
}
else
{
$username = request_var('username', '', true);
$password = request_var('password', '', true);
$autologin = (!empty($_POST['autologin'])) ? true : false;
$result = $auth->login($username, $password, $autologin);
if ($result['status'] == LOGIN_SUCCESS)
{
//User was successfully logged into phpBB
$redirect = request_var('redirect', "{$phpbb_root_path}index.$phpEx");
// append/replace SID
$redirect = reapply_sid($redirect);
meta_refresh(0, $redirect);
trigger_error('You have been successfully logged in');
}
else
{
//User's login failed
}
}
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/