|shnack ||February 21st, 2008 07:31 PM |
Anonymous login issue after phpbb3 upgrade
I just upgraded to the new Photopost build with phpbb3 support and then upgraded from phpbb2 to phpbb3. I updated the "User Registration System" to phpbb3, changed the "SMF Cookie Name" to the phpbb3 cookie name, and imported/updated the usergroups. everything seems to be working fine except for one small glitch...
Photopost is treating users who are not logged in as if they were logged in under a legitimate account "Anonymous", and are greeted with "Welcome, Anonymous." This lets anyone modify the profile settings for anonymous, and requires the user to first log out in order to log back in as a legitimate user. Even after an anonymous user logs out if they reload the page they are once again logged in as Anonymous. Any ideas? http://www.shnack.com/photopost
|Chuck S ||February 22nd, 2008 06:25 AM |
You need to delete any entries under your usergroups table and properly run the install script to integrate with phpbb3.
|shnack ||February 22nd, 2008 02:41 PM |
When I clear everything from the pp_usergroups table it still shows anonymous users as logged in. I ran the install script, choosing the fresh install option. I made sure to select phpbb3 as the forum type. It seemed to properly import all the usergroups, but the problem still exists.
|Chuck S ||February 22nd, 2008 02:56 PM |
Okay they are logged in as they are a definate user in phpbb3 but they have no permissions though right. You sure its not really an issue with you having a stray cookie in your browser? I would suspect this as your issue as if I visit a site I have not been to I am not logged in.
|shnack ||February 22nd, 2008 03:17 PM |
I allow anonymous users to upload photos with moderation, but aside from that they can't currently do anything (aside from currently being able to edit the Anonymous "profile."
I think it does have something to do with the phpbb3 cookie, but it\'s not a stray cookie/browser thing. It happens on several different browsers on different machines. It seems if I go directly to the gallery after clearing my cache/cookies it loads like it should, but if I go to the forum and then back to the gallery it has me logged in as Anonymous.
|Chuck S ||February 22nd, 2008 03:20 PM |
try seeing which cookies it is pulling but yes the issue is simple as I beleive phpbb has an anonymous user now which is a real user.
|Chuck S ||February 22nd, 2008 03:24 PM |
Yes thats the issue you have a user cookies created in the forum with userid 1 which is a true user try doing this editing your phpbb3.php file and add this in bold
Content visible to verified customers only.
|shnack ||February 22nd, 2008 03:29 PM |
That fixed it! Thank you very much!!
|Chuck S ||February 22nd, 2008 03:30 PM |
No problem glad to help
|All times are GMT -5. The time now is 12:24 AM. || |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0