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
  #72  
Old 01-09-2006, 02:00 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Original file updated.

One thing I have noticed, if you use the wysiwyg editor and post a link, deleting the link doesn't seem to always get rid of the vb code for the link. You have to view the actual post by switching editor mode and then clean out that vb code.
Reply With Quote
  #73  
Old 01-10-2006, 01:45 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, thanks Amy
Reply With Quote
  #74  
Old 01-10-2006, 09:42 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what am i doing wrong? i downloaded, installed as as a product on 3.5.0 (with security patches), checked that it was enabled, added a new testuser through admincp and tested, and it doesnt prevent links from being posted

aaarrrgghhhh
Reply With Quote
  #75  
Old 01-11-2006, 05:31 AM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question, how can I make mods and admin exempt from this?
Reply With Quote
  #76  
Old 01-11-2006, 02:06 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 dsotmoon
what am i doing wrong? i downloaded, installed as as a product on 3.5.0 (with security patches), checked that it was enabled, added a new testuser through admincp and tested, and it doesnt prevent links from being posted

aaarrrgghhhh
I don't see your forum listed on your homepage, so I can't support you.
Reply With Quote
  #77  
Old 01-11-2006, 02:07 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 Nam
Quick question, how can I make mods and admin exempt from this?
Make them post more

No, seriously, in the check for posts in the plugin, exclude your mod and admin usergroups.
Reply With Quote
  #78  
Old 01-11-2006, 04:22 PM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I've checked the code, where can I add mod and admin usergroups?

PHP Code:
$pagetext $vbulletin->GPC['message'];
if ((
$vbulletin->userinfo[posts] < 15) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://'))) {
             eval(
standard_error(fetch_error('error_nourlallowed')));
        } 
Reply With Quote
  #79  
Old 01-23-2006, 07:54 PM
Guest210212002
Guest
 
Posts: n/a
Default

I have this installed, and it's been working perfectly up until today. Apparently new members (today, a guy with two posts) are able to post links if they wrap them in URL tags.

Eg:

Code:
[ url=www.spam.com]Free iPod![/url ]
Reply With Quote
  #80  
Old 01-27-2006, 02:47 PM
bondjetta's Avatar
bondjetta bondjetta is offline
 
Join Date: Sep 2004
Location: chicago
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone else noticed that this hack causes the Article Bot hack to stop running? Any ideas why? My article bot has 130+ posts so it's not a post count issue...thanks
Reply With Quote
  #81  
Old 01-27-2006, 04:06 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't use the article bot; so I'm not going to be of any help with that question.
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 02:06 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.04746 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)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
  • (10)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