vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Infraction System - How to send anonymous PM's (https://vborg.vbsupport.ru/showthread.php?t=254892)

Videx 12-16-2010 01:20 PM

Oh yes, they always take it personally. But since our moderators have already discussed it, and voted on it, even if they run to another mod it does them no good. The second mod may tell them they voted not to infract, but has to admit a majority felt an infraction was warranted.

I really don't see how your system solves this, since they'll just mass PM all the mods with the drama, knowing that only one of them issued it.

INFAMOU$ 12-17-2010 02:48 AM

No they don't because they don't know who it came from and if they reply to the PM it won't go anywhere..

Videx 12-17-2010 03:01 AM

Okay, that's too funny. Your entire staff is completely anonymous??? Even in the "View Site Leaders" section it's just completely blank? New moderators don't take on any new labels? Nobody posts site updates?

INFAMOU$ 12-17-2010 03:31 AM

No no.. they can still go out of their way to contact a mod directly after the fact.. but most just don't worry about it. But when the PM comes with the infraction to begin with it just makes it to easy for them to reply and complain...

I managed to fix it all for anyone who is wondering....

Look for line:
PHP Code:

$infdata->set('whoadded'$vbulletin->userinfo['userid']) 

Change to:
PHP Code:

$infdata->set('whoadded'$vbulletin->userinfo['userid'] ='xxx'); 

where xxx is the USER ID you wish the infraction to come from, in my case it's a user called "The Automatic Moderator" this line shows up in the users profile where it states the date it was issued and who it was from.

Look for line:
PHP Code:

$pmdm->set('fromuserid'$vbulletin->userinfo['userid']); 

Change to:
PHP Code:

$pmdm->set('fromuserid'$vbulletin->userinfo['userid'] ='xxx'); 

where xxx is the userID you want the PM to come from, this will most likely be the same ID as above and this displays the avatar and info in the PM message to the user

[B]Look for line:
PHP Code:

$pmdm->set('fromusername'$vbulletin->userinfo['userid']); 

Change to:
PHP Code:

$pmdm->set('fromusername'$vbulletin->userinfo['userid'] ='The Automatic Moderator'); 

where The Automatic Moderator is what you want the user to see who the PM came from in the Inbox list. You can type in whatever you want but most likely the Name of the ID you use.

Hope this helps some others!

g0dfather1984 12-17-2010 06:52 PM

Thanks for the help. Was curious about this myself a while back. One small problem. I receive a database error when trying to give an infraction after doing so:

Database error in vBulletin 4.0.8:

Invalid SQL:

SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,


threadread.readtime AS threadread, forumread.readtime AS forumread,
post.pagetext AS description,
thread.*


FROM thread AS thread




LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = User Name)
LEFT JOIN forumread AS forumread ON (forumread.forumid = thread.forumid AND forumread.userid = User Name)

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid = 13035;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Bot)
LEFT JOIN forumread AS forumread ON (forumread.forumid = thread.forumid' at line 14
Error Number : 1064
Request Date : Friday, December 17th 2010 @ 02:46:40 PM

INFAMOU$ 12-20-2010 12:47 AM

interesting.. not sure?! I am running 4.1.0 on mySQL 5.0 no errors?!

CSAdm 09-07-2019 11:11 AM

Sorry to resurrect and old thread. Is there a plugin that will allow you to specify the originator of an infraction? Is everyone successfully using this mod?

HM666 09-09-2019 12:30 AM

Quote:

Originally Posted by CSAdm (Post 2600575)
Sorry to resurrect and old thread. Is there a plugin that will allow you to specify the originator of an infraction? Is everyone successfully using this mod?

When you say "Originator" you are referring to the person who gave the infraction? That is something that I don't think you would accomplish with this. Its something a developer might need to tackle.


All times are GMT. The time now is 07:10 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.01110 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_php_printable
  • (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
  • (8)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