Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Infraction PM User Override Details »»
Infraction PM User Override
Version: 1.04, by Reven Reven is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.5 Rating:
Released: 08-20-2006 Last Update: 09-14-2006 Installs: 82
Uses Plugins
 
No support by the author.

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.
Details
  • 1 Product
  • 6 Plugins
  • Update Tracker
  • No database edits, queries or connections.
Installation

Enter your Admin Control Panel and go to the Manage Products page under the Plugins & Products tab, then click Add/Import Product. Download the XML file attached to this post and then locate it on your computer on this page, then click Import. The product will now be installed automatically. Finally, enter the Plugin Manager page and edit the plugin named Set Important Variables under the Product : Infraction User Override section, and set the user ID and username of the account you wish to use to send the private messages, click Save and that's it!

Changelog

1.01 - Bug fix: users could see the moderator that gave them their infraction by clicking the red/yellow card next to the post on which the infraction was made. Staff still see the real moderator whome gave the infraction to the user on this page, but users no longer see this.

1.02 - Bug fix: users could see the moderator that gave them their infraction by going into their User CP and viewing the list. Users can now no longer see the read moderator, but instead the override user.

1.03 - Optimisation: hook placement for infractor user settings moved from global_start to infraction_start. There is no hook for infraction_start in the User CP, so the hooks are evaluated manually by the plugin usercp_infractioninfobit.

1.04 - Bug fix: plugin with Infractor user settings was not evaluating properly: users could see their infractor if they viewed their own profile.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-11-2006, 06:37 PM
Tom1234 Tom1234 is offline
 
Join Date: Sep 2003
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the member that received the infraction views their profile page, the real name of the person that handed out the infraction is shown.
Reply With Quote
  #13  
Old 09-15-2006, 01:13 PM
Reven Reven is offline
 
Join Date: Aug 2005
Location: UK
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed that. If anyone finds any more exploits, please tell me. Sorry for the frequent updates.
Reply With Quote
  #14  
Old 10-09-2006, 03:12 PM
sharjah sharjah is offline
 
Join Date: May 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, that what I was looking for.
Reply With Quote
  #15  
Old 10-12-2006, 02:37 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Fatal error: Existing data passed is not an array
Called set_existing in **CENSORED URL**/htdocs/includes/class_dm_pm.php on line 528
Called post_save_each in **CENSORED URL**/htdocs/includes/class_dm.php on line 823
Called save in **CENSORED URL**/htdocs/infraction.php on line 726
in /includes/class_dm.php on line 235
I've traced this down to your plugin, I have no idea what it might be though, I just know that the infraction system works fine when I disable your plugin, and when I enable it, I get this error message each time I'm trying to issue an infraction.

(**CENSORED URL** is just a censored url ;p)

Ps! (I am running vBulletin 3.6.2)
Reply With Quote
  #16  
Old 10-12-2006, 07:33 PM
Reven Reven is offline
 
Join Date: Aug 2005
Location: UK
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the infraction happen, dispite the error? I.e. is the infraction you give listed in their profile, or is it never given out?

Have you got any other products/plugins/modifications which are making use of the PM system? Particularly anything using the hook 'private_insertpm_process'.

Finally, have you set a username and user id for the 'Infractor' account in the plugin 'Set Important Variables'?
Reply With Quote
  #17  
Old 10-13-2006, 02:30 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reven
Does the infraction happen, dispite the error? I.e. is the infraction you give listed in their profile, or is it never given out?

Have you got any other products/plugins/modifications which are making use of the PM system? Particularly anything using the hook 'private_insertpm_process'.

Finally, have you set a username and user id for the 'Infractor' account in the plugin 'Set Important Variables'?
nope, not using 'private_insertpm_process' in any other plugin/product.

The infraction does not happen, and yes, I've set both the userID and the userName (and they match, of course) =\

These are only one other plugin that are making use of the PM system, and it's hooks are:

Send PM on Thread Move
-inlinemod_domovethread
-threadmanage_move_simple
Reply With Quote
  #18  
Old 10-13-2006, 08:49 PM
Reven Reven is offline
 
Join Date: Aug 2005
Location: UK
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, but I really don't see what is causing that problem. Is anyone else getting this problem?

It's weird because the only thing involved with the PM part of the product uses a vBulletin class function exactly as its supposed to be used. That goes for all of the plugins too - nothing being passed is not what it is supposed to be, and the only room for error as far as I can see is the user input bit - the 'infractor' username and userid which, you've said, is not the issue.

One suggestion is that you could try making the file edits listed here. That will not remove all references to the infractor-giving moderator, but it will stop the PM including their username.
Reply With Quote
  #19  
Old 10-20-2006, 11:45 PM
sharjah sharjah is offline
 
Join Date: May 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Reven,

I have no problem at all .. I'm using 3.6.2.

Thanks again.
Reply With Quote
  #20  
Old 10-29-2006, 09:19 PM
DaNIEL MeNTED DaNIEL MeNTED is offline
 
Join Date: Sep 2006
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reven
I'm sorry, but I really don't see what is causing that problem. Is anyone else getting this problem?

It's weird because the only thing involved with the PM part of the product uses a vBulletin class function exactly as its supposed to be used. That goes for all of the plugins too - nothing being passed is not what it is supposed to be, and the only room for error as far as I can see is the user input bit - the 'infractor' username and userid which, you've said, is not the issue.

One suggestion is that you could try making the file edits listed here. That will not remove all references to the infractor-giving moderator, but it will stop the PM including their username.
I had the same error with 3.6.2 and uninstalled the hack because, frankly, it isn't that important to override the name. If it worked for 3.6.2 or there was a quick fix I would like to have it installed.
Reply With Quote
  #21  
Old 11-06-2006, 10:02 AM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaNIEL MeNTED
I had the same error with 3.6.2 and uninstalled the hack because, frankly, it isn't that important to override the name. If it worked for 3.6.2 or there was a quick fix I would like to have it installed.
I am also having the same problem, and same errors and will be forced to remove this until fixed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:11 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.04749 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete