Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Prevent Users With Low Post Counts Posting/PM'ing URLS Details »
Prevent Users With Low Post Counts Posting/PM'ing URLS
Mod Version: 1.00, by NTLDR (Member) NTLDR is offline
Developer Last Online: Oct 2004 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (1 vote - 4.00 average) Installs: 62
Released: 11 Jan 2004 Last Update: Never Downloads: 7
Not Supported  

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:


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

Add after:


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

Find:


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

Add after (making sure you change REPLACE_NUMBER_OF_POSTS_HERE to the number of posts a user must have before being able to post/pm URLS):


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

If you want this to apply to posts only you don't need to do the following edit which is for PM's:

In private.php find:


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

Add BEFORE:


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

Phrases to add:

In Front-End Error Messages add:
Varname: x_contains_urls
Text:

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.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 Jan 2004, 19:26
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Can we get a text install file for this? And, good work there.
Reply With Quote
  #3  
Old 11 Jan 2004, 19:47
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Another one let out of the bag. Good work. This will hopefully stop my rivals advertising their sites to my members lol.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #4  
Old 11 Jan 2004, 21:32
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Real name: Julie
Nice hack this one will really help prevent spamming no?
Reply With Quote
  #5  
Old 11 Jan 2004, 21:37
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
instead of

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

i'd use

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

but rather than that, nice one Lee
Reply With Quote
  #6  
Old 11 Jan 2004, 22:08
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
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.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #7  
Old 11 Jan 2004, 22:14
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
What is a good recommended setting for this?
Reply With Quote
  #8  
Old 11 Jan 2004, 22:16
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
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.
Reply With Quote
  #9  
Old 15 Jan 2004, 18:51
bigdaddy04 bigdaddy04 is offline
 
Join Date: Jan 2004
Great hack!
Is there a similar one to 2.3.x versions?

Erwin, wanna share with us?
Reply With Quote
  #10  
Old 15 Jan 2004, 18:53
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
Erwin released and alternative version for vB2.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #11  
Old 15 Jan 2004, 18:59
bigdaddy04 bigdaddy04 is offline
 
Join Date: Jan 2004
Originally Posted by NTLDR
Erwin released and alternative version for vB2.
Whats it called?
Reply With Quote
  #12  
Old 15 Jan 2004, 19:08
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
Check his profile, you'll see it listed there
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #13  
Old 15 Jan 2004, 19:16
bigdaddy04 bigdaddy04 is offline
 
Join Date: Jan 2004
Originally Posted by NTLDR
Check his profile, you'll see it listed there
i think im going blind, i don't see it..
Reply With Quote
  #14  
Old 16 Jan 2004, 17:51
cirisme cirisme is offline
 
Join Date: Jan 2003
Originally Posted by bigdaddy04
i think im going blind, i don't see it..
here: http://www.vbulletin.org/forum/showt...threadid=44694
__________________
Reply With Quote
  #15  
Old 16 Jan 2004, 19:24
bigdaddy04 bigdaddy04 is offline
 
Join Date: Jan 2004
Originally Posted by cirisme
does that also disable urls in the signatures/pms?
Reply With Quote
Reply


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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 22:20.

Layout Options | Width: Wide Color: