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)

eglim 04-18-2006 03:09 PM

sorry for un wanted question .. but how I can install this? when I click on Add New Plugin, it also ask for Hook Location, I not made any changing only copy past all stuff from XML file in Plugin PHP Code and write a title..

but it still post URL even I have 2 post.. i also try using non admin user name.

csidlernet 04-21-2006 10:17 AM

hurray. thanks.

Ratchet 04-21-2006 03:03 PM

Does this work ok with vb 3.5.4?

EdQ 04-26-2006 12:31 AM

Quote:

Originally Posted by Ratchet
Does this work ok with vb 3.5.4?

Works for me.

eglim 04-26-2006 06:46 AM

but what about my question.. How I can install this

I, Brian 05-17-2006 06:31 AM

Quote:

Originally Posted by amykhar
It's not blocking smilies for new users on my site. At least not from my experience. It would stop them from posting remote smilies, but it doesn't seem to impact the local ones.

It's blocking local smilies on the three forums I have it installed on. Took me ages to figure out what the problem was when new users complained that they were losing posts even without posting links.

I'd be grateful for any recommendations on what to edit in the code to prevent images from being treated as links.

[Added: It may be that the vbseo hack provides absolute URLs rather than relative URLs, which is why they may be being seen as links??]

Nick0r 06-06-2006 05:12 AM

This hack is conflicting with AE login detector, is there a fix?

amykhar 06-06-2006 10:48 AM

I don't know. I don't use that mod.

phonexpo 06-06-2006 01:01 PM

Quote:

Originally Posted by Nick0r
This hack is conflicting with AE login detector, is there a fix?

What's the problem I have AE login detector too?

Nick0r 06-06-2006 07:17 PM

It can't/won't post reports to forums with this hack installed.

amykhar 06-07-2006 12:28 AM

There's a fix posted. Read the thread.

Robert Fogt 06-08-2006 10:51 AM

Absolutely wonderful product. Thank you!!

I went from getting 10 to 12 spam posts a day down to 0. Thats right, ZERO!

All I changed was the error message. I did not want them to know they needed 15 posts, or they would just post 15 fake messages in a row, so my error message just says that new users cant post links instead.

tamborinegal 06-17-2006 04:25 AM

Works perfectly. Thank you Amy.

Clancy

amykhar 06-17-2006 04:26 AM

Glad you like it :)

almukmin 06-24-2006 08:38 PM

Quote:

Originally Posted by Megareus Rex
I don't think this has been addressed...

For my site, when a member with less than 15 posts tries to log on, instead of the "you've logged on" page, they get the "users with too few posts cant post links" page. They still log on successfully, but it doesn't redirect them, and could cause confusion.

EDIT: Hmmm, apparently, it only happened once, with an admin-created account. Odd.

I've gotten the same error when I log in from just the url but if i had the /index.php at the end. That error isn't showing up.

jbd 06-26-2006 10:59 AM

noticed this works fine in 3.5.4, however it is not compatible with articlebot, i.e. even when the user has more than 15 posts, articlebot will not post anything.

I had to disable the hack so articlebot would work.

amykhar 06-26-2006 11:10 AM

a fix to make it work with articlebot was posted in this thread ;)

karlm 07-26-2006 02:39 AM

just to let you know, Amy, I've installed this on my test forum and a test account worked well with it - for my testing so far (10mins).

Great product!

/me clicks the install thingy.

amykhar 07-26-2006 11:19 AM

Glad you like it Karl :)

ForrestBlack 08-16-2006 11:35 PM

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.

Kyderoy 08-19-2006 06:56 PM

Will this work in 3.6?

Darat 08-19-2006 07:02 PM

I'm using it fine on a 3.6 forum.

Kyderoy 08-19-2006 07:32 PM

Thanks, I wil install it.

wtricks 08-20-2006 04:08 PM

Installed it. Will slow down the spammers and the "1 post wonders".

SVTOA 08-27-2006 02:11 AM

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...

mrfixit 08-30-2006 03:45 PM

Working for me just great on Version 3.5.4

Installed.

Thanx

amykhar 08-30-2006 03:52 PM

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. :)

Chadi 09-04-2006 10:33 AM

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


Keyser S?ze 09-07-2006 08:24 PM

is this hack working in 3.6? this was released for 3.5 rc3 thats why im asking

amykhar 09-07-2006 09:04 PM

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 :D

Keyser S?ze 09-07-2006 11:59 PM

great, what i am going to do is have it just say "you do not have permission" not say why, maybe ill add feel free to contact a moderator, something like that

amykhar 09-08-2006 12:52 AM

By the way, it's really, really funny to watch the spamers sign up, do backflips to get their posts in, post and post the spam link only to have the spam immediately zapped by a moderator. Great fun, indeed :D

Darat 09-08-2006 08:57 AM

I've been using this since we upgraded to 3.6 and it works as well as it ever did under 3.5.x.

It has saved the Moderating Team on my forum a lot of work - albeit I have to admit I don't like the fact it is as if we treat new members as "guilty until proved innocent" - but that's the way of the world.

Great mod.

davidw 09-14-2006 11:35 PM

Amy, how hard would it be to alter the plugin to include email as well - or would that not be feasible?

Would it be something to the effect of modifying the code to something like this?

Code:

if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[EMAIL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))

phonexpo 09-14-2006 11:44 PM

Quote:

Originally Posted by christianb
Amy, how hard would it be to alter the plugin to include email as well - or would that not be feasible?

Would it be something to the effect of modifying the code to something like this?

Code:

if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[EMAIL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))

plugin - Replace email addresses in posts

;)

davidw 09-15-2006 12:02 AM

While that link may have good intentions, it doesn't fit the criteria. I'm needing the email link removed from only the posts that coincide with this particular plugin (in my case - less than 3 posts). Other than that, it doesn't matter.

mpage 10-04-2006 08:01 PM

This is a great mod, does anyone know of a version for Vbull 3.0.1, or has anyone tried this particular mod with 3.0.1. This would really solve alot of problems, thanks.

amykhar 10-04-2006 08:47 PM

I'm not sure, but Erwin's version may work for 3.0.x

I, Brian 10-05-2006 09:46 AM

Here's for 3.0.x:
https://vborg.vbsupport.ru/showthread.php?t=60076

mpage 10-06-2006 12:20 PM

ok ive tried it on a 3.5 vbull site it works great. I tried to modify it to include emails to however it didnt seem to work? i tried the following:
i
f (($vbulletin->userinfo[posts] < 15) and (
stristr($pagetext,'[url')
or stristr($pagetext,'[URL')
or stristr($pagetext,'[email') ....

this doest seem to work, ive tried this to
or stristr($pagetext,'@') ....
that also makes no difference

any idea how i might incoperate email too?


All times are GMT. The time now is 09:34 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.01586 seconds
  • Memory Usage 1,819KB
  • 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
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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