Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ban User from Specific BBCodes / Stop URL Spamming Details »
Ban User from Specific BBCodes / Stop URL Spamming
Mod Version: 1.00, by Michael Morris (Member) Michael Morris is offline
Developer Last Online: Jun 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 8
Released: 26 Jul 2004 Last Update: Never Downloads: 16
Not Supported  

Let's face it - some users are jerks when it comes to posting. They'll use 30 point fonts for the whole darn post or colors that are hard to read and when you ask them to please stop it, you get a cornball response equivalenting to a two-year-old's "I don't wanna, you can't make me!!"

Actually, with this hack you can.

As hacks go, this is one of the simplest that you may ever install but it has a lot of potential flexiability. Instead of holding hands and telling you to replace X with Y at each step, I'm going to tell you how to modify this hack to suit your needs depending on what you want. I promise to do my best at keeping the instructions clear even to those with no coding experience.

This hack can also be used in combination with vbulletin's inbuilt promotions feature to stop new users from using certain bbcodes - most prominently the URL code that spammers are prone to abuse.

This hack was tested on RC4 and gold (3.0.0)

Download Now

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

Supporters / CoAuthors

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
Stop Posting or Creating threads for specific period. Developer vBulletin 3.5 Add-ons 4 23 Feb 2006 19:10
Posts/Threads created by a specific user, since a specific date. merk vBulletin 2.x Full Releases 13 27 Jun 2002 22:30

Comments
  #2  
Old 26 Jul 2004, 14:16
Datenpapst's Avatar
Datenpapst Datenpapst is offline
 
Join Date: Mar 2004
Real name: Martin
Originally Posted by Michael_Morris
Let's face it - some users are jerks when it comes to posting. They'll use 30 point fonts for the whole darn post or colors that are hard to read and when you ask them to please stop it, you get a cornball response equivalenting to a two-year-old's "I don't wanna, you can't make me!!"

Actually, with this hack you can.

As hacks go, this is one of the simplest that you may ever install but it has a lot of potential flexiability. Instead of holding hands and telling you to replace X with Y at each step, I'm going to tell you how to modify this hack to suit your needs depending on what you want. I promise to do my best at keeping the instructions clear even to those with no coding experience.

This hack can also be used in combination with vbulletin's inbuilt promotions feature to stop new users from using certain bbcodes - most prominently the URL code that spammers are prone to abuse.

This hack was tested on RC4 and gold (3.0.0)
hmm turning it off by usergroup is nothing for me. Because creating a new group for some jerks?
__________________
http://www.c-arena.com - http://fm.c-arena.com
Be Part of the CA.com Family
Reply With Quote
  #3  
Old 27 Jul 2004, 13:42
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
it seeems like a really cool hack that i wouldnt expected to be released, but this might come handy for me. thx
Reply With Quote
  #4  
Old 04 Sep 2004, 05:42
Keyser Söze's Avatar
Keyser Söze Keyser Söze is offline
 
Join Date: Apr 2002
yea, a definition of each would be great, like where the ilactic is, or bold

i got this one guy and hes for the most part fine, but he uses ilactic in every post, annoys me, id love to turn that off for him

thanks

-edit-

anyway to make it so they cant use ANY caps?

Last edited by Keyser Söze; 04 Sep 2004 at 06:12.
Reply With Quote
  #5  
Old 15 Oct 2004, 02:02
Computer Mutt's Avatar
Computer Mutt Computer Mutt is offline
 
Join Date: Oct 2004
Whoo. Nice. I'll be using this a lot. Some... lots of people really ask for it.

Reply With Quote
  #6  
Old 05 Nov 2004, 10:00
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Real name: Michael Morris
Originally Posted by Me!
Only one problem I have. Could you please tell me where the img code is located? It doesn't seem to have it listed by itself. I tried disabling each code one-by-one to test (via admin panel) and I have just had no luck.

Thank you
Image Code can't be turned off this simply... But I think there's a way. Try this (Note I haven't tested this)...

Create a usergroup to ban from images and note the #

In /includes/functions_bbcodeparse.php search for this code:


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

Replace the last line (global $vboptions, $parsed_postcache with


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

Directly underneath add this code:


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

X is the usergroup id you want banned from img code.

Search for this code


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

Replace with


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

Backup your /includes/functions_bbcodeparse.php file before applying these changes as they are untested. They don't involve any queries so they can't cause any long term harm to your boards. Let me know if they work (they should unless I've missed something causing a parse error.
Reply With Quote
  #7  
Old 09 May 2005, 00:20
Jenta Jenta is offline
 
Join Date: Dec 2004
i installed this but unless im misunderstanding something it only stops them from viewing bbcode
i ran a test account posted some bbcode. it didnt display for me under the test account
logged in normally and the bb code was parsed
Reply With Quote
  #8  
Old 04 Jul 2005, 17:21
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Can someone update this for 3.0.7

It appears from the last couple of posts there are problems.

I dont want to disable bbcodes all together.

I just want a couple of user groups to not be able to post links in certain forums
Reply With Quote
  #9  
Old 08 Aug 2005, 00:19
YabbaDabba YabbaDabba is offline
 
Join Date: May 2004
vB 3.0.7

This would be brilliant of it would allow me to prevent a certain group from using certain BB codes. Most specifically, I would like to prevent new forum members from using the [url] and [img] tags.

Is this going to be updated?

TIA,
Reply With Quote
  #10  
Old 09 Aug 2005, 20:34
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Real name: Jose Amaral Rego
Well this would be great if I can use it for SWF. I would like it only the Admin. to be the only one to control this.
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


New To Site? Need Help?

All times are GMT. The time now is 12:23.

Layout Options | Width: Wide Color: