Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Almost done

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Fri Oct 19, 2007 12:09 am    Post subject: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Almost done  

Back to top
bugtyb

Beginner
Beginner


Joined: Dec 05, 2007
Posts: 5

PostPosted: Tue Dec 18, 2007 6:23 pm    Post subject: Re: Almost done Reply with quote

Would you need a hand at all Very Happy ? 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.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Tue Dec 18, 2007 8:46 pm    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
talknightlife

Beginner
Beginner


Joined: Dec 14, 2007
Posts: 4

PostPosted: Tue Dec 18, 2007 9:23 pm    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Tue Dec 18, 2007 10:18 pm    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
talknightlife

Beginner
Beginner


Joined: Dec 14, 2007
Posts: 4

PostPosted: Wed Dec 19, 2007 6:08 am    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Wed Dec 19, 2007 10:23 am    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
talknightlife

Beginner
Beginner


Joined: Dec 14, 2007
Posts: 4

PostPosted: Wed Dec 19, 2007 3:54 pm    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Wed Dec 19, 2007 4:30 pm    Post subject: Re: Almost done Reply with quote

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.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia