The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
I'm not sure if this is the right board to post on or not, but I'm looking for pseudocode for a forum.
As part of a security project, I'm trying to build a forum for a website (it's not important which), but I'm not quite sure how to go about building a forum. Obviously I'd need log in systems, posting systems, thread systems, search support. I'm just not sure how to go about coding it, or what language(s) I should use.
Thanks in advance!
[SIGPIC][/SIGPIC]
Tolwrath on
0
Posts
admanbunionize your workplaceSeattle, WARegistered Userregular
edited March 2009
A forum is a multi-month, full-time project all on its own. Are you sure you know what you're getting into?
As for language, PHP would be the obvious choice, but you could also look into a Ruby framework (Rails) or Python (Django).
Rather than build one from scratch, why not use phpbb or vbulletin or another forum software package?
This. Unless your employer (or the guy who hired you for a freelance gig) specifically requested a custom-built forum from the ground-up, there's no reason to reinvent the wheel.
And frankly, there's no way you're going to get the answer you're looking for here. Pseudocode for a whole forum?
Hey guys, could you write me my next indie game in pseudocode?
OremLK on
My zombie survival life simulator They Don't Sleep is out now on Steam if you want to check it out.
In addition to the language that actually displays the forum pages, you are going to need knowledge of sql and database design to actually store the posts.
Rather than build one from scratch, why not use phpbb or vbulletin or another forum software package?
This. Unless your employer (or the guy who hired you for a freelance gig) specifically requested a custom-built forum from the ground-up, there's no reason to reinvent the wheel.
And frankly, there's no way you're going to get the answer you're looking for here. Pseudocode for a whole forum?
Hey guys, could you write me my next indie game in pseudocode?
I wasn't expecting to get code for a whole forum, I'm really looking for basic structure... like... "what sort of functions would I need?" and "How would some of these functions interact with others?"
Also: this is a college project and something I wanted to do as a challenge; even if it's nowhere near fully functional, I'll still get an A.
Tolwrath on
[SIGPIC][/SIGPIC]
0
SixCaches Tweets in the mainframe cyberhexRegistered Userregular
edited March 2009
In that case, download a free software package like phpbb and take a look at what functions it provides.
I wasn't expecting to get code for a whole forum, I'm really looking for basic structure... like... "what sort of functions would I need?" and "How would some of these functions interact with others?"
Also: this is a college project and something I wanted to do as a challenge; even if it's nowhere near fully functional, I'll still get an A.
You'll need a registration page that sends the username/pass/email/whatever other reg values to the database. You'll need a login page that will check against these values in the database. You'll need a basic post function, but then you'll also need checks to see if the user is logged in, or what permissions they have (if you have different access levels for different users). You'll need an admin control panel so the admin can add/remove forums...
ugh, this is giving me a headache just thinking about it. We took a whole semester just to write a registration page and set up the database.
Why don't you download a phpBB forum and just start poking around in its guts to see how they do stuff?
Posts
As for language, PHP would be the obvious choice, but you could also look into a Ruby framework (Rails) or Python (Django).
This. Unless your employer (or the guy who hired you for a freelance gig) specifically requested a custom-built forum from the ground-up, there's no reason to reinvent the wheel.
And frankly, there's no way you're going to get the answer you're looking for here. Pseudocode for a whole forum?
Hey guys, could you write me my next indie game in pseudocode?
Also: this is a college project and something I wanted to do as a challenge; even if it's nowhere near fully functional, I'll still get an A.
You'll need a registration page that sends the username/pass/email/whatever other reg values to the database. You'll need a login page that will check against these values in the database. You'll need a basic post function, but then you'll also need checks to see if the user is logged in, or what permissions they have (if you have different access levels for different users). You'll need an admin control panel so the admin can add/remove forums...
ugh, this is giving me a headache just thinking about it. We took a whole semester just to write a registration page and set up the database.
Why don't you download a phpBB forum and just start poking around in its guts to see how they do stuff?
edit: I see I was beaten to that suggestion
Do... Re... Mi... So... Fa.... Do... Re.... Do...
Forget it...