Topic: PunBB integration

Hi,

I'm new to ruby and rails and, after some inital success, I've hit a bit of a roadblock. I'm setting up a community-based site which will include a forum. I'm thinking of using PunBB for this but I dont understand just how I can get a php app running within my rails app.

Ideally, I'd like the user to be able to click the 'forum' link and then for the punBB code to display within the page's view.

Can anybody tell me if this is possible? Any help would be appreciated, thanks.

Re: PunBB integration

I was able to get this working at one point and it was kind of a pain. Basically it wasn't actually within the application and we just spoofed the URL to make it look like it was, and made the styles look the same. Authentication (getting it to use the fact that they were already logged into our site) was also kind of messy...

But to just get php running and linking up to your rails application... Basically you put the php files in your public directory, go through the setup they provide, and you should be able to get it running at least. I was never able to get it to be "truly" integrated into the rails app though, just so you know... even the authentication was pretty much just forcing punBB to use the same user database and take the login information from the referrer, kind of sketchy...

Unfortunately I have no access to the code that I worked on anymore but... that's the best I can remember.