vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   can't use pm with out X posts (https://vborg.vbsupport.ru/showthread.php?t=82968)

Creative Suite 06-11-2005 10:00 PM

can't use pm with out X posts
 
hi ..

what it does ? ..

The hook will show an error message when the user havn't X posts

instllation

add new pharse

Type : Error message
text : Sorry you can't use the pm system with out X posts

upload the cpm.xml file ..

note : you can change the x num of posts from the plugin option :)

regards

Zachery 06-12-2005 06:10 PM

So much better IMO to just use promotions.

You don't take into account that they can receive pms.

So now they are getting pms and can't read them.

CMilne 06-15-2005 07:08 AM

Quote:

Originally Posted by Zachery
So much better IMO to just use promotions.

You don't take into account that they can receive pms.

So now they are getting pms and can't read them.

Build a small system that checks if a user has less than that many posts, and if they do, it doesn't let users send them PM's.

fraghappy 06-15-2005 07:12 AM

Quote:

Originally Posted by CMilne
Build a small system that checks if a user has less than that many posts, and if they do, it doesn't let users send them PM's.

What he means is that you disallow PMs in the "Regular Users" usergroup, create a new group that allows PMs, and setup an automatic promotion so that, when a user reaches X number of posts, they are automatically promoted to that second group.

I agree with him. It's a much more elegant solution, and it's already programmed into vB. Why add more code to the mix to do something that can already be done?

vBer 06-15-2005 08:04 AM

Could this be modified to make something more useful.

I don't allow people to pm on first join until they are promoted as people have explaind. Of course some new users need help. Could it be coded such that a new user can only pm mods and only get a pm from a mod? The restirction would be on people in the registered user group as they can't pm at the moment.

This could be very helpful.

Oh and having a distribution list facility in the pm system would be incredibly useful so all mods could get pm's from users with a problem....

MarsNIIT 09-11-2005 09:22 AM

Code:

add new pharse

Type : Error message
text : Sorry you can't use the pm system with out X posts

Please give me detail. Thanks.

Marco van Herwaarden 09-11-2005 10:00 AM

I wouldn't suggest anyone running RC2 or above to use this one, maybe the author can update it to using a Product.

PS Since coder never answered why this should be better then default vB Promotions, i doubt that we will see an upgrade.

MarsNIIT 09-17-2005 01:37 PM

Please help me error: Could not find phrase 'cantpm'.

I have more 10 post, but till this error when run this mod :(

Zachery 09-17-2005 06:59 PM

You really shouldn't use this, use PROMOTIONS THATS WHY THERE ARE THERE :D

Jenta 09-21-2005 10:13 AM

was looking for exactly this today
wanted to merge 2 groups (new users that cant pm then a second group with posts that can)
thanks!

Jenta 09-26-2005 02:36 AM

if($vbulletin->userinfo[posts]!=$np){
just found out no one could pm
think this should be
if($vbulletin->userinfo[posts] <= $np){

Michael Morris 09-26-2005 04:24 AM

Quote:

Originally Posted by Zachery
You really shouldn't use this, use PROMOTIONS THATS WHY THERE ARE THERE :D

Shh Zach... You'll cut folks off from doing things the slow and ineffiecient way.

vietkool 10-12-2005 11:44 PM

what is default set how many post brfore member can PM ?

tnguy3n 10-12-2005 11:59 PM

Quote:

Originally Posted by vietkool
what is default set how many post brfore member can PM ?

10
to change that value, open the plugin and edit to whatever number you like. ;)

Xplorer4x4 10-13-2005 01:42 PM

Don;t mean to be negative but another reason that you should use promotions is because there is a chance this plug in could possibly cause a problem with another plug-in.

Snoop-It 10-24-2005 11:58 PM

Please update this to the latest version of vB and could you clearly state what to do, coz in the phrases bit, its asking for varname and the phrase type in the latest version .... theres no such thing as error message - the closest is front end error message but i dont want to take the wrong option...

and as for Promotions - that doesn't even ork either on the new version for me and it still exists though from how i had it on my 3.0.8 version.

Thanks in advance!

Zachery 10-26-2005 03:20 PM

PROMOTIONS WORK!

And if they don't its a problem with you and your installation.

Snoop-It 10-26-2005 11:55 PM

Listen Zachery dude...

Promotions don't work on my board, i don't know why, which is why i have come on a bludy support forum for f**kin HELP! iv upgraded everything, don't know if theres a promotions template that i shud revert or whatever. I DON'T KNOW!

If you don't want to help then don't respond to this thread in that tone about its a problem with me / installation.

Marco van Herwaarden 10-27-2005 04:25 AM

@dholaholic
Don't want to drive you away from this hack, but if you want i can have a look at your promotion problem. Send me a pm if you want.

Parture 10-28-2005 09:09 PM

You have to add the phrase in the instructions at the top, then it won't say "cantpm".

MentaL 10-29-2005 11:56 PM

Work on gold?

Snoop-It 10-31-2005 03:23 PM

Quote:

Originally Posted by MarcoH64
@dholaholic
Don't want to drive you away from this hack, but if you want i can have a look at your promotion problem. Send me a pm if you want.


Thanks, il pm you when i look into it on my board.

Parture 11-01-2005 01:59 AM

I got rid of it. The problems I was experiencing:

1) I had more than 10 posts, could then PM, and then later I could not?????

2) I could not post to myself, which I like to do from time to time, when I have something really wise to say to me, lol

http://biblocality.com/forums

Stephen3 11-15-2005 05:28 AM

will work on 3.5.1 or not???

Zachery 11-15-2005 04:13 PM

Quote:

Originally Posted by Stephen3
will work on 3.5.1 or not???

I'm going to keep telling people not to use this hack as it just doesn't work right, and it has inherint flaws that will cause problems.

tuoberg 11-16-2005 06:59 AM

Sorry, a newbie here, but with promotions what will we do? I mean will take them to any other usergroup with that facility or do what?

aky 11-16-2005 07:16 AM

Quote:

Originally Posted by fraghappy
What he means is that you disallow PMs in the "Regular Users" usergroup, create a new group that allows PMs, and setup an automatic promotion so that, when a user reaches X number of posts, they are automatically promoted to that second group.

I agree with him. It's a much more elegant solution, and it's already programmed into vB. Why add more code to the mix to do something that can already be done?

how do you disallow PM's for a usergroup, i dont see the option in usergroup manager, thanks

tuoberg 11-16-2005 08:01 AM

Ok, now I have done something. The process is as follows:

I have created a junior member group
than I disallowed them to post pm's, attachments and so on.
finally I created promotions for them to jump to standard members after 50 posts.

is it all this? did I do the correct things?
please advice...

tuoberg 11-16-2005 08:04 AM

Quote:

Originally Posted by aky
how do you disallow PM's for a usergroup, i dont see the option in usergroup manager, thanks

from acp, you can edit the usergroups. from usergroup manager, choose the group you want and click edit. than go to Private Message Permissions section and find:
Maximum Stored Messages:
If you set this to 0 users from this usergroup will not be able to use private messaging.

as it says if you set the number there to 0, than you disallow the pm. for that group.

aky 11-16-2005 09:54 PM

ok after setting this promotion, then how to you execute the promotion... i have members right now that should be promoted, but arent... thanks

HeRCuL70 01-10-2006 10:15 AM

sorry, can you explain how i add this error message?

Invalid ID 05-05-2006 07:26 AM

The hack is telling everyone "Sorry you can't use Private Message System without having 500 posts in your account."


All times are GMT. The time now is 01:38 AM.

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.01132 seconds
  • Memory Usage 1,779KB
  • 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_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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