MyBB Community Forums

Full Version: Anyway to automate a "system" account
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there anyway to make a "system" account totally automated to give out warnings to keep it anonymous of the moderator that gave the warning?
No, and there's no plans to implement such a feature.
You could just create a new user that your moderator's could use to dispense warnings.
goto warnings.php, Line 192, change
"fromid" => $mybb->user['uid'],

to have the id of the user you want the pm to be sent from, you can change it to -1 for it to be from "MyBB System" or something like that (which can then be changed in the global.lang.php file)

Cheers!
(2013-01-02, 07:12 PM)InfernoSoft Wrote: [ -> ]goto warnings.php, Line 192, change
"fromid" => $mybb->user['uid'],

to have the id of the user you want the pm to be sent from, you can change it to -1 for it to be from "MyBB System" or something like that (which can then be changed in the global.lang.php file)

Cheers!

That's just the PM notice which is optional, if users are able to view their own warnings they can simply view which moderator gave it to them in their User CP.
(2013-01-02, 07:18 PM)Nathan Malcolm Wrote: [ -> ]
(2013-01-02, 07:12 PM)InfernoSoft Wrote: [ -> ]goto warnings.php, Line 192, change
"fromid" => $mybb->user['uid'],

to have the id of the user you want the pm to be sent from, you can change it to -1 for it to be from "MyBB System" or something like that (which can then be changed in the global.lang.php file)

Cheers!

That's just the PM notice which is optional, if users are able to view their own warnings they can simply view which moderator gave it to them in their User CP.

Hmm. Back to the drawing board, I suppose! haha

EDIT:
Alright, usercp.php, line 3069 change
$issuedby = build_profile_link($warning['username'], $warning['issuedby']);
to
$issuedby = $lang->mybb_engine;
plus the code change in my first post
Can't we just remove mention of the moderator in the various templates?