Version: 1.00, by Logician
Developer Last Online: Nov 2023
Version: 2.2.x
Rating:
Released: 05-09-2002
Last Update: Never
Installs: 30
No support by the author.
Hiyas,
Do you have users who cant clean their private message box? Do some of your users fail to erase messages in the "sent message box" and keep getting "your pm box full" notification? This hack can help you a bit to get rid of "HELP!! I CANT GET PMS!" messages.
This easy-to-implement hack will add a link in your board which will sweep-clean private messages by erasing all messages off the user's inbox AND sent box. By default hack will add this link to Private Message Window ("privfolder" template) and "pmbox full" notification email so that your users will be able to clean their pm box with 1 click (and a confirmation!). However you can add it to anywhere you like.
Tested in v.2.2.2 and will work with ALL versions > 2.0.3
If you install the hack, please click install. Thank you..
Enjoy..
Logician //=^))
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
That's because this section is already inside an HTML FORM tag and you cant insert form tags inside eachother.
A few possible solutions:
1- Leave it as it is.
2- Use the code above but change the location of Empty PM BOX button. Insert the code outside an existing form (That is, it shouldnt be somewhere between <form .....> </form> tags)
3- Instead of a form button design, use a image for this button. You can make a trick and design an image that exactly looks like an HTML button for example..
thanks for the hack. one question: I have added numerous hacks that have modified the privfolder. Your directions, instead of saying find this and replace with it says this is your new code. Could you please post the needed changes only? I've spent quite a bit of time trying to decifer the origional, vs. my current file, vs. yours, very confused. thanks
Originally posted by dreamhost Your directions, instead of saying find this and replace with it says this is your new code. Could you please post the needed changes only? I've spent quite a bit of time trying to decifer the origional, vs. my current file, vs. yours, very confused. thanks
Dreamhost the code that should be added to the template is:
PHP Code:
<a href="private.php?s=$session[sessionhash]&action=logicdelete">Empty Your Private Message Box</a>
As you can see it's just a simple HTML link, so you can insert it to any template you want and to any section in that template you wish.
Anyone know a way to integrate the backup hack with this one so that when they get the confirmation box they can have the choice to erase, backup or cancel?
Tested on 2.3.0 RC3 and it's working like a dream
No more PM's from users asking why their PM Inbox is still more than 0% full after deleting their inbox..!