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)

amykhar 09-10-2005 10:00 PM

Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts
 
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

monstergamer 09-10-2005 11:47 PM

great mod :)

thanks amy

ReadOrDie 09-10-2005 11:48 PM

I'm installing this, thanks.

Dez_U 09-10-2005 11:56 PM

great idea, installing :)

Martin 09-11-2005 12:08 AM

Yes!!! The end of Free iPods as we know it!!

Boofo 09-11-2005 12:27 AM

Amy, would there be a way to set this up with a setting for how many posts they must have, instead of the 15?

Michael2 09-11-2005 12:58 AM

I had this on vB 3.0 and liked it but it didn't take long for spammers to find a way around it. Still, anything that cuts down on our work is great. Thanks! :)

amykhar 09-11-2005 01:02 AM

Quote:

Originally Posted by Boofo
Amy, would there be a way to set this up with a setting for how many posts they must have, instead of the 15?

All you have to do is change one number in the code and phrase Bob. It's not something that I think people will be changing often enough to warrant a control panel setting.

007 09-11-2005 01:03 AM

I agree with Boofo. It would be much better with a setting.

Heck, it would be awesome if it were usergroup based with how many links per post or per sig too.

Some n00bs like to sign up and put links in their sigs, and then spam. This could evolve into a sig link limiter too.

Just some thoughts. Good hack though.

*licks the install button*

mmmmm...

Martin 09-11-2005 01:34 AM

You have to edit 1 number in the XML. A setting for that would just add clutter to the ACP

ReadOrDie 09-11-2005 01:50 AM

What about the image thing? Is it possible to take that off? I've had alot of users at my website that post their avatars or sigs when they first join in thread...And as for the other guy who said spammers find a way around it by putting the link in their sigs, I think someone should make a mod, or possibly edit this one that censors the link with *15 posts needed to display link* when someone puts a link in their signature.

Boofo 09-11-2005 01:57 AM

Quote:

Originally Posted by Martin
You have to edit 1 number in the XML. A setting for that would just add clutter to the ACP

Not if it was usergroup based as well. ;)

amykhar 09-11-2005 02:20 AM

Gang, I don't need bells and whistles. For a free mod, you get what I need. Other than that, tweak to your heart's desire.

Boofo 09-11-2005 02:51 AM

I'll handle it, Amy. ;)

Zelda-King 09-11-2005 08:48 AM

I'll say one thing about the phrase (by the way this is working great! :)): It only mentions that you can't post URLs.

No matter, phrases are easily edited. Fixed mine.

Martin 09-12-2005 11:48 PM

Amy, this is not working on RC3 for me. I installed it last night and 2 newbies have registered and posted link today.

amykhar 09-13-2005 01:16 AM

It's working on RC3 for me. At least it did on my test account. Try it out on my site please. More testing couldn't hurt.

I wrote the plugin specifically for RC3. Before that, I had it as a code mod on my site. But, there could be ways around it that we might need to plug up.

Amy

Martin 09-13-2005 03:13 AM

I was able to post a link on your forum:
http://www.eaforums.com/forums/getti...tml#post446669

amykhar 09-13-2005 03:17 AM

Yep. I saw. I wonder why it works for my test account?

Amy

Martin 09-13-2005 05:07 AM

I derno

Martin 09-13-2005 05:26 AM

it seems to work now on your board.

Boofo 09-13-2005 10:58 AM

Amy, is there an update with a fix for this or is it working ok now? The last few messages are confusing. ;)

amykhar 09-13-2005 11:24 AM

I'm releasing the update now. Wait for the email.

Amy

Delphiprogrammi 09-13-2005 12:43 PM

now this is a great thing i love this

/me clicks install

NewOrder 09-15-2005 04:41 PM

will it still work if i edit the xml and change everything 15 to 10 using the replace tool??

(sorry im new to all this)

amykhar 09-15-2005 05:20 PM

Yes, it should. There aren't any other 15s in there.

Mr Chad 09-15-2005 09:13 PM

Quote:

Originally Posted by Zelda-King
I'll say one thing about the phrase (by the way this is working great! :)): It only mentions that you can't post URLs.

No matter, phrases are easily edited. Fixed mine.

Very nice, im sick of people spamming sites.

EdQ 09-16-2005 12:57 AM

Quote:

Originally Posted by 007
I agree with Boofo. It would be much better with a setting.

Heck, it would be awesome if it were usergroup based with how many links per post or per sig too.

Some n00bs like to sign up and put links in their sigs, and then spam. This could evolve into a sig link limiter too.

Just some thoughts. Good hack though.

*licks the install button*

mmmmm...

Yep, noticed that it doesn't work in the sig. It still helps. ;)

amykhar 09-16-2005 01:27 AM

I think the sig thing should be a different sort of hack. It should be user-group based and apply to links, images, size of images, etc. I've never had a major signature issue on my board. If people post inappropriate sigs, they are reported and we handle them.

I don't care if somebody links to their site in their sig. That's what networking is all about ;)

Amy

007 09-16-2005 06:31 AM

I just installed this on a fresh copy of vb and as an admin I can't post a link to another thread on the forum, within the same domain. Not really a bug since as the admin, 15 posts isn't hard to come by.. (lol), but still something that might be worth putting a conditional in for.

Delphiprogrammi 09-16-2005 07:57 AM

Quote:

Originally Posted by 007
I just installed this on a fresh copy of vb and as an admin I can't post a link to another thread on the forum, within the same domain. Not really a bug since as the admin, 15 posts isn't hard to come by.. (lol), but still something that might be worth putting a conditional in for.

that's not a bug an admin is in most cases the site owner ... or a verry trusted person it isn't that hard to edit somebody's postcount ey ... also carefull with installing copys of vb 1 licence == one forum (and a password protected /testvb)

pipin 09-26-2005 04:58 PM

improvement suggestion:

what about excluding the forum in which the postings are done from the link prohibition?

amykhar 09-26-2005 05:17 PM

Go ahead if that's what you want it to do Pipin. My goal with this was just to prevent spam.

Amy

MikeCox 09-26-2005 05:35 PM

Quote:

Originally Posted by amykhar
Go ahead if that's what you want it to do Pipin. My goal with this was just to prevent spam.

Amy

Spammers often target certain forums. :)

wolfyman 10-08-2005 01:41 AM

Thank you Amy this is PERFECT. Nice to meet ya too, I've seen a few of your works before and I was impressed. :)

HUMMERh3 10-09-2005 02:23 AM

So I downloaded and imported the XML file into the product manager... Is there anything else that I need to do? or is it all set ready to go?

lawahdy 10-11-2005 10:46 PM

very helpfull.

thanks

Kevlar 10-12-2005 01:26 AM

Wooo Hooo *claps*

wolfyman 10-12-2005 01:30 AM

I bumped mine to 50 from 15.

I would like to allow new users to post images though, can anyone show me what to edit? Thanks again for the awesome mod Amy, you're the bomb.

PennylessZ28 10-12-2005 03:01 AM

Nice work


All times are GMT. The time now is 12:09 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.01313 seconds
  • Memory Usage 1,791KB
  • 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
  • (6)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
  • (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