Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Services > Web Designing and Development

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-08-2007, 10:29 AM
Senior Member
 
Join Date: Jan 2007
Posts: 948
Default Forum

Anyone ever try to create their own forum?

I have I guess what you would call a flagship site where I try out all my new scripts. I am trying to remove all third party scripts for no particular reason other than just to see if I can.
I have created the guestbook and the photo gallery, and the only one left is the forum. It doesn't get used very much so would be a simple one but will need a hidden section also.

I thought that the guestbook script would go a long way to creating this forum, but i am finding it very difficult to plan, and planning is everything i have come to realize.

i have seen some good tutorials and such, but that is not what i am looking for. I just wanted to see if anyone had any experience in writting something like this.

I have (from previous scripts) got my login/register, html editors, captcha, etc, so the basis for the forum is there, just need a little guidance I guess.
__________________
West Dorset Community
Reply With Quote
  #2 (permalink)  
Old 10-08-2007, 04:09 PM
Dan's Avatar
Dan Dan is online now
Got root?
 
Join Date: Aug 2007
Location: England, UK.
Posts: 756
Default

Yes, i have made my own forum however i couldn't seek the time to finish it off. I will help you if needed, that's if you're thinking of creating your own forum
Reply With Quote
  #3 (permalink)  
Old 10-08-2007, 04:36 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

If you're doing it in PHP you could use a framework - that might speed things up. A forum isn't too much different to a guestbook - you just need to link up the messages with thread ids.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #4 (permalink)  
Old 10-08-2007, 04:42 PM
Senior Member
 
Join Date: Jan 2007
Posts: 948
Default

Hi Dan, yes i am thinking of creating a forum. I like you started this project before but shelved it because i made everything so complicated when it didn't need to be. Mainly joining tables and the way i was starting new threads and replying to existing threads, that is why this time i would like to plan it all first then script it.
__________________
West Dorset Community
Reply With Quote
  #5 (permalink)  
Old 10-08-2007, 04:45 PM
Senior Member
 
Join Date: Jan 2007
Posts: 948
Default

Quote:
Originally Posted by kev woodman View Post
If you're doing it in PHP you could use a framework - that might speed things up. A forum isn't too much different to a guestbook - you just need to link up the messages with thread ids.
He Kev, thread ids, post ids, user ids, etc. This is where I came unstuck last time. I have started with my notebook and pen and will see if i can link it all together.
__________________
West Dorset Community
Reply With Quote
  #6 (permalink)  
Old 10-09-2007, 11:10 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Not sure if this helps but I always start by writing out the table relationships in terms of 'belongs to', 'has one', 'has many', 'has and belongs to' e.g. 'thread' has many 'posts', 'user' has one 'profile'.

If you use a framework or something like RoR then this maps nicely to the built in table relationships but even of you don't it seems a more natural way of working them out to me.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #7 (permalink)  
Old 10-09-2007, 01:23 PM
Senior Member
 
Join Date: Jan 2007
Posts: 948
Default

Thanks Kev that was exactly what i was looking for especially regarding db tables and the relationships.
Afraid i have no experience with frameworks and downloaded cake a couple of times but never used it.
I think for ease I will just use php to create it as I already have the foundations in place. Just need to plan it correctly so i don't run into problems half way through due to poor planning.
__________________
West Dorset Community
Reply With Quote
  #8 (permalink)  
Old 10-09-2007, 01:36 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

very sensible mate - my working life is blighted by poor planning, crap requirements analysis and a general lack of any strategy. Sadly I'm the one responsible for all that
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:53 PM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum