2007-07-28, 06:47 PM
Look here:
Dr Small
// FROM [ AUTOACCOUNT = DEFAULT UID 1 ]
$from = $mybb->user['uid'];
Dr Small
[Request] Notification after moderating thread
|
2007-07-28, 06:47 PM
Look here:
Dr Small
2007-07-28, 06:57 PM
tristan/SMM Wrote:Hey LeX- First i used 1 , but then i changed it into the uid of the person who does the moderation =P
2007-07-28, 07:09 PM
Hey LeX-,
I tried this plugin out by having a test account make a post, and then going into my account and deleting it. The test user wasn't notified.
Did you replace all the hooks ? Cause the delete_thread hook isn't at the right place ... And also, me and another person can confirm that the plugin works ...
2007-07-28, 07:16 PM
Oh, crap. I forgot to replace the hooks.
* tristan/SMM hits himself over the head Erm.... LeX-? This is an embarrassingly stupid question.... but how would I replace the hooks? What exactly am I supposed to do? Try to explain it to me like you would to a 5 year old, because that's my level of knowledge when it comes to these things.
2007-07-28, 07:18 PM
Did you read "notes_plugin.txt" ?
2007-07-28, 07:36 PM
Yeah, I did. The "Replace it after [ Few Lines Up ]" part is what confuses me.
tristan/SMM Wrote:Yeah, I did. The "Replace it after [ Few Lines Up ]" part is what confuses me. Just place the "hook" after the specified line ... =/ =P But here's my class_moderation.php, with every hook at the right place.
2007-07-28, 08:02 PM
Fatal error: Call to undefined function: update_forum_counters()
class_moderation.php on line 238
That's a problem with your functions.php =P not class_moderation.php =P
Do you run MyBB 1.2.9 ? |
« Next Oldest | Next Newest »
|