OK, once more my question:
Could you please give me a code in PHP to include the Piwigo Gallery into MyBB?
Everything else I probably can do on my own.
Thanks in advance.
Offline
The problem is at PhP level.
Piwigo creates its own PhP session...
If MyBB (I don't know MyBB) has already created a PhP session, Piwigo will NOT be able to create a new one.
To bypass this problem, you can embed Piwigo in MyBB by several ways.
1 - The simpliest way is using iframe.
2 - The most complex ways could be a curl solution or web services.
Anyway between both, you can many other constraints like:
- public / private
- Confidential level: Admin / Relative / Friends / Guest
- ...
So one of the main problem is connection.
Do your visitors need to be connected? Do you need to share you user database or not?
Offline
Ruby wrote:
Could you please give me a code in PHP to include the Piwigo Gallery into MyBB?
Just to make things clear, what do you exactly mean by "include the gallery into the forum"? give some usage examples so that we talk about the same thing :-)
Offline
Thank you for your answer.
- Well it would be great if everybody who is registered to the forum could be automatically registered to Piwigo too, but that's no 'must'.
- ""The most complex ways could be a curl solution or web services."" -> Do you have a sample where I can see how it looks like?
I already made different categories to PWG, the same as on our forum, with the same rights, for user groups and categories, that's not a problem.
- The whole PWG needs to be embedded into our forum.
So how can we do that?
(I am going to open a new thread for an other question.... )
Hello PLG
Just to make things clear, what do you exactly mean by "include the gallery into the forum"? give some usage examples so that we talk about the same thing :-)
Please have a look to the forum and find there the "Latest Attachment Gallery", the Video Gallery, the Chat. There are two possibilities, we could embed PWG or link to it ... by the moment I am looking for a way to embed it as for example a YouTube Video ;-)
Thanks for your answer.
Last edited by Ruby (2009-03-16 00:15:12)
Offline