CodeIgniter Forums
Best BB to integrate with code ignitor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Best BB to integrate with code ignitor (/showthread.php?tid=13819)



Best BB to integrate with code ignitor - El Forum - 12-07-2008

[eluser]srober12[/eluser]
What is the best/easiest bulletin board package to integrate with CI. I can't stand phpBB and its a pain to integrate anyway. And by integrate i mean i would like to have a single sign on for my site that works for both the features and BB features. The packages I'm looking at are vBulletin, Vanilla, and SMF. If I'm missing a good one let me know.


Best BB to integrate with code ignitor - El Forum - 12-07-2008

[eluser]Tom Glover[/eluser]
If you like BB then have a look at it's database structure as that is what is mainly going to determine how easy it will be to integrate. User tables will need to be similar to create a single sign on, in an ideal world you would use either your user table or theirs.


Best BB to integrate with code ignitor - El Forum - 12-07-2008

[eluser]srober12[/eluser]
The database end of it is not a problem, but maintaining sessions between the site and BB is where I'm seeing difficulty.


Best BB to integrate with code ignitor - El Forum - 12-08-2008

[eluser]Phil Sturgeon[/eluser]
Seeing as the CI session class does not use native PHP sessions, you will need to use one that does. Find out the sessions that control logins and "bobs your uncle", you have integration.

You will need to knock up a basic user model too, unless they have an API library knocking around like SMF does.


Best BB to integrate with code ignitor - El Forum - 12-08-2008

[eluser]srober12[/eluser]
[quote author="thepyromaniac" date="1228760561"]
You will need to knock up a basic user model too, unless they have an API library knocking around like SMF does.[/quote]

How well does SMF's api work with CI. It seems like it has everything i need.


Best BB to integrate with code ignitor - El Forum - 12-09-2008

[eluser]Phil Sturgeon[/eluser]
Looks dirty as hell, but you could probably get away with including it as a helper.. just. You will need to hack the path to the Settings.php file, as at the moment it would expect index.php of your CI to be in the same folder as Settings.php. That file is basically the SMF config file.

Change that path, use smf_api.php as a CI helper and you should be good to go. Fingers crossed ;-)


Best BB to integrate with code ignitor - El Forum - 12-22-2008

[eluser]port23user[/eluser]
srober12, did you find a forum application that would integrate well with CI? I'm looking for the same thing (something lightweight, easily integrateable with my CI site). The best I found is CXForums. The thread is at http://ellislab.com/forums/viewthread/91409/ . I really liked it, but it sounds like they won't have a release soon enough for me. Your findings would be appreciated. =)


Best BB to integrate with code ignitor - El Forum - 12-22-2008

[eluser]srober12[/eluser]
Honestly SMF worked perfectly for what i wanted. smf_api.php, if you can find the latest version (their site makes it kinda hard) had pretty much everything i needed. In addition they have scripts available to convert my phpBB3 board. So for me it was perfect.