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
  #52  
Old 07-20-2008, 04:00 PM
joelozito joelozito is offline
 
Join Date: Jul 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if there are legal issues around posting the entire code, so here are the details: In the XML file, there are two code blocks surrounded by <phpcode> ... </phpcode>. In both those code blocks, you need to do the following:

Replace
<phpcode><![CDATA[
global $vbulletin;
...

With
<phpcode><![CDATA[if(!SKIP_SESSIONCREATE)
{
global $vbulletin;
...

And replace
$return_value = false;
}
]]></phpcode>

With

$return_value = false;
}
}]]></phpcode>
Reply With Quote
  #53  
Old 07-20-2008, 09:15 PM
lisss001 lisss001 is offline
 
Join Date: Mar 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will add this to the mod once I have tested it and update for you guys
Reply With Quote
  #54  
Old 07-21-2008, 01:59 AM
BucWiLd's Avatar
BucWiLd BucWiLd is offline
 
Join Date: Jun 2008
Location: pa, usa
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, ty much
Reply With Quote
  #55  
Old 07-21-2008, 07:52 AM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joelozito View Post
I'm not sure if there are legal issues around posting the entire code, so here are the details: In the XML file, there are two code blocks surrounded by <phpcode> ... </phpcode>. In both those code blocks, you need to do the following:

Replace
<phpcode><![CDATA[
global $vbulletin;
...

With
<phpcode><![CDATA[if(!SKIP_SESSIONCREATE)
{
global $vbulletin;
...

And replace
$return_value = false;
}
]]></phpcode>

With

$return_value = false;
}
}]]></phpcode>
Thanks for detailing that info for me. I've got it in place now so I'll give it a go.
Reply With Quote
  #56  
Old 07-29-2008, 03:23 AM
TLCTugger TLCTugger is offline
 
Join Date: Jul 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Exactly what I needed, thanks.
-Ron
Reply With Quote
  #57  
Old 07-30-2008, 06:32 PM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The RSS works but this hack does not on my board. Must be a conflict with something.
Reply With Quote
  #58  
Old 08-04-2008, 01:49 AM
baktabul baktabul is offline
 
Join Date: Oct 2006
Location: Misafir
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you excellent!
Reply With Quote
  #59  
Old 08-17-2008, 04:09 PM
Rebecca217 Rebecca217 is offline
 
Join Date: May 2002
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what I needed. Thank you!

Rebecca
Reply With Quote
  #60  
Old 08-20-2008, 05:10 PM
Octane1 Octane1 is offline
 
Join Date: May 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack work for private messages also?
Reply With Quote
  #61  
Old 08-20-2008, 09:25 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to exclude specific members or usergroups? would be great! thanks
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 04:31 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.05596 seconds
  • Memory Usage 2,307KB
  • 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
  • (1)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