General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 19th, 2004, 08:56 PM
Galavorn Galavorn is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 Galavorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Article Submission

Can someone help me setting this up? Here is what I want.

I want a form, including "Title", "Article", and "Author". When someone fills out this form and clicks submit, it is added to some sort of list. Only I, as the webmaster, can look at this list. There I can either decline or accept articles. If an article is declined, it is deleted. If it is accepted, it gets added to the front page.

Can someone tell me how I can set this up? I don't know much HTML/Javascipt/whatever.

Reply With Quote
  #2  
Old January 19th, 2004, 09:01 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Simple form submission?
The articles are written in a textarea (its the easiest for a beginner)?

I would recommend PHP (if you havea little programming background)... There's millions of tutorials out on google...

You may want to set up a test server on your local machine (assuming you don't have a server already) to run the server-side languages...

Reply With Quote
  #3  
Old January 19th, 2004, 09:59 PM
aboyousif aboyousif is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Tanta, Egypt
Posts: 21 aboyousif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 23 sec
Reputation Power: 0
Send a message via AIM to aboyousif Send a message via MSN to aboyousif Send a message via Yahoo to aboyousif
i will tell you the idea ( assumming that you know any script language ) ...

first you will make 3 table in a database ...

1- the table for the username and password
2- table for temporary articles
3- table for the main articles

the first is the controller for the one who will see the temporary articles .

the second table will save all articles that the people send to the site - that only you who will see ...

the third one is the the table of the accepted articles .. it is easy until now ... right

the mechanism of this project will be as below

1- the people will send the articles to the second table
2- you will enter as the one who in the first table
3- you make a page to see the second table data and check all article in it ..
4- if you accept the article make a link to convert articles from the second tables to the thirs
5- if you refused one of them .. just delete it
and the visitors of the site will see only the third table ..

i will not write in in php language . cause you must first know the basics of it and mysql ( as well )

then try to find how to use php and mysql database in this great site .. ( that you visit now ) ..

after that write the code and test it .. it will be yours

Reply With Quote
  #4  
Old January 19th, 2004, 10:32 PM
Bruski Bruski is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Toronto, Canada
Posts: 192 Bruski User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
you can do this all in one table, you have everything stored in one table and have a column in that table that says view. All articles will automatically be set to no under view. So you as adminsistrator can see the table and its contents and by a smiple click allow the article to be viewed, or delete the article completely

Reply With Quote
  #5  
Old January 19th, 2004, 10:46 PM
aboyousif aboyousif is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Tanta, Egypt
Posts: 21 aboyousif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 23 sec
Reputation Power: 0
Send a message via AIM to aboyousif Send a message via MSN to aboyousif Send a message via Yahoo to aboyousif
Thanks Bruski Alot .. it is a very good idea ( for beginners like me ) the first one is the common .. but your idea is great .. although it is harder .. but not too much .. .. see you again

Reply With Quote
  #6  
Old January 19th, 2004, 10:54 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Although both suggestions work, I think aboyousif's is slightly cleaner... you would need username/password in its own table (for authentication), although Galavorn didn't ask for that... frankly i think it would complicate things to begin with, but definately worth looking into in the future

Also, i like the temp table, real table idea... it would make distinguishing actual articles from those pending approval.

Reply With Quote
  #7  
Old January 20th, 2004, 08:20 PM
Bruski Bruski is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Toronto, Canada
Posts: 192 Bruski User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
np, i was a beginner and i still dont think i know as much as houston or laidback knows. I wonder if they were ever beginners, laidback seems to always have an answer to a question same with houston

Reply With Quote
  #8  
Old January 20th, 2004, 11:47 PM
Galavorn Galavorn is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 Galavorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, I have no idea what you guys just said.

Reply With Quote
  #9  
Old January 20th, 2004, 11:53 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Perhaps some beginner tutorials on form submission and database are a great starting point?

Let google be your best friend... ;-)

Reply With Quote
  #10  
Old January 21st, 2004, 08:07 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Better yet, let Dev Articles be your best friend!

Here's a few articles that will get you on your way Galavorn:

Creating a Multi-File Upload Script in PHP
Database Normalization And Design Techniques
MySQL: Open-Source Power
Introductory Database Theory: Systems And Design

Those should keep you busy for a while!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Article Submission


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT