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.


All times are GMT. The time now is 02:56 AM.

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.01206 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
  • (2)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