The Arcive of vBulletin Modifications Site. |
|
Prevent Users With Low Post Counts Posting/PM'ing URLS Details »»
|
|||||||||||||||||||||||||||
|
Prevent Users With Low Post Counts Posting/PM'ing URLS
Developer Last Online: Oct 2004
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. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Can we get a text install file for this? And, good work there.
|
|
#3
|
||||
|
||||
|
Another one let out of the bag. Good work. This will hopefully stop my rivals advertising their sites to my members lol.
|
|
#4
|
||||
|
||||
|
Nice hack
this one will really help prevent spamming no?
|
|
#5
|
||||
|
||||
|
instead of
PHP Code:
PHP Code:
|
|
#6
|
||||
|
||||
|
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.
|
|
#7
|
||||
|
||||
|
What is a good recommended setting for this?
|
|
#8
|
||||
|
||||
|
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.
|
|
#9
|
|||
|
|||
|
Great hack!
Is there a similar one to 2.3.x versions? Erwin, wanna share with us?
|
|
#10
|
||||
|
||||
|
Erwin released and alternative version for vB2.
|
![]() |
|
|