Hi there, since a week I was having the same problem.
The fix shown here http://punbb.informer.com/forums/post/124057/#p124057 works.
Is this fix safe ? No problem using it ?
Can I just do that without taking care of anything else ?
Thanks
1 2011-01-20 11:27
Re: Users reporting logging in problem (41 replies, posted in PunBB 1.3 bug reports)
2 2010-09-16 09:49
Re: phpBB message import and rank images (3 replies, posted in PunBB 1.3 discussion)
Thanks
3 2010-09-16 09:48
Re: PhpBB3 to PunBB 1.3.4 migration tool (15 replies, posted in PunBB 1.3 additions)
I have an old phpBB3 forum that contains 60 messages.
Is there any way to import them in my existing punBB ?
4 2010-09-16 09:30
Topic: phpBB message import and rank images (3 replies, posted in PunBB 1.3 discussion)
Hi there.
Two questions :
1.
I have an old phpBB3 forum that contains 60 messages.
Is there any way to import them in my existing punBB ?
2.
Is there any way to attribute a special image to moderators under their avatar ?
Many thanks
5 2010-08-18 16:12
Topic: Using PHP in template file (1 replies, posted in PunBB 1.3 troubleshooting)
Hi there,
Any way to use PHP in the template file MAIN.TPL ?
Thanks
6 2010-08-18 14:11
Re: website + punBB : 1 register form, 2 accounts. How to handle it ? (3 replies, posted in PunBB 1.3 troubleshooting)
Thanks !
7 2010-08-18 13:25
Re: website + punBB : 1 register form, 2 accounts. How to handle it ? (3 replies, posted in PunBB 1.3 troubleshooting)
Well, I'm done.
I still have a problem. When I call the common.php file, I get this message :
Unable to confirm security token. A likely cause for this is that some...
??
8 2010-08-18 12:02
Topic: website + punBB : 1 register form, 2 accounts. How to handle it ? (3 replies, posted in PunBB 1.3 troubleshooting)
Hi there,
I've just discovered punBB and must assume it ROCKS !
I have a self-developped website with a self-developped user area (if only I had knew before that punBB could handle a member area with login.........).
I got a lot of members. Impossible to recode my user area to go for punBB on the website, too many things to change.
I've installed a punBB 1.3 in a /forum/ folder and deactivated registering on forum.
When a user register to my website, I add a line in the "users" table of punBB so that he has in a single register two acounts with the same login/pass : one for the website, one for the forum. (This line is created by a INSERT INTO self-coded query, I don't use the "common.php" file).
Everything works well BUT.... once registered, the new member has to login to both website and forum. I would like to log the member to both website and forum just by filling the login form of the website.
My questions :
1- How are sessions handled by punBB ? Cookie only or cookie + $_SESSION ?
2- How could I create a punBB compilant cookie for my system to work ?
Here is what I've added to my own login system :
When the user is logged in and verified :
function forum_setcookie($name, $value, $expire)
{
global $cookie_path, $cookie_domain, $cookie_secure;
// Enable sending of a P3P header
header('P3P: CP="CUR ADM"');
if (version_compare(PHP_VERSION, '5.2.0', '>='))
setcookie($name, $value, $expire, $cookie_path, $cookie_domain, $cookie_secure, true);
else
setcookie($name, $value, $expire, $cookie_path.'; HttpOnly', $cookie_domain, $cookie_secure);
}
//
// Set a cookie, FluxBB style!
// Wrapper for forum_setcookie
//
function pun_setcookie($user_id, $password_hash, $expire)
{
global $cookie_name, $cookie_seed;
forum_setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash), $expire)), $expire);
}
$expire = ($save_pass == '1') ? time() + 1209600 : time() + $pun_config['o_timeout_visit'];
pun_setcookie(2, $form_password_hash, $expire);
}
And nothing happens Any idea why ?
Any help really appreciated
THANKS !