Solved

PHP Discussion Board filtering

Posted on 2004-10-11
4
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

617 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