A CI-developed forum? |
[eluser]Daniel H[/eluser]
Hi all, Can anyone point me in the direction of any CI-created forums? I simply need the basic thread/post model rather than a full-blown user auth system. Any ideas? Many thanks, Dan.
[eluser]dpgtfc[/eluser]
[quote author="sikkle" date="1224173904"]I think D13 work on something usable : http://www.inktype.org/ Good luck ![/quote] That's a blog.
[eluser]Daniel H[/eluser]
Yeah, I'm looking for a completely stripped down version of vBulletin or something that just handles threads, posts, etc. without all the bloat. Just looking for the datamodel ultimately; I guess I can reverse-engineer one...
[eluser]dpgtfc[/eluser]
[quote author="Daniel H" date="1224174995"]Yeah, I'm looking for a completely stripped down version of vBulletin or something that just handles threads, posts, etc. without all the bloat. Just looking for the datamodel ultimately; I guess I can reverse-engineer one...[/quote] I've thought of doing something similar. I haven't found a good CI forum solution so I was going to try and convert this: http://punbb.informer.com/ It seems lightweight enough and it is apparently open source so there shouldn't be any licensing problems.
[eluser]Daniel H[/eluser]
Great tip - the model is nice and simple. Thanks, Dan.
[eluser]Bramme[/eluser]
I've been thinking for a while about creating my own little forum. There's only one thing I haven't figured out yet: how do you handle the "read/unread posts" notification? Do you store in a db which user has seen which topics?
[eluser]meigwilym[/eluser]
@Bramme: compare the user's last login time (and not the current session's) with the each thread's most-recent-post-time Code: if($user_previous_login_time < $post_reply_time){ But I'm not sure of how it would change after you've actually read the thread. Maybe another variable to keep a check somewhere. Mei
[eluser]Daniel H[/eluser]
Is it not too much of an db overhead to record a 'view' related to the user in a separate table (with the datetime); then just left join the view table on the posts table with the post id and user id, and if a 'view date' exists then mark it as viewed, otherwise don't?
[eluser]meigwilym[/eluser]
Not sure. Would this mean that there would be a record for each thread/member? That could be a huge table, even with a small user base. Mei |
Welcome Guest, Not a member yet? Register Sign In |