vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Require X posts before user can use PM system. (https://vborg.vbsupport.ru/showthread.php?t=63889)

poetic 04-14-2004 10:00 PM

Require X posts before user can use PM system.
 
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.

poetic 04-14-2004 11:30 PM

In the screenshot, where it says you need a total of 100 posts. That is replaced with the number you have in the AdminCP.

Austin Dea 04-15-2004 01:21 AM

Nice. :}

Oblivion Knight 04-15-2004 07:51 AM

Thanks, I'm going to adapt this for the v3 Arcade.. :)

GeekyDesigns 04-15-2004 09:21 AM

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

poetic 04-15-2004 10:12 AM

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.

poetic 04-15-2004 10:25 AM

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.

NTLDR 04-15-2004 12:13 PM

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.

???`S?LV?R???` 04-15-2004 03:12 PM

lol i might of had use for this if NTLDR hadn't pointed that out

Owen 04-15-2004 06:59 PM

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


All times are GMT. The time now is 11:21 PM.

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.00999 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (1)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
  • (10)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