Solved

PHP Discussion Board filtering

Posted on 2004-10-11
4
186 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I fix this UPDATE error? 7 32
php help 34 58
PHP alternative to file_get_contents('php://input') 4 76
Showing multiple maps using PHP and Google Maps 8 21
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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.

820 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