PHP Templating system

Reply

Join Date: Nov 2004
Posts: 55
Reputation: DiscJockey is an unknown quantity at this point 
Solved Threads: 0
DiscJockey DiscJockey is offline Offline
Junior Poster in Training

PHP Templating system

 
0
  #1
Jan 22nd, 2005
Hello peeps i need some help for a template system.
i want to make a script so when a user submits a article/tut it automaically sends me a email with a link in it + plus the submited article/tutorial when i click the link it automatically puts the tutorial into my template someting simular to good-tutorials.com :p
Get your websites reveiwed for free! ReviewMyWebSite.com!
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: PHP Templating system

 
0
  #2
Jan 22nd, 2005
Not sure how the other website actually works, but here some suggestions:
1. Create form for users to submit tuts/articles.
2. Validate form and add article to database ('id', 'status', 'article', etc). Make the 'status' of the article submitted as something like 'pending'.
3. Send the article and a link with 'id' of the article to you using mail function. The link will take you to a php page to change the status to either 'accept' or 'decline'.
4. You get the email and if the article ok, you click the link and a page show to prompt you to accept or reject. If, accept, it will displace in your webiste, else, you can either keep it in the db or delete it. You can do many things here.
5. Make sure you have a page that display articles from database where status = 'accept';

Good luck in your development. Drop me an email when it is ready to launch :eek: .
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 55
Reputation: DiscJockey is an unknown quantity at this point 
Solved Threads: 0
DiscJockey DiscJockey is offline Offline
Junior Poster in Training

Re: PHP Templating system

 
0
  #3
Jan 22nd, 2005
Could you give me a start point or tell me the functions i will need!?
Get your websites reveiwed for free! ReviewMyWebSite.com!
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: PHP Templating system

 
0
  #4
Jan 22nd, 2005
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC