![]() |
DRC - User must verify their site (prevent spam links in postbit & profiles)
1 Attachment(s)
Tired of users posting random ass sites as their site and having all sorts of links to garbage sites on your board?
Here's an easy solution, lets make them verify they own the site they enter as theirs! This modification does require a file edit, I will port to a mod when I find time. open profile.php and find: PHP Code:
PHP Code:
this will only take effect when users edit their details. When they submit their changes, the code does the following: - if homepage url is blank - set the field to blank - if homepage url is not blank - checks what's in the box and replaces bits of text to get the domain - opens a connection to the site entered and looks for the file drc_site_verification_USERID.txt - if that file exists, go ahead and change their domain Edit YourOwnAnagram to be something unique that other sites wont be using also. example, I use drc Then in phrases search for: Quote:
Quote:
This is a method of spam prevention I have not seen on here before, so I hope you guys get some use from it =) This will not effect any sites already entered by your users, if you need to clear all sites entered by users you can use the following query: Code:
UPDATE user SET homepage = ''; |
thanks nice mod i had to make a small change with url
for those with https from http :up: |
Quote:
The way it is built, no matter what combination the user has entered into their URL, IE: site.com http://site.com https://site.com http://www.site.com ALL will return http://site.com/verification_file.txt there is no need to change anything in the code, it will work on http or https, and has been tested |
Quote:
not sure whats going . but not working using a test user,I even checked to see is fopen is enabled. |
Quote:
|
In fact, vbulletin.org should use this plugin too.
Most of the users have added a fake website profile. |
All times are GMT. The time now is 03:14 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:
|