vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts (https://vborg.vbsupport.ru/showthread.php?t=96018)

Paprika 12-04-2007 08:26 PM

I installed it on my 3.6.8 board and YES it does work.

Gez 01-10-2008 09:06 AM

Excellent, thanks!

kronnos 01-22-2008 03:51 PM

IS it possible to also use this hack to prevent users from using the private message or making posts in certain forums until they have the required number of posts? Also, anyone tried this for 3.6.7?

Chadi 02-21-2008 08:59 PM

This is not working any longer for me, not sure why. Plugin is active too.

postdata_presave

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,'.com') or
stristr($pagetext,'.net') or
stristr($pagetext,'.org') or
stristr($pagetext,'http://')))
    {
            //eval(standard_error(fetch_error('error_nourlallowed')));
                $this->error('error_nourlallowed');
                $return_value = false;
    }


threadfpdata_presave

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;
    }

It used to work.

naomi 02-26-2008 06:07 PM

Sorry Chadi, I am a newbie so I don't have any advice.

I just installed it on 3.6.8 and it works just fine. Thank you :)

Chadi 03-10-2008 03:24 AM

Can anyone else get this working?

pmkb 03-23-2008 02:42 PM

This mod has prevented two raids on one of my forums this week. Outstanding. :)

Chadi 03-23-2008 04:33 PM

If anyone can get this working for 3.6.8 that would be great.

pmkb 03-27-2008 01:35 PM

It's working fine on my 3.6.8 forum.

Alien 03-30-2008 08:52 PM

Anyone get this one working with 3.7?

Chadi 04-04-2008 06:40 PM

Quote:

Originally Posted by pmkb (Post 1475864)
It's working fine on my 3.6.8 forum.

That's great. But it won't work for many others here including myself.

dethfire 04-09-2008 01:40 PM

does this work in 3.7?

pmkb 05-09-2008 12:15 AM

Amykhar, will you be updating this for 3.7? It still works for forum posts, but not for public social groups (I'm not sure if it's blocking links/images in visitor comments to profile pages).

Titania 05-16-2008 11:41 AM

Quote:

Originally Posted by Alien (Post 1478581)
Anyone get this one working with 3.7?

Works perfectly on my 3.7 :)

angeldevil 09-24-2008 11:24 PM

Can u update this MOD for 3.7 pls amykhar rly need it for my forum

The Dawg 10-29-2008 05:59 PM

Any news on the 3.7.x ?

WEBDosser 01-18-2009 03:33 PM

still working 3.8.0

AskTheTrainer 03-09-2009 09:21 PM

Awesome

Canadianbacon 08-03-2009 05:41 PM

Would be really nice to change the number of required posts....

AndrewRich 08-10-2009 10:35 PM

Installed. Would be nice to be able to change the minimum number and "you can't do that" phrase from inside vB Admin rather than having to change the XML file and re-import.

dmarkwith 08-11-2009 05:49 AM

Just installed this baby. Let's hope it works!

I'd love for new users to be able to post images but couldn't seem to figure out how to disable that part. I'm mostly just worried about URL's.

Speaking of which, if I wanted to block .com's and .net's, would I just add this into the code?

Code:

or stristr($pagetext,'.com') or stristr($pagetext,'.net') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))

Thanks!

:)

AndrewRich 08-25-2009 10:29 PM

Disabled (not uninstalled, yet). It was causing the RSS Poster Robot to silently fail and also cause Reported Posts to be shunted to email instead of properly going to the Reported Posts forum. I see there is a manual fix for these issues which I'll be adding at some point.

Jamey 09-15-2009 02:12 PM

Thanks! I will try this.

mikeinjersey 01-21-2010 11:40 PM

can anyone confirm if it works with 4.0 ? this has been very helpful...anti-spammer wise.

AndrewRich 02-01-2010 11:25 PM

I (finally) applied Andreas' fix and the mod now works without issue. The two problems we had were with reported posts and RSS auto-posts, and I tested both of those scenarios after installing the fixed version.

I also changed the error message from "You are only allowed to post URLs to other sites after you have made 15 posts or more." to "You may not post URLs or inline images, or report other users' posts, until you have made at least 15 posts."

INSTALLED on mousepad.mouseplanet.com.

Here is the updated (fixed) version including the revised error message. This will save time in downloading the original and patching it.

ndebarnot 03-10-2010 11:46 AM

hello,
i'm in v3.8.4
It seems this product is not compatible with "reported posts are creating new threads" functionnality :
no threads are auto-creating anymore when activating this module.
Does anyone else have this problem ?
thanks !

ndebarnot 03-16-2010 09:07 AM

The AndrewRich's solution works great.
thanks !

mikeinjersey 05-07-2010 10:59 PM

believe it or not...it still works in 4.0.3. (the fundamentals atleast)

If there's anything we should know...plz let us know.

also, any word if this will be updated soon ?

sGroupInt 09-17-2010 03:00 PM

Installed and working great.
Just wondering, does this modify past posts from users with less than 15? Deleting their images or links?

Or does it just restrict future posts?

Thanks.

EDIT: Ah, never mind. I found a user with 1 post with a pict.

0verl0rd 10-21-2010 08:41 AM

does this work on vb4 ?

mediabutton 02-01-2011 02:23 PM

it would be so awesome if this worked in 4.1.1

d1414 04-09-2011 02:56 AM

I could REALLY use this for the newest versions of vbulletin 4.x. Why vbulletin would code it in that we can limit bb code in blogs and sigs but not posts is beyond me.

mr1dul 05-12-2011 02:18 PM

thanks for nice plugin


All times are GMT. The time now is 11:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01337 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete