Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Require X posts before user can use PM system. Details »»
Require X posts before user can use PM system.
Version: 1.00, by poetic poetic is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-14-2004 Last Update: Never Installs: 13
 
No support by the author.

What does it do?
This mod allows you in the Admin Control Panel to require your users to have X amount of posts before they can use the PM system.

Why make this?
Some boards have a lot of people join their sites just to PM certain people about hacks/mods/downloads/tutorials, etc. It will be helpful to keep them out a little bit or atleast earn posts, from this.


Edits
1 in private.php.
1 in /includes/config.php (debug mode, then it's taken out).
1 phrase added.
1 administration option added.


Notes
- No copyright notification required
- No credit required in any form
- I'm not sure if this has been done before, but I don't think so. Sorry if so.

Sources
EvilLS1's template for instructions.txt - Did this without asking, but I'm sure it's nothing he's going to kick my shins for, as it's just a template for instructions.

In your includes/config.php before you start this hack add anywhere in the file in between <?php and ?>

PHP Code:
 $debug 1
After your done with this hack, please be sure to take it out.


Screenshots and text file are attached.

Show Your Support

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

Comments
  #2  
Old 04-14-2004, 11:30 PM
poetic poetic is offline
 
Join Date: Apr 2003
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the screenshot, where it says you need a total of 100 posts. That is replaced with the number you have in the AdminCP.
Reply With Quote
  #3  
Old 04-15-2004, 01:21 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. :}
Reply With Quote
  #4  
Old 04-15-2004, 07:51 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I'm going to adapt this for the v3 Arcade..
Reply With Quote
  #5  
Old 04-15-2004, 09:21 AM
GeekyDesigns's Avatar
GeekyDesigns GeekyDesigns is offline
 
Join Date: Mar 2004
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hate to say this, but yet another useless hack. Somthing that can be acomplished by default within vBulletin 3's system.

How you ask?

Usergroup Promotions:
Default usergroup gets NO pm permissions
add a secondary usergroup that has PM's enabled
Add a promotion to add user to new group when XXX posts number is reached
Reply With Quote
  #6  
Old 04-15-2004, 10:12 AM
poetic poetic is offline
 
Join Date: Apr 2003
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useless to you. Don't knock it unless you know that some people don't find this handy. I find it perfect. I want all usergroups to be the same. NO pm's until X posts. Simple as that.
Reply With Quote
  #7  
Old 04-15-2004, 10:25 AM
poetic poetic is offline
 
Join Date: Apr 2003
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a little update to what I said:

I personally would rather hack my board with, 3 lines of code, a phrase, and an option that have to fuss with another usergroup, and permissions for all my forums (53 forums) - I could just mock the permissions, but I set my forums up to be different each time.
Reply With Quote
  #8  
Old 04-15-2004, 12:13 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Note this hack has several flaws, the main one being everyone can still receive PM's if they are switched on and be notified they have new PM's, yet not be able to view them.

IMO the promotions route is a lot more comprehensive and at the end of the day the little time taken to do it means greater benefits for all. I know, I've done both methods on my board.
Reply With Quote
  #9  
Old 04-15-2004, 03:12 PM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol i might of had use for this if NTLDR hadn't pointed that out
Reply With Quote
  #10  
Old 04-15-2004, 06:59 PM
Owen Owen is offline
 
Join Date: Jan 2002
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by poetic
Just a little update to what I said:

I personally would rather hack my board with, 3 lines of code, a phrase, and an option that have to fuss with another usergroup, and permissions for all my forums (53 forums) - I could just mock the permissions, but I set my forums up to be different each time.
Why would you want to change permissions for your 53 forums? We are talking about the PM system here...
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:29 PM.


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.04529 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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