Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
DRC - User must verify their site (prevent spam links in postbit & profiles) Details »
DRC - User must verify their site (prevent spam links in postbit & profiles)
Mod Version: 1.00, by Dr.CustUmz (Coder) Dr.CustUmz is offline
Developer Last Online: Jul 2021 I like it Show Printable Version Email this Page

vB Version: 3.8.11 Rating: (1 vote - 5.00 average) Installs: 3
Released: 25 Nov 2020 Last Update: Never Downloads: 0
Supported Code Changes  

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plain text breakdown of this code for people not code savey,
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:
let_other_visitors_know_url
You can replace this phrase with anything you like letting your members know. I use:
This option will allow you to display a link to your site in all your forum posts.<br>
<br>
Before your site is displayed you must verify ownership, to do this you need to: <br>
Place an empty file with the name: drc_site_verification_<b>ID</b>.txt<br>
<br>
Where <u>ID</u> is your ID on our forum. <br>example: <i>http://domain.com/drc_site_verification_100.txt</i><br>
<br>
<i>If this file is not found, your homepage URL will not be updated!</i>
<br>

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools (Extra Spam Protection) Prevent Posting Of Links On User Group Per User Group Basis borbole vBulletin 4.x Add-ons 51 18 Jun 2019 19:39
Add-On Releases [DRC] - Core (Required for DRC products) Dr.CustUmz vBulletin 3.8 Add-ons 0 09 Feb 2017 00:56

Comments
  #2  
Old 29 Nov 2020, 12:03
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
thanks nice mod i had to make a small change with url

for those with https from http
__________________
Android Custom Creations
Reply With Quote
  #3  
Old 29 Nov 2020, 20:39
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Originally Posted by puertoblack2003 View Post
thanks nice mod I had to make a small change with url

for those with https from http
you want it as I typed it, a file can be requested through http even though it is on https, but not vice versa.

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
__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote
  #4  
Old 29 Nov 2020, 21:57
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Originally Posted by Dr.CustUmz View Post
you want it as I typed it, a file can be requested through http even though it is on https, but not vice versa.

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

not sure whats going . but not working using a test user,I even checked to see is fopen is enabled.
__________________
Android Custom Creations
Reply With Quote
  #5  
Old 29 Nov 2020, 23:42
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Originally Posted by puertoblack2003 View Post
not sure whats going . but not working using a test user,I even checked to see is fopen is enabled.
it works, the users URL will not be updated if the TXT file is not on the domain
__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote
  #6  
Old 30 Nov 2020, 17:02
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
In fact, vbulletin.org should use this plugin too.
Most of the users have added a fake website profile.
__________________
Donations always appreciated.
vByilmaz.com
vBulletin-forum.de
Nobody has a monopoly on vBulletin templates. Stay away from selfish, self-righteous and parasitic.
Reply With Quote
Reply

Tags
drc, ownership, prevent, spam, verify


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:18.

Layout Options | Width: Wide Color: