PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Anonymous login issue after phpbb3 upgrade (http://www.photopost.com/forum/photopost-pro-installation-upgrades/135527-anonymous-login-issue-after-phpbb3-upgrade.html)

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

Code:

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97