Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 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: 3.10, by lisss001 lisss001 is offline
Developer Last Online: Sep 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 Rating:
Released: 05-08-2008 Last Update: 05-08-2008 Installs: 319
Uses Plugins Auto-Templates
 
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 includes e-mail addresses and the system cannot even be fooled by the old user[at]email.com, we also locked that down.

Reduce your SPAM today!

It is a product. To install, simply import the xml via your Admin CP, Manage Products, Import New Product. No configuration is required.

Updated

12/05/2008
- Thankyou to Amykhar for allowing the future development of this modification.


Version 3.1

- Title re-created to make sense in Admin CP.
- Date updated added.
- Added protection so that users posting "user[at]user.com" cannot fool the system.

Please remember I did not create this modification, it was created by Amykhar and Erwin. Permission has been obtained for a re-release and future updates to be provided by myself. I will continue to support and update this modification as necessary in the future.

Please Remember, Click Install !

Support: I provide support as and when I can, members are free to help each other although posting code is not permitted.

VVV Screen-shots provided further down the page VVV

Certain members have been suggesting code edits for this modification. I have tried them and they just make this product stop working. Please do not attempt any manual code edits as it may stop the product from functioning. I am open to suggestions and improvements for the further development of this modification.

Please send me any code you would like included via P.M, DO NOT post it here. I can do testing and you will be credited if your code addition is added.

Feel free to offer support, suggestions and installation advice.

Show Your Support

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

Comments
  #82  
Old 10-02-2008, 10:59 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keyser S?ze View Post
yea, the msg go to lang & phrases, its in global i think but i dont recall the exact name
Couldn't find it that way but used the phrase then replace with option below the search and that did it thank you again.
Reply With Quote
  #83  
Old 10-03-2008, 02:12 AM
bluidkiti bluidkiti is offline
 
Join Date: Dec 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic! I love it and have installed it! I did change the post count and it seems to work fine. Thanks a bunch! :-)
Reply With Quote
  #84  
Old 10-03-2008, 07:47 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think my question got missed, in a future release can u make it also block edonkey links?

ed2k://
Reply With Quote
  #85  
Old 10-03-2008, 08:23 AM
reggiemental reggiemental is offline
 
Join Date: Dec 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hope someone can advise. I normally have to employ a programmer to update my site etc. but my small budget is once again exhausted. (I run a not-for-profit music forum).

I've been too frightened to try and install anything myself for fear of screwing up the forum but I need to do something about the spammers, who are taking all my time up at the moment.

Is this plug-in just a case of going to: Plugins & Products > Manage Products and then uploading the XML file? Or, is there more to it than that? I notice the authors of plug-ins always ask for people to click on 'installed' but not sure where, or how this is done.

I'd appreciate any advice you can offer as I feel like a fish out of water in this forum.

Paul
Reply With Quote
  #86  
Old 10-04-2008, 07:07 AM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simple but Great MOD!!
Reply With Quote
  #87  
Old 10-04-2008, 10:56 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the code in this product will NOT stop images ...
Reply With Quote
  #88  
Old 10-05-2008, 03:55 AM
komirad komirad is offline
 
Join Date: Aug 2008
Location: Singapore
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To block images (I also changed the post needed to 3):

Line 18
Code:
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
Line 29:
Code:
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'@') or stristr($pagetext,'[at]') or stristr($pagetext,'http://')))
and Line 40, change the error message:
Code:
<phrase name="error_nourlallowed"><![CDATA[You are only allowed to post URLs or images you have made 3 posts or more.]]></phrase>
Reply With Quote
  #89  
Old 10-05-2008, 03:57 AM
komirad komirad is offline
 
Join Date: Aug 2008
Location: Singapore
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by reggiemental View Post
Hope someone can advise. I normally have to employ a programmer to update my site etc. but my small budget is once again exhausted. (I run a not-for-profit music forum).

I've been too frightened to try and install anything myself for fear of screwing up the forum but I need to do something about the spammers, who are taking all my time up at the moment.

Is this plug-in just a case of going to: Plugins & Products > Manage Products and then uploading the XML file? Or, is there more to it than that? I notice the authors of plug-ins always ask for people to click on 'installed' but not sure where, or how this is done.

I'd appreciate any advice you can offer as I feel like a fish out of water in this forum.

Paul
Yea, just add the product using manage products for this.
There are other mods which require you to upload files through FTP or some other file manager, but not this.

Clicking installed is below their top post.
You will recieve updates about the mod if you click on it.
The install count is probably use to track the popularity of the mod as well.
Reply With Quote
  #90  
Old 10-05-2008, 06:49 AM
giorgioarmani giorgioarmani is offline
 
Join Date: Dec 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can it be configured to a different number of posts?
Reply With Quote
  #91  
Old 10-05-2008, 09:26 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by komirad View Post
To block images (I also changed the post needed to 3):

Line 18
Code:
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
Line 29:
Code:
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'@') or stristr($pagetext,'[at]') or stristr($pagetext,'http://')))
and Line 40, change the error message:
Code:
<phrase name="error_nourlallowed"><![CDATA[You are only allowed to post URLs or images you have made 3 posts or more.]]></phrase>
correct but thehack should not be advertised as it blocks images while it does not ....
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 01:21 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.04773 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_code
  • (3)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
  • (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_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