PDA

View Full Version : Moderators Functions - Infraction PM User Override


ndahiya
04-30-2011, 10:00 PM
This is an almost exact port of Reven's mod by the same name for v3.6 (https://vborg.vbsupport.ru/showthread.php?t=124565 ).

This continues to remain working as of 4.1.3. While it still works in vb4, there has been no update and the developer has not been here for over 2 years.

I have phrased the mod, so you can set the userid and Admin name to send the infraction in vb settings.

Posting this here to prevent the old mod going to the graveyard. I *may* try and extend the mod - if so will post them here.

This mod "belongs" to raven. I am just posting it so that it remains available, and adding phrases etc.

ndahiya

---
From the original post:

Infraction PM User Override

This product will allow you to set a user from which all private messages sent to your members after infractions are given are from. If you wish for your moderators to remain anonymous, or don't wish your members to know the moderator that gave them an infraction, this will help.

Administrators, super moderators and moderators can all still see which moderators awarded each infraction in the normal way, but regular members cannot.


Features
Lets all moderators hand out infractions from a standard username to protect privacy.
Doesn't log moderator actions under the standard username, but as the moderator carrying out the actions.

zonaenlinea
05-02-2011, 09:28 PM
capture plisssss

Alan_SP
05-03-2011, 07:12 AM
Actually, in this mod there's not much to be shown. :)

Users who get infractions get them from user you decide to use. It could be some "real" user, or it could be user specially created for this purpose. You can "adorn" this special user with user title you like, signature you like, etc...

Boofo
05-03-2011, 08:04 AM
Did you get permission from Reven to post this mod if it uses his code?

fulviods
03-05-2012, 02:37 PM
works on last version of vb? hope so... and i just have to install it to upgrade right? thanks

fulviods
03-11-2012, 05:17 PM
Did you get permission from Reven to post this mod if it uses his code?

I think he asked to Reven, but when you see that Reven is not online since 2009 and that ndahiya gave credits to Reven... in my opinion i just can say thanks for this update to ndahiya because work fine on 4.1.11

tr1t0n
12-14-2012, 06:44 AM
Awesome and simple. Works great and just what we needed. Thanks.

RedFoxy
05-19-2013, 08:00 PM
nice, but will be useful to change the public post too

McGyver
05-23-2013, 04:30 AM
It doesn't fully work on vB 4.2.1.

The infraction tab on the user profile doen't display neither the original infractor nor the overriden. It seems that $override_userid and $override_usename are not populated when the infraction_start hook is called.

Perhaps the initialization of $override_userid and $override_usename should be moved to another location and be set as global. I might give it a chance, but for now I just edited the plugin at member_infractionbit and "hardcoded" the values for $override_userid & $override_username.

Moreover, there should be a "$pmdm->set_info('savecopy', false);" in the plugin on private_insertpm_process so that the mailbox of the infractor does not store the sent private messages. Perhaps this should also be an option in the ACP.

fassy4u
05-23-2013, 06:09 AM
its really use Full ?

fulviods
07-29-2013, 07:10 PM
its really use Full ?

It's very useful!
A moderator can punsih members without showing his name!

datoneer
07-29-2013, 09:37 PM
Works well in vb 4.2.1. Cool mod, thanks

gsk8
11-04-2017, 01:16 AM
Would love to see this for VB5!