Attempting to code a forum - Views :p

My main point was - you'd need to be pretty darn experienced to produce a forum - if your still learning there really isn't much point.

why isn't there any point? you said it yourself he is still learning so why can't you see the point in it? it has been said numerous times and in the first post.

nitrojan: good work, keep adding more and more and more, adding things that you know will really test you, even if after working on something for a week you think my god what a stupid way to do this and start again doing it then in 1 day thats great as you are learning how not to do things on your own, discovering your own style, and getting more advanced with php :)

to everyone else: remember facebook started just as a place to review photos of the students from a university book, but look at it now. all it takes is for you to be reinventing and old idea brining in new technology and bam you create something amazing
 
Last edited:
Me likes, have you hard-coded the PHP?

How else could you write a PHP application? :p

Doing is the best way of teaching, especially with PHP framework like PHPNuke? Basically give you a site and forum, and then you can code PHP modules for it.

No, PHPNuke is a CMS (content management system). A framework is a pre-written code base that provides structure and basic functionality for you to write your own application on. You can create whatever you want on a framework, but they do a lot of the hard work for you.

Check out Kohana for a decent PHP5 framework.

For example, I wrote SigRotor on Kohana. :)

And PHP is the worst name ever. It has no definition. PHP stands for "PHP Hypertext Protocol"....

PHP: Hypertext Preprocessor actually. It originally stood for Personal Home Page, though.
 
I think learning to code by way of a big project is a pretty good idea. Helped me learn asp (i decided to write a forum too ;p). Yeah you obviously won't create a finished product that is amazing, but you will have tackled so many different situations and problems that you will have learnt plenty!
 
I wrote a Forum as my first proper piece of software, and did it in PHP. It's a great way to learn more, and you end up with something useable at the end. :)

Good luck with it.
 
Ah thanks, just had a read through that.. :)

If anyone has any ideas regarding what I could add to the forums, then please let me know!

I've been coding mainly behing the scenes classes today and also fixed the registration page up to an extent.. You can register but it doesnt redirect anywhere :p

CSS got the better of me (Counter Strike source) hehe :D

EDIT: And the fact that my PHP captcha really started to annoy me.. It worked fine locally.. however wouldn't display when uploaded >_<

Here.. check the validations out: http://entityhost.co.uk/forum/register.php
 
Hidden field value? How would that work?

EDIT: Fixed the captcha :D It was that my host did not support freetype fonts.. so recoded it and kept it simple this time :p
 
Last edited:
put a field in a div and then set that style to hidden, bots are less likely to look at the styling and so will fill that field in but humans will not be able to see that field, so when sorting out the form use php to check if field is filled out stop
 
Ok, more devo. I've decided to really tidy up the HTML and CSS, and have added a bit of javascript to make it more functional and user friendly. Now to re-code the PHP making it more efficient.. woo! lol also got to incorporate mod_rewrite at some point too.

http://entityhost.co.uk/forum/

:)

EDIT: Wondering whether to have mod_rewrite now, as some servers wont have it enabled.
EDIT2: Decided to leave mod_rewrite for now. Am now working on forum display before re-coding register and login.
 
Last edited:
Ok, another update..

I've recoded the HTML + CSS and I think imo it looks much better now. I've added the main 'data grab' part, so now the main structure is beginning to emerge.

I've also recoded the mysql class and it is more efficient than the first one :p

Planning on re-coding the registration to fit with the new mysql class and to tidy up the coding.

CSS has been tidied and updated now, allowing me to add a feature to update the forum style later on and allow easy template changing.

More to come!

Forum: Here
 
Back
Top Bottom