![]() |
Prevent Users With Low Post Counts Posting/PM'ing URLS
Title: Prevent members with low post count posting/pm'ing urls.
Author: NTLDR Version: 1.0.1 vB Compatibility: vB3 Gamma, RC1, RC2 Description: I created this hack a while ago for use on my board to prevent people signing up and just posting a URL. This hack will prevent users with less than X posts from PM'ing or posting URLs. File edits: In includes/functions_newpost.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
In private.php find: PHP Code:
PHP Code:
In Front-End Error Messages add: Varname: x_contains_urls Text: Code:
Your $typephrase contains one or more URLs, please remove them before submitting your message again. |
Can we get a text install file for this? And, good work there. ;)
|
Another one let out of the bag. Good work. This will hopefully stop my rivals advertising their sites to my members lol.
|
Nice hack :) this one will really help prevent spamming no?
|
instead of
PHP Code:
PHP Code:
|
I had that origionally but it didn't seem to work, although I think that was due to me using $post['pagetext'] which doesn't exisit :P
Thanks for the comments Stefan :) I've updated the first post with this change. |
What is a good recommended setting for this?
|
I've had this running on my site for 2 years now. But I use a much shorter piece of code to achieve a similar result.
|
Great hack!
Is there a similar one to 2.3.x versions? Erwin, wanna share with us? :) |
Erwin released and alternative version for vB2.
|
All times are GMT. The time now is 09:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|