Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow URLs in posts only after a minimum number of posts (to reduce spam) Details »»
Allow URLs in posts only after a minimum number of posts (to reduce spam)
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 10-16-2002 Last Update: Never Installs: 20
 
No support by the author.

Allow URLs in posts only after a minimum number of posts (to reduce spam)

I did this mini-hack to reduce the amount of spammers and newbie mistakes at my forums. Most of the newbies at my site do not read the rules, and in their enthusiasm post links back to their own sites or forums.

I have made it so that members need to have a minimum number of posts before they can post URLs to website. On my site I've set it to 15, but you can set it to whatever you like. If a member has less than the required amount of posts, when they try to post they get redirected to an error page, telling them that they need to have a minimum amount of posts before they can post links in their post. In my error message, I also tell them to post links to their own site only in our forum designated for website links.

Update: Version 1.1 - fixed up a loophole. Just replace the old code with the new.
Version 2.0 - tidied up the code, added code to editpost.php, made it easier to change the variable


Anyway, installation is a breeze. The installation text file is below:

Show Your Support

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

Comments
  #42  
Old 03-22-2005, 06:46 AM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking for something llike this that works for 3.0 .... and would like to disallow links in sigs completely .... can't believe it doesn't exist...

Erwin, I have installed and enjoyed other hacks of yours that were for 3.0 - [[thanks!! esp. for the PM quick reply]] Any chance you have a version of this hack working in 3.0 and I've just missed it somehow?
Reply With Quote
  #43  
Old 08-10-2005, 05:53 PM
RS25com RS25com is offline
 
Join Date: Dec 2001
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump - any chance of a 3.0 version of this?
Reply With Quote
  #44  
Old 08-15-2005, 12:08 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or a 3.5
Reply With Quote
  #45  
Old 10-09-2005, 09:24 PM
Stu's Avatar
Stu Stu is offline
 
Join Date: Aug 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
Has anyone got a 3.5 solution to this ?

cheers.
Reply With Quote
  #46  
Old 10-09-2005, 11:03 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=96018" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=96018</a>
Reply With Quote
  #47  
Old 10-11-2005, 10:27 AM
Stu's Avatar
Stu Stu is offline
 
Join Date: Aug 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much.
Reply With Quote
  #48  
Old 10-09-2006, 02:08 PM
steveprice steveprice is offline
 
Join Date: Dec 2001
Location: Virginia
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

This is a terrific hack. I was getting over 100 spam posts a day, and this stopped them dead in their tracks. The spammers do everything automatically, so you don't really have to worry about them slipping a post by the moderators and then editing it later - too much bother for them.

On my sites, I do get lots of posts from people who want to show images of things for evaluation, so I edited out the blocks to the strings, "www." and "http". I just block anything with "[url" or "[URL" from a new user. Since the software automatically appends that to any URL that starts with http:// or with www., but not to things that start with [img], it lets through the stuff I want to let through, blocks the trash.

Many, many thanks.
Reply With Quote
  #49  
Old 10-11-2006, 12:09 PM
steveprice steveprice is offline
 
Join Date: Dec 2001
Location: Virginia
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Again

Just discovered a glitch. It works perfectly with new threads and with new replies. But, new replies can no longer be previewed. The "Preview" button acts just like another "Post Reply" button. It also truncates the user name to "by" on the forum index page. This happens with users with hundreds of posts, not just newbies.

Any help you can offer on this would be very welcome.

Thanks.

Added Note: I'm using vBulletin v. 2.2.6
Reply With Quote
  #50  
Old 01-26-2007, 06:07 PM
Moria123 Moria123 is offline
 
Join Date: Aug 2006
Location: Scotland
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way you could get this to work for a specific forum only?

So they would have to post X times in that specific forum before being allowed to post a link rather than the boards as a whole?
Reply With Quote
  #51  
Old 09-27-2007, 10:37 AM
dealxa's Avatar
dealxa dealxa is offline
 
Join Date: Jan 2007
Location: /internet
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm using vbulletin 3.6.8 and your codes didn't find in editpost.php, newreply.php and newthread.php?????
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 09:01 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.04731 seconds
  • Memory Usage 2,299KB
  • Queries Executed 27 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (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_postinfo_query
  • fetch_postinfo
  • 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