![]() |
Read PMs
Adds "Users >> Read PMs" to the AdminCP
Version History (0.1) First release, read pms by entering userid (0.2) Shows a list of users that have pms (0.3) Search pms (0.4) Made superadmin only (0.5) Read pms by entering username (or userid) (0.6) Shows a list of the last X pms (0.7) Parses message and separate sent from received on list of PMs Installation - Upload "read_pms.php" to your admincp folder - Upload "cpnav_rpm.xml" to your includes/xml folder This is pretty basic, you can only read right. search keywords: admin read pm private message messages administrator |
Thanks for sharing.
A few comments: PHP Code:
PHP Code:
Input to your queries is not type validate, and open to SQL-Injections. |
thanks, any easy way to type validate?
|
Thanks :P final code?
|
np updated
Quote:
|
very nice :) thank you .
|
thanks a lot. :) works with beta 3.
admins being able to edit or delete msgs will be nice for future version. ;) |
np. deleting is a little tricky, as vbulletin stores one copy of the message in the pmtext table and says who has that message and where (folder) in the pm table. so you would have to delete the pointers to it, not sure if you delete from pmtext also, kinda confusing. as for editing I dont see a point to it. either one is best you log as the user right now.
updated, added search pms. |
Quote:
|
i cant see the mod????
i'm running 3.6 at the moment, i uploaded the php file and the xml file however the folder xml didnt exist in the icludes path so i created it anyhow and put the file in. When i logged into the admincp i cant see the mod????? |
All times are GMT. The time now is 11:26 PM. |
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:
|