PDA

View Full Version : integration with phpBB


soimafreak
02-13-2006, 04:44 AM
Hi all,

I want to integrate the calendar with the phpBB forum i'm using, mainly because i'm already using that to validate user logins for access to the site. I've had a look around at some of the source code and obviously because of the ioncube... didn't get far.
so had a look around ehre and i can't see anything conclusive, I did notice a post that mentioned it was possible to allow people intot he event admin bit using integrated login with phpNuke. But that's the best lead i've had so far.

if anyone has some information on possible ways to do this / bits that deal with user authentication i'd be happy to have a play.

only idea (just had it right now ) is to some how modify the EPC user DB and add the phpBB userid into that... and do a check and automagically log them in using the info in the config file :S

at the end of the day I just want to validate users in groups, so i don't mind a no login policy for the calendar (except admin) any ideas ?

Regards,
Matt

Brian
02-13-2006, 09:11 AM
You can create a normal user using the Setup Manager and then pass their login credential via the URL to have users automatically logged into the Event Manager.

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=31&nav=0,6

soimafreak
02-13-2006, 09:44 AM
thanks, i'll have a look at some way of automaticly updating usernames / passwords in accordance to the phpBB forum, it shouldn't be too hard to have phpBB edit the file but maybe it should be in a DB ;)

ve9gra
02-13-2006, 06:13 PM
This won't fly.... You know that there is a 20 user limit on version 6. I'm assuming that your phpBB installation has more users than that...

The easy way to integrate it is by creating a single user in EPC that will be used by everybody. You create a page with basically nothing but a redirect that checks if the user is logged in to phpBB (I assume you already know how to handle this as you've based your site on this). Once the user's session is validated, you redirect to the Calendar's Event Manager by passing the username and password in the URL. If the user is not validated then you redirect to the phpBB login page.

This will work and is the easiest way to handle it. Remember that even if you do manage to synchronize the user list between EPC and phpBB, even if the user is logged in to phpBB, EPC doesn't use the phpBB session and would ask the user to log in again.

Let me know if you want more details to set this up.

soimafreak
02-14-2006, 12:30 PM
I had a look into it last night and couldn't see any benefit to maintaining the phpbb user list, we only have about 10 users so the userlimit wasn't a real problem.

i'm assuming we're using the user / pass thing wrong as there doesn't seem to be any benefits to having users at all, would be interested to know if there is as i would be more interested in integrating it some how.


but the easiest and quickest solution was to just create a single user / pass and have everyoen use that account.

cheers for the info guys. :)