vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Infraction PM User Override (https://vborg.vbsupport.ru/showthread.php?t=262959)

ndahiya 04-30-2011 10:00 PM

Infraction PM User Override
 
1 Attachment(s)
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

Quote:

Originally Posted by Boofo (Post 2191268)
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 ?


All times are GMT. The time now is 04:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01768 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete