Report to moderator sub

Started by Fizzy, June 01, 2005, 04:57:18 PM

Previous topic - Next topic

Fizzy

Hi guys,

Due to popular demand from my Gmods I am writing the following:

Upon "report to moderator" the forums sends an Email but also adds a flag to alert the Gmods live on the board in realtime.

Here's my logic process:

In reporttomoderator2, add an insertion to a new table entitled smf_rtm, inserting message number, name of reporting member and an "alert_rtm" boolean.

From there, in index.php add an additional check for a count in alert_rtm>0 and then create a table of reported threads with the ability to remove thread messages from alert_rtm list.

The reason for posting this? I would love to hear any expansions, suggestions or "Oi you don wanna do dat" type comments from my trusted peers.

Sugestion, criticisms or observations are very welcome :)
"Reality is merely an illusion, albeit a very persistent one." - A.E.


Thantos

An easier solution may be to just send them an PM along with the email?  Maybe put a condition in that checks only those that have been active in the last X minutes.

Fizzy

That's a very interesting thought Mike.

I've never really looked in to the PM part of the files before and yours may be a better solution. I know that the Global Moderators have email notification on PM's switched on, so maybe a solution to stop duplication might be to replace the sendmail function with a PM function?
"Reality is merely an illusion, albeit a very persistent one." - A.E.


Thantos

Well I was thinking more of just putting it into the table yourself instead of calling the PM routine.  Then you wouldn't have to worry about the email notification on PMs.

dtm.exe

Sounds like a great mod.  Good luck with it :).

-Dan The Man

Advertisement: