![]() |
Mark Multiple PMs Read...
Hack Information
Requested by: N9ne here Query and some coding by: Xenon Install Queries to run: 1/2 (2nd is optional - see below) Files to modify: 2 (root/private.php & admin/usergroup.php) Templates to modify: 1 (privfolder) Templates to add: 2 Install time: 5 minutes Screenshots: 4 (One alternate template edit) You can view the 4th Screenshot (provided by N9ne) here What it does At the moment, it is an un-message specific "Mark Multiple PMs Read" hack...This means that if you have 10 New PMs, it will Mark ALL of them as Read, if you have the usergroup permission to... Notice to Installers By Default, the "Can Mark Multiple PMs Read?" option in admin/usergroup.php is OFF...You will have to edit the usergroups that you want to be able to Mark PMs read... Alternatively - If you want everyone to be able to, run this query below, as well as installing and running the query in the install file... Warning: This will set the "Can Mark Multiple PMs Read?" option to "YES"... [sql]UPDATE usergroup SET canmarkread=1[/sql] Thats it really... Thanks to Xenon for providing the "Mark PMs Read" query:) Satan |
Screenshot 1...
Description: The "Mark PMs Read" option on the Private Messages Screen... Satan |
Screenshot 2...
Description: The user has sucessfully marked all his PMs as read... Satan |
Screenshot 3...
Description: The user has not got permission to Mark the PMs as Read... Satan |
Thanks, installing now, I'll tell you if it works or not :p
|
Ok it works, but I made a modification to the template privfolder.
Here's what I did, instead of your step :p: In template privfolder find: Code:
Selected messages: <select name="folderid"> Code:
<a href="private.php?s=&action=markread"><smallfont color="#EEEEFF">Mark PMs Read</smallfont></a> | Anyway, it works flawlessly on a heavily hacked 2.2.8 board so no one at all should reply complaining :p Hellsatan: go on aim ;) |
Well done, Chris. A useful hack this one! :)
|
Lol cool:)
I'll update the file:) N9ne - Could you provide a Screenshot so I can add it to the Screenshots? Thanks:) Thanks Erwin;) Satan |
Screen shot of my template mod is attached.
|
Thanks:)
Updated first post... Satan |
All times are GMT. The time now is 08:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|