Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts Details »»
Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts
Version: 1.01, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-10-2005 Last Update: 01-10-2006 Installs: 335
Uses Plugins
 
No support by the author.

Just as the title says - if a user has fewer than 15 posts, he will be unable to post a link or an image within a message.

This mod was originally done by Erwin for VB 2.x, and is ported with his kind permission.

It is a product. To install, simply import the xml.

(please note Andreas's fixes below if you have problems with scripts that post automatically)

Amy

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 08-19-2006, 06:56 PM
Kyderoy Kyderoy is offline
 
Join Date: Feb 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work in 3.6?
Reply With Quote
  #143  
Old 08-19-2006, 07:02 PM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using it fine on a 3.6 forum.
Reply With Quote
  #144  
Old 08-19-2006, 07:32 PM
Kyderoy Kyderoy is offline
 
Join Date: Feb 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I wil install it.
Reply With Quote
  #145  
Old 08-20-2006, 04:08 PM
wtricks's Avatar
wtricks wtricks is offline
 
Join Date: Aug 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed it. Will slow down the spammers and the "1 post wonders".
Reply With Quote
  #146  
Old 08-27-2006, 02:11 AM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForrestBlack
Hey Amykhar, thanks for doing this add-on. I really liked the former version and this one helps me out a bunch as well. I did notice that the previous version we were using for vb3.0.x was a bit more sensitive, in that it blocked anything with a .com or .net mentioned in the post, in addition to http etc. Now, I'm getting URL spam that isn't actual links.

So, I added

Code:
or stristr($pagetext,'.net') or stristr($pagetext,'.com')
to the xml and it seems to work great.

Just wanted to add my suggestion, take care.

Just keep in mind that adding this will now make it so mailto's cannot be posted either. That is a good thing because many spammers are now posting cell phone spam with an e-mail contact. But this change also means someone posting a classifed ad or some other post where they include an e-mail link will not be able to post...
Reply With Quote
  #147  
Old 08-30-2006, 03:45 PM
mrfixit mrfixit is offline
 
Join Date: Nov 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working for me just great on Version 3.5.4

Installed.

Thanx
Reply With Quote
  #148  
Old 08-30-2006, 03:52 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTOA
Just keep in mind that adding this will now make it so mailto's cannot be posted either. That is a good thing because many spammers are now posting cell phone spam with an e-mail contact. But this change also means someone posting a classifed ad or some other post where they include an e-mail link will not be able to post...
Thanks for the tip.
Reply With Quote
  #149  
Old 09-04-2006, 10:33 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My member complained of the below error:

Quote:
: ok i really have no idea how to explain it, cuz im not sure of lyrics or anything. i heard it on the radio a few times and i like it alot.

i think it goes like this

"ah yea ah yea, im a not forget, all that you've done for me, all that you've done for me..."

btw who has heard "My Savior, My God"? by Aaron Shust. I absolutely love that song!"


it gave me this error...

"You are only allowed to post URLs to other sites after you have made 50 posts or more and received permission from the Administrator."

My plugin "forbid links for users with fewer than 50 posts.." shows this:

Code:
global $vbulletin;
        $pagetext =& $this->fetch_field('pagetext', 'post');
        if (($vbulletin->userinfo[posts] < 50) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or 
stristr($pagetext,'http://'))) 
    {
             //eval(standard_error(fetch_error('error_nourlallowed')));
                $this->error('error_nourlallowed');
                $return_value = false;
    }
Reply With Quote
  #150  
Old 09-07-2006, 08:24 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this hack working in 3.6? this was released for 3.5 rc3 thats why im asking
Reply With Quote
  #151  
Old 09-07-2006, 09:04 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to be on my site. I haven't tested specifically, but I'm not seeing spammers posting links either. I do see them frantically posting to try to reach the minimum count from time to time though
Reply With Quote
Reply


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


All times are GMT. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08937 seconds
  • Memory Usage 2,310KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete