Quote:
Originally Posted by sailnet
thank you very much! - any leads on which module in the cyb mod I would put this type of code in? I'm modify the notice message to the user telling them their have no been registered long enough or do not have enough posts to be entitled to send PM's to other users.
thanks in advance.
|
Are you adding this check to the mod or creating a different one? If you're adding it, then look at each plugin and find everywhere $vbulletin->userdata[posts] is checked and add this (there were multiple places when I glanced at the code). If you want to have two separate notices then you may have to copy an 'if' block and duplicate it. (It might be easier to change the message to say "and/or you haven't been registered long enough", but that's up to you of course).
I don't want to post the entire solution because I've been told some mod authors don't like that.