Quote:
Originally Posted by David Bott
Hello...
We use this and it is great. Looking for the same thing but with the PM's as well a spammers are now using that as a way to not only spam, but also SPOOF. Yes, we just had our site spoofed to collect user login info. (IE, a link to a page that looks like us but displays the You are not Logged in...and gives the boxes. This link was offered via PM from a member with zero posts. Thus the need.
Thank you.
|
I was able to get this to work with PM's as well by making a new plugin
Hook

rivate_insertpm_process
Code:
// Restrict URLs
if ($vbulletin->userinfo['posts'] < $vbulletin->userinfo['permissions']['postsforurls'] && preg_match('/\[\/url\]/i', $pm['message'])){
$errors[] = fetch_error('no_urls_for_you', $vbulletin->userinfo['permissions']['postsforurls']);
}
Just did a quick test and it works great for stopping URLs in PM messages.
The mod works fine on my 3.6.8 system.