Solved

PHP Discussion Board filtering

Posted on 2004-10-11
4
182 Views
Last Modified: 2012-05-05
Hello

Is there a way in which the moderator/admin can get a notification email saying that a new message is being requested to post in a current topic. After this notification, the moderator/admin approves or declines the post and then if approved ...allows it to be posted on the discussion board?

I'm using a PHP discussion board.

Please let me know if you need any more information to answer this question.

Waiting for your replies...

Avi

PS: I can increase the points if this is a hard one
0
Comment
Question by:sahnias
  • 2
  • 2
4 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 12278624
Totally depends on which board you are using.

Personally I don't know any board-software which by default supports such, but I suppose there would be more people needing this kind of 'plugin'.

From just a php-code point of view. Your requirements are not even that complex.

-r-
0
 
LVL 4

Author Comment

by:sahnias
ID: 12282832
So could you direct me to some resources to code it in php? Or explain how its done?
0
 
LVL 49

Accepted Solution

by:
Roonaan earned 50 total points
ID: 12284337
It could be done by adding a extra field 'status' or something to each post.

Then you could add a mail() function call when somebody posts in a thread. Then initialy you would set the 'status' to 0. Then you'd change the Select * From posts query - which is not realy select * from posts, but already much more complex - and add a 'AND status > 0' into it.

Third you should make an edit-screen which shows all posts with status=0 and enabled mods/admins to change those zero's to ones.

-r-
0
 
LVL 4

Author Comment

by:sahnias
ID: 12291248
Thanks a lot

I'll give that a shot

Avi
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
simplest php form 3 57
Animated .jpg? 13 55
form button worked now it doesnt anymore 9 36
How can I echo a PHP variable in AJAX function? 7 25
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now