Announcement

  •  » Requests
  •  » How to include Piwigo 2.0.0 into MyBB 1.4

#1 2009-03-15 12:11:34

Ruby
Member
The Netherlands
2009-03-15
18

How to include Piwigo 2.0.0 into MyBB 1.4

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

 

#2 2009-03-15 12:53:37

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: How to include Piwigo 2.0.0 into MyBB 1.4

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?


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2009-03-15 23:56:24

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How to include Piwigo 2.0.0 into MyBB 1.4

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

 

#4 2009-03-16 00:09:51

Ruby
Member
The Netherlands
2009-03-15
18

Re: How to include Piwigo 2.0.0 into MyBB 1.4

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

 
  •  » Requests
  •  » How to include Piwigo 2.0.0 into MyBB 1.4

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact