vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   minimum posts to be able to use private msgs (https://vborg.vbsupport.ru/showthread.php?t=42727)

dxb 08-25-2002 10:50 AM

minimum posts to be able to use private msgs
 
I've been having some trobles with new users and the private msgs and I wanted to limit the numbers of posts to have the private msg function enabled

I hope somebody have an idea about what I'm talking about

Logician 08-25-2002 11:15 AM

Have you checked full releases? No released hacks?

Anyway not tested but this should work:

in both private.php and private2.php find

PHP Code:

require ("./global.php"); 

After that add:
PHP Code:

if ($bbuserinfo[posts]<X) {$permissions[canusepm]=0;} 

Replace X with min.post number to use pm..

dxb 08-25-2002 02:40 PM

yeah I seached the full releases couldn't find any hack anyway I will try your way and i will let you know

thanks alot Logician

dxb 08-25-2002 10:23 PM

ummm it worked with private2.php but it didnt with private.php

dxb 08-25-2002 10:29 PM

anyway my mistake Logician I just changed the way I was searching and found the limit private msg hack :)

and can be found here

https://vborg.vbsupport.ru/showthrea...=limit+private

thanks for the help :)

g-force2k2 08-25-2002 11:01 PM

guess you beat me to telling you dxb :p anways hope the hack suits your needs :) if you need any other hack just ask ;)

regards...

g-force2k2

Logician 08-26-2002 06:54 AM

Quote:

Originally posted by g-force2k2
guess you beat me to telling you dxb :p anways hope the hack suits your needs :) if you need any other hack just ask ;)

May I suggest changing your hack's category to private message enhancements rather than Administrative and Maintenence Tools. Someone who is searching for this hack will for sure look at the PM enhancements category..

dxb 08-26-2002 02:34 PM

yep g-force2k2 it worked like a charm with me with no trobles at all


and I dont know but I think the hack is in the right place because it's more as an Administrative but it will be good to have a copy for it in the private section

but I was searching with the wrong words :confused:

anway thanks for all your help guys :)

g-force2k2 08-26-2002 02:42 PM

yeah np dxb ;) btw Logician i guess your right but in a way dxb is correct too... i was thinking as being more of an Admnistrative tool O_o but i don't think that you can place a hack in two locations eh? regards...

g-force2k2

Learner29 10-18-2002 06:07 PM

thank you so much logician ..... your other hack is much more versatile and it suffices....


All times are GMT. The time now is 05:53 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.01197 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete