Welcome Guest, Not a member yet? Register   Sign In
Forum prototype - Constructive criticism requested.
#68

[eluser]Jelmer[/eluser]
I've been following this topic with great intrest since I've been thinking about a forum myself and also about writing a comments module for my blog. I've finally come to the conclusion that it should be very easy to write a comments library that can both handle the blog and be the basis for a forum. I intend to create something very generic and I'll announce it in its own once I've got somethig decent put together.

For now, my notes might add something to the discussion:

Functionality
Generic auth intergration through config file
IP Logging for guests
Bans for users & IP's
Setting for minimal time between comments by usergroup (default: guests & logged_in)
Captcha for guests (reCaptcha optional)
Intergrated caching (MP_Cache)
Thumbs up/down
Email confirmation for guest posts

Comments config
Settings for: cache, allowing guests, bans, minimal time between comments, thumbs up/down, allowing title
Protection settings (Captcha, CSRF, CSS)
Function that wraps the logged_in() function of any auth lib
Allowed tags

Comments library
Wraps all the important functions from model(s), which shouldn't be accessed directly
Autoloads any necessary files
CSRF & CSS protection
Both front-end & administrative functions

Comments model
Functions for CRUD
Specific listing functions
Validation rules & additional validational functions

Comments views
Minimal views to illustrate the functionality

Comments database table
id (int, auto_increment)
belongs_to (varchar(255), not null) free field for linking your own pages to comments
published (set('yes', 'moderate', 'spam', 'no'), not null)
user (varchar(255), null) null = guest
emailaddress (varchar(255), null) required for guests
website (varchar(255), null) optional for guests
date (varchar(25), not null) UNIX timestamp
last_edit (varchar(25), null) UNIX timestamp
title (varchar(255), null) optional
contents (text, not null) free text
email_notification (boolean, false)
smileys (boolean, false)


Messages In This Thread
Forum prototype - Constructive criticism requested. - by El Forum - 04-30-2009, 09:03 AM
Forum prototype - Constructive criticism requested. - by El Forum - 04-30-2009, 11:30 AM
Forum prototype - Constructive criticism requested. - by El Forum - 04-30-2009, 11:51 AM
Forum prototype - Constructive criticism requested. - by El Forum - 04-30-2009, 02:17 PM
Forum prototype - Constructive criticism requested. - by El Forum - 04-30-2009, 07:25 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 01:59 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 05:42 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 05:57 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 06:09 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 07:13 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 07:32 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 07:50 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 07:57 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:02 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:14 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:22 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:28 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:36 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:38 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:41 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:50 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 08:57 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 09:04 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 09:18 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 09:23 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 09:29 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 09:54 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-01-2009, 01:57 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-02-2009, 11:48 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-03-2009, 05:22 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-03-2009, 06:14 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-03-2009, 06:41 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-04-2009, 07:27 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-05-2009, 09:23 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-05-2009, 09:31 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-05-2009, 09:49 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-05-2009, 09:50 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-05-2009, 02:41 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-05-2009, 07:35 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-06-2009, 05:01 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-06-2009, 08:06 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-06-2009, 08:11 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 09:40 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 09:45 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 11:38 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 11:49 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 12:06 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 12:10 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-11-2009, 11:48 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 01:41 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 06:40 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 06:50 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 06:56 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 06:59 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 07:21 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 07:24 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 07:42 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 07:47 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 11:24 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 11:29 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 11:34 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 12:04 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 01:19 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 02:23 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 02:31 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 02:34 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-12-2009, 02:45 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-13-2009, 04:36 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-13-2009, 05:13 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-13-2009, 02:39 PM
Forum prototype - Constructive criticism requested. - by El Forum - 05-15-2009, 08:45 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-15-2009, 08:53 AM
Forum prototype - Constructive criticism requested. - by El Forum - 05-15-2009, 09:08 AM
Forum prototype - Constructive criticism requested. - by El Forum - 07-17-2011, 09:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB