Quote:
Easier workaround (perhaps easier said than done :) ):Yup =)
Quote:
Admin Sets A Limit On Number Of Messages (Total) : X As Soon As X Number Of Messages Are Recd, The User Profile Has The "Allow Private Messages: updated to No" With Message Displayed Right On category_list.html and also on Messages Section in "Bold Red" that No More Messages Would Be Recd Unless The Messages Are Deleted as soon as user logs in.
As Soon Message Count goes down below X on account of Deletion of exisitng messages, Allow Private Messages: updated to Yes in the Profile Section.
As a consequence of 2, you need not have to handled bouncing of PM .... sender would get an "Indication" that Message can't be sent as soon as he/she clicks on Send ...
The addition of a new user field would be easy... its just the checking that not (as it would require yet more hooks to be added in) to handle the sending of a PM (it would need to be done as a "count" when sending the PM ... so a user would get an error saying "the user you are trying to send this PM to cannot receive any more PM's until they remove a few old one").
I'll have a look at it (may be able to hook it in on the do_func stuff, and then only when someone send's a PM, it does the extra check). Would also need something on the user side of things, so that it says "you have run out of space, and cannot receive any more PM's until you delete some old messages".
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!