Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PHP Discussion Board filtering

Posted on 2004-10-11
4
Medium Priority
?
195 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 200 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

886 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