vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Private Messages Enhancements - Restrict Private Messages to Public if not Enough Posts (https://vborg.vbsupport.ru/showthread.php?t=234294)

Darkwaltz4 01-26-2010 10:00 PM

Restrict Private Messages to Public if not Enough Posts
 
1 Attachment(s)
This is a very small mod which will prevent users from sending private messages to anyone except the designated staff group (like admin) if they are below a certain threshold of post count.

Recently I've had two spam attacks in quick succession made via PM to dozens of my users in my community from spammers who verified their email address and didn't bother posting. Those are very annoying to find and clean up via the database, so better to stop it at the source.

There are two settings in the Private Messaging options section, one is the minimum post count needed to have free use of the private message system, and second is the sole usergroup they can contact via private message if they do not meet that minimum. For example, someone might not be able to post due to some technical issue, but still needs to tell the staff about it somehow! Besides, my particular spammers made sure they did not target any staff members...

I made this in about ten minutes to solve my own spam issue, so I will most likely not expand on it, but I will help with whatever minuscule support might be required.

edit: thank you similar threads for finding pretty much the same mod from a couple vb versions ago! I tried searching before I began but didnt find anything in the first few pages. Oh well, mine's slightly more straight-forward internally :p

robdawg 01-27-2010 04:11 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=177704" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=177704</a>

Really good one.

MagicThemeParks 01-27-2010 11:13 PM

I've been experiencing some of the same as a member of some other sites. Good work on this one :up:

choccyclaire 01-28-2010 10:34 AM

Quote:

Originally Posted by robdawg (Post 1968108)

Some people might not want all them other settings that come with cyb's mod.

Thanks Dark. :)

PixelFx 01-28-2010 11:27 PM

nice just what we needed :P

Silencer Groans 01-31-2010 01:49 AM

thanks

Black Tiger 01-31-2010 11:48 PM

I know exactly what you're talking about. Didn't understand you were going to make the mod yourself, however... you can, because you're a coder.:)

Nice work Darkwaltz4, marked this one installed!

Black Tiger 02-01-2010 12:23 AM

Ehmz... where can I find the settings for this? I checked the Admincp and the Vbulletin Options in ACP, but can't seem to find the setup options.

DefenceTalk 02-01-2010 05:49 AM

Thanks!

I've been using Group permissions and Group Promotions to control this for years but a mod helps. :)

Darkwaltz4 02-01-2010 03:38 PM

The settings are in the private message settings for vbulletin. Theres just two.

:p I also noticed in the user editor that you can delete PMs sent from a user! Would have really simplified what I was trying to do :-/ but it seems to be working to stop it from happening in the first place, and several members coming to me asking why they got email/popup alerts about new messages, and nothing being there.

Black Tiger 02-01-2010 09:02 PM

Quote:

The settings are in the private message settings for vbulletin. Theres just two.
Is it perhaps these ones?
Minimum Posts to Message Public
and
Valid Recipient Usergroup When Restricted

If yes... maybe the second one could be changed because it's better if one can define usergroups. That way, the users can write to Admins and also to mods and/or supermods.
The way it is now if you choose supermods, they can't write to Admins, which is a pity.

AndrewRich 02-02-2010 02:04 AM

INSTALLED on mousepad.mouseplanet.com. Thanks!

accludetuner 02-16-2010 04:36 AM

Perfect! Thank you!

brute4c 02-16-2010 10:40 AM

THANK YOU!! Installed at m715zone.com

Anything to get rid of these jerks.

Darkwaltz4 02-18-2010 06:30 PM

youre welcome guys :D

Selespeed 04-16-2010 10:29 PM

Love it, thanks! All I need now is way to prune the spammer's PMs ;)

BeefyBeefo 04-28-2010 01:24 AM

**Installed**

Thanks so much! It works great!!

Alecsmith 04-28-2010 05:34 AM

Install thanks

me too facing similar problem few spammer sending spam online scanner mail to my forum members.

Darkwaltz4 04-29-2010 03:23 PM

Quote:

Originally Posted by Selespeed (Post 2022434)
Love it, thanks! All I need now is way to prune the spammer's PMs ;)

actually, if you go to that user's profile in admincp, there is a command in that big dropdown to delete all PMs!

Black Tiger 04-29-2010 06:56 PM

There is also a nice mod with inline moderation for that so you don't need to go to the admincp to clean these users and their posts.
One touch Spam Ban and Cleanup
I've got it installed together with Darkwaltz4's mod, works great against spammers.

To remove their pm's you still have to go to the ACP.;)

masterme 05-02-2010 09:35 AM

Nice mod, but would like to be able to set more than one designated staffgroups.

el-q6ri 05-07-2010 11:10 AM

It will be better if it possible to make more than one user group to recive PM.

NickyDee 02-19-2011 10:55 PM

Any chance you could give me a vague run-down of how this works? I'm going to make something along these lines for my vB4.1 forum.

Ro7 Qatif 05-14-2011 11:24 AM

Hey, is it possible to not include one group from this setting?
e.g. I set the option to disallow sending PMs unless member has 1000 posts minimum, is it possible to let members from group 11 for example to send PMs even if they have less than 1000 posts?

Black Tiger 05-14-2011 01:49 PM

No that is not possible. Would be a nice feature tho.

Darkwaltz4 05-16-2011 01:53 PM

Quote:

Originally Posted by NickyDee (Post 2164443)
Any chance you could give me a vague run-down of how this works? I'm going to make something along these lines for my vB4.1 forum.

When attempting to send a PM, if the user is under the post count threshold and they are including recipients outside of the specified usergroup, they are given an error.

I guess if I were to do an update (doubtful) I would have two usergroup settings vs two global settings - "Can be contacted when below post count threshold" and "Post count threshold to restrict PM recipients" - in case anyone would like to try making such an addon :p

Scyther 06-30-2011 03:14 AM

marked installed...very good mod

Super-six 03-03-2012 03:01 PM

This is a nice mod. Someone should bring it into v 4.x.x

rpgamersnet 03-04-2012 11:07 PM

Installed flawlessly on my forum, 3.8.x. Great mod, thank you.

Paul Stenning 06-22-2022 09:56 AM

Excellent thank you. Small straightforward mod which works perfectly on v3.8.11, and should stop the spam and scam PMs being sent to members by new zero-post members.


All times are GMT. The time now is 05:20 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.01972 seconds
  • Memory Usage 1,769KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete