Part of the EllisLab Network
This thread is a discussion for the wiki article: Forum written with CodeIgniter
   
1 of 2
1
Forum written with CodeIgniter
Posted: 30 January 2009 03:32 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

i just posted a wiki containing source, comments?
wiki page

Profile
 
 
Posted: 04 March 2009 11:00 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  404
Joined  03-28-2008

Cool!
But your SQL-schema gives me an error when trying to create the tables…
Any ideas?

 Signature 

———————————————————————————————————————————-
Imac 24” C2D 3.06Ghz / 4GB RAM / Geforce 8800GS 512MB
Macbook Pro 15” C2D 2.53Ghz / 4GB RAM / NVIDIA GeForce 9400M + 9600M GT 512MB
iPhone 3G 16Gb Black

http://www.rockkarusellen.se

Profile
 
 
Posted: 04 March 2009 03:26 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

would need to know what the error is? that version is a bit out dated i think. let me know and i’ll see what i can do.

Profile
 
 
Posted: 04 March 2009 04:03 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  68
Joined  05-11-2008

I’m very interested…

The live copy link from the wiki is dead though.

Profile
 
 
Posted: 05 March 2009 01:04 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

can send me a pm if you would like the url to a live version, i’ll try and update the wiki when i have time.

Profile
 
 
Posted: 25 March 2009 10:38 AM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  2
Joined  02-07-2007

Is there anyone who has solved the sql-schema problems?

Profile
 
 
Posted: 25 March 2009 11:24 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  2
Joined  02-07-2007

I think i solved the schema problem, but there is a table missing according to the model, there should be a table called “fm_stats” aswell, is there a schema around for that one?

Profile
 
 
Posted: 01 July 2009 06:23 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

updated source has been posted for the forum in the wiki. forum profiles have been added, thread subscriptions with e-mail notification, as well as jquery ui inline administration interface. it should work out of the box, i haven’t had too much time to test everything.

Profile
 
 
Posted: 16 July 2009 08:32 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  06-14-2008

Any idea why I can’t register?

———————————————-

A PHP Error was encountered

Severity: Notice

Message: Use of undefined constant redirect - assumed ‘redirect’

Filename: controllers/home.php

Line Number: 175

———————————————-

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/resync/public_html/it/system/libraries/Exceptions.php:164)

Filename: helpers/url_helper.php

Line Number: 541


I’m very interested into this. I need a forum right now, but kind of not want to use other open source forums as modifying them is a pain in the *ss. I hope this forum is built in a way that it can be easily extended and modified grin

Khoa

Profile
 
 
Posted: 16 July 2009 08:37 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

registration was working, the redirect after the form submission was missing something. it’s been fixed, you will need to follow the instructions that were e-mailed to you to activate your account.

$this->auth->register();
            
$this->session->set_flashdata('message', array ('success'=>'Registration successful. <br /> Please check your e-mail for an activation link.'));
            
redirect($redirect); <!-- was missing $ in redirect.
Profile
 
 
Posted: 16 July 2009 08:43 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  06-14-2008

Thanks for the quick reply neph.

However, I did not receive any activation email via that failed registration. Plus apparently I could not register again as it says the email has been used wink

Maybe that error stopped the email from being sent or maybe just a general email delay. Will wait for a bit more.

Khoa

Profile
 
 
Posted: 16 July 2009 08:48 PM   [ Ignore ]   [ # 11 ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

i manually activated your account. it looks like yahoo isnt accepting mail from that server for some reason. You should be able to log in now with the username and password you set up.

2009-07-16 20:30:15 1MRcH8-0004qi-Sm ** your@email R=lookuphost T=remote_smtp: SMTP error from remote mail server after end of data: host c.mx.mail.yahoo.com [216.39.53.3]: 554 Message not allowed - UP Email not accepted for policy reasons.  Please visit http://help.yahoo.com/help/us/mail/defer/defer-04.html [120]

Profile
 
 
Posted: 16 July 2009 08:52 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  06-14-2008

Perfect. Thanks wink

Khoa

Profile
 
 
Posted: 16 July 2009 11:36 PM   [ Ignore ]   [ # 13 ]  
Summer Student
Total Posts:  2
Joined  07-16-2009

Great work smile Maybe I can modify this into the project I am working on.

Btw, looks like you forgot to add a few tables to the sql file.. fm_lastpost & fm_userlastpost

Profile
 
 
Posted: 17 July 2009 12:13 AM   [ Ignore ]   [ # 14 ]  
Grad Student
Rank
Total Posts:  48
Joined  01-27-2009

it’s a dump of the current db, any more info you can provide?

Profile
 
 
Posted: 17 July 2009 11:24 AM   [ Ignore ]   [ # 15 ]  
Summer Student
Total Posts:  2
Joined  07-16-2009

Well, not much more. They are not included in the forums.sql you included with the source. fm_lastpost & fm_userlastpost tables are used when you are viewing the threads (function getThreads in the model).

Maybe you should do a new dump of the database ? =)

Edit: Nevermind, looks like I misunderstood something. I forgot to change the forums config file, so it gave me a sql error that a table was missing smile

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120586 Total Logged-in Users: 50
Total Topics: 126624 Total Anonymous Users: 1
Total Replies: 665660 Total Guests: 378
Total Posts: 792284    
Members ( View Memberlist )