vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Must limit private message to posts (https://vborg.vbsupport.ru/showthread.php?t=192233)

slinky 09-29-2008 01:18 PM

Must limit private message to posts
 
I am having a TERRIBLE time with new members bombarding our experienced members with annoying private messages, emails and profile comments. I guess this is the only way to get members to participate first, learn all the rules over time (e.g. read the damn rules link we've put in bold on the top!) and give them the ability to PM, email and place profile messages based upon post count.

I've tried cyb's hack advanced post count but it is not working for all users. Somehow many of them are bypassing it or simply not seeing the message. Is there anyone who knows where in the the code I can add a simple check statement, e.g. { IF $postcount > 5} allow the email to be sent {ELSE} echo "You must have at least 5 posts to private message.". This way I'll know for sure that no hooks or what not will conflict with this item.

Thanks - also looking for php programmers who are familiar with VB for paid work.

Princeton 09-29-2008 01:55 PM

Requests for paid services should be posted in
Requests For Paid Services


about your private message problem...

1)__ edit the Register Group to NOT have any private message quota ( 0 )

2)__ create a new usergroup with a private message quota > 0

3)__ create a new promotion : move to NEW USERGROUP if post > ??

that's it

slinky 09-29-2008 05:44 PM

I much appreciate the thought. With regard to paid services, that was a last resort since CYB currently has a hack that is supposed to do this but doesn't seem to work for me. I was hoping that another fellow hacker here might have a simple solution to if-then this issue.

Nice idea with the move solution. However, the challenge with what you're suggesting is that I'll have to keep running that same script to move users several times a day when users exceed the early 5 or 10 post requirement.

EDIT - Ah, I see that this might be automated... I'll give it a try...


All times are GMT. The time now is 10:23 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.03425 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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