![]() |
request
only users with XX posts can send others a PM.. im tired of spammers hiding through PMs
|
doesnt sound that bad ;)
|
in private.php, find:
-- cut --- if (!$fromuserinfo['receivepm'] or !$fromusergroup['canusepm']) { --- cut-- BEFORE that ADD: --cut-- if ($bbuserinfo[posts]<XX) { show_nopermission();exit;} -- cut-- (Dont forget to replace XX with minimum message number) And add the same line, before this line too: -- cut --- if ($message=="" or $touser=="" or $title=="") { -- cut-- Not tested, should work though.. If not, holler and I'll fix it..;) Enjoy! \\=^)) Logician |
i created a dummy user and tried it.. for what i can tell it works just fine. thx Logician
edit: they cant send pms but can they recieve them? i didnt have time to test this. |
Quote:
If you dont want them to get either then you dont need the hack anyway: You can create a new usergroup for these users and disable their pm permanently. This hack makes sense if they can receive, but cant send ;) Regards, Logician |
this is just fine, i was just wondering.. thanks again
|
All times are GMT. The time now is 02:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|