Posted: Fri Oct 19, 2007 12:09 am Post subject: Almost done
Have most everything working now - memberlist, view profile, view topic, posting and the basic integration. Everything but the image selector seems to be fully functional. Have the image selector partially working. It's returning double host data in the url on one test machine and no images on another test machine, so a couple issues left with it. It's been a pain in the rear from day one, but shouldn't take much to sort out the rest of it. Then I'll probably test things for a little while and make some tweaks and changes, especially to make things look better with prosilver.
Posted: Tue Dec 18, 2007 6:23 pm Post subject: Re: Almost done
Would you need a hand at all ? Happy to know It'll come out right soon, I have also installed the Intergrate G2 for RC7 on phpbb3 Gold just to see how it works and to compare to the other mods on phpbb site or copper. I also got some problems but I don't borther to ask for help until up coming released,as I can tell so far It's super, rich in features than any other mods currently dev. Thank you for good work.
Posted: Tue Dec 18, 2007 8:46 pm Post subject: Re: Almost done
The current release should work with gold. There are some issues with roles/groups/user permissions that are being worked on, otherwise it should work.
Posted: Tue Dec 18, 2007 9:23 pm Post subject: Re: Almost done
I just want to introduce myself by saying WoW, thanks for the awesome mod. You've put a lot of love into this thing, it's obvious. Thanks for sharing.
jettyrat wrote: › The current release should work with gold. There are some issues with roles/groups/user permissions that are being worked on, otherwise it should work.
I tested the integration today with phpBB3 gold and Gallery 2.2.3. The issues with roles/groups/permissions are pretty serious.
Most of the integration works, the embedded Gallery 2 seems to be able to tell the difference between a registered phpBB3 user and a guest. But Gallery 2's "Registered Users" special group's permissions don't work. None of the permissions applied to that group allow phpBB3 users to do things. You can set "All Access" for the group "Everybody", and then everything works, but then everything works for everybody, even guests. You can't set real permissions for "Registered Users" or "Site Admins" that work, because permissions set to those groups don't seem to affect anything.
For that reason, I'm not sure that I would recommend using this mod as-is with phpBB3 gold, since whole point is to allow registered phpBB3 users to do things that "Everybody" can't do.
If I can provide any testing information about my setup then I'm happy to do that. I'm also trying to find the problem myself, and even vague pointers in the right general direction would be much appreciated.
Posted: Tue Dec 18, 2007 10:18 pm Post subject: Re: Almost done
The permissions I'm talking about are admin permissions where role/group/user permissions are involved. I'm not following what you are talking about. The integration does not influence gallery's own internal permission scheme. There are also some other issues with groups between phpbb3 and gallery that have already been discussed on this forum which are fixed in the next release.
What gallery registered user permissions are you talking about? Registered users can create albums, add photos, delete, etc. that everybody cannot do. These are gallery permissions.
Posted: Wed Dec 19, 2007 6:08 am Post subject: Re: Almost done
Hi Jellyrat, thanks for the response! You must be a busy guy and I really appreciate it.
jettyrat wrote: › What gallery registered user permissions are you talking about? Registered users can create albums, add photos, delete, etc. that everybody cannot do. These are gallery permissions.
I'm talking about gallery permissions in Gallery 2. I did the integration on a stock Gallery 2.2.3 install and a fresh phpBB 3.0 gold install. When you're logged in as a phpBB3 user and you access the embedded Gallery 2 from the new "Gallery 2" link in my forum, you see the main gallery and you see the left-side options, "Add Album", "Add Comment", etc. If you click on any of those actions, you get an error from Gallery 2, "Security Violation: The action you attempted is not permitted."
If you log in as the admin user into the non-embedded Gallery 2, then you can "Edit Permissions" on the main album. If you add "All Access" to the group "Everybody", then you're able to do anything as an unregistered user. Gallery 2 works perfectly and you can add albums, items, whatever.
If you remove the "All Access" permission from the "Everybody" group and instead add an "All Access" permission to the "Registered Users" group, then your registered phpBB3 users get the "Security Violation" message when they click on any action in the embedded Gallery 2. The "All Access" permission doesn't seem to work for the "Registered Users" group, only "Everybody".
To some degree, the permissions are working. If you remove all permissions from all groups for the main album, and then add "All Access" just for the "Site Admin" group, then a user in the admin group will see the album contents when they click the "Gallery 2" link in phpBB3, whereas a guest will see Gallery 2's "This is the main page of your Gallery" page instead. Correct behavior. Similarly, if you add "All Access" to the "Registered Users" group and log in as a (non-admin) registered user, then you'll see the album's contents and you'll see the action links ("Add Album", "Add Comment", ...) on the page. As I described above, those links are broken and will return a "Security Violation" error.
The only way that I've been able to make those links work is by adding the "All Access" permission to the "Everybody" group, which opens up the Gallery 2 installation for any unregistered guest to mess with.
Posted: Wed Dec 19, 2007 10:23 am Post subject: Re: Almost done
The permissions you are talking about are all Gallery permissions and are not influenced in any way by the integration.
The problem you are having is a cookie configuration issue and is not the integration itself. You need to make sure the cookie settings in Gallery and phpBB3 are set properly for your setup (cookiedomain and cookiepath) and then you will have to go to your browsers cookies and delete the ones from your site that are related to gallery and phpbb.
If both gallery and phpbb are in the same root path and not in aliased directories (ie, /phpbb and /gallery), the cookie domain can be blank and the cookie path can be '/'. This has to be set in gallery and phpbb.
These issues are not integration package issues, but issues created because of the two apps being integrated. There are plans to try and address this during installation in future releases.
Posted: Wed Dec 19, 2007 3:54 pm Post subject: Re: Almost done
Thank you so much for your help, Jellyrat! It definitely seems to have been a cookie thing. I haven't gotten it working on my development server yet but when I deployed the code out to my production server it worked perfectly. I was planning to deploy the code hidden but I don't have to hide it, it just works! Definitely must be the cookie configuration. My apologies for assuming that there was a defect.
If you're reading this thinking about whether to do it, it's worth the work. I ended up spending about a day and a half hacking this mod into place but now that it's working I have no regrets. Highly cool. Try it.
Posted: Wed Dec 19, 2007 4:30 pm Post subject: Re: Almost done
Cool, glad you got it working and like it! It is a bit of a chore to install, but well worth it if you want an integrated, full featured photo gallery in your phpbb3 forum.
There are some issues in 0.0.4 with group, admin and forum permissions that I'm nearing the end of ironing out now.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum