View Full Version : Read PMs
Dream
06-29-2005, 10:00 PM
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
Marco van Herwaarden
06-30-2005, 08:31 AM
Thanks for sharing.
A few comments:
@set_time_limit(0);
ignore_user_abort(true);
This is probably not needed, and should be avoided if possible.
require_once('./global.php');
vB3.5 uses absolute paths, you should always start with 'DIR
Input to your queries is not type validate, and open to SQL-Injections.
Dream
06-30-2005, 02:11 PM
thanks, any easy way to type validate?
MentaL
06-30-2005, 03:07 PM
Thanks :P final code?
Dream
06-30-2005, 04:11 PM
np updated
vB3.5 uses absolute paths, you should always start with 'DIR
DIR constant is defined in init.php that global.php calls
red_baron2000
06-30-2005, 05:04 PM
very nice :) thank you .
tinjon
06-30-2005, 05:25 PM
thanks a lot. :) works with beta 3.
admins being able to edit or delete msgs will be nice for future version. ;)
Dream
06-30-2005, 06:32 PM
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.
Marco van Herwaarden
06-30-2005, 08:32 PM
np updated
DIR constant is defined in init.php that global.php callsOops you're right about that.
n_wattam
07-01-2005, 12:39 PM
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?????
Marco van Herwaarden
07-01-2005, 01:53 PM
This hack is for vB3.5 (beta), not for 3.0.6
This will never work since it uses new techniques not available in 3.0.6
n_wattam
07-01-2005, 02:02 PM
ah.... lol... got the decimal point in wrong place... ;)...
Biker_GA
07-06-2005, 12:05 AM
How could I change this to where only Super Admins could read the PMs?
Dream
07-06-2005, 01:01 AM
get 0.4 and upload read_pms.php or edit yours and add
// ########################## SUPERADMIN CHECK ############################
if ( !in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)) ) {
rpm_print_stop_back("You don't have permission to access this page.");
}
before
print_cp_header();
Biker_GA
07-06-2005, 01:06 AM
Thank you. :) We use this one only when there's an issue that requires it, and we've limited to just 3 individuals who are super admins.
Biker_GA
07-06-2005, 01:09 AM
I'm assuming I upload the php file to /forum/admincp and then import the xml file?
Edit -- Ummm. Never mind. Read the first post again. :speechless:
Dream
07-06-2005, 01:11 AM
yeah I wouldnt use this myself if it werent superadmin only
edit1: if you havent installed it before, upload both files, if you did just upload the php. the xml is the same since 0.1
edit2: ok :)
Joe Gronlund
07-06-2005, 02:52 PM
Why is there 4 zip files on the first page??
Biker_GA
07-06-2005, 03:10 PM
Why is there 4 zip files on the first page??
(0.1) Original release
(0.2) Shows a list of users that have pms
(0.3) Search pms
(0.4) Made superadmin only
Joe Gronlund
07-06-2005, 03:16 PM
(0.1) Original release
(0.2) Shows a list of users that have pms
(0.3) Search pms
(0.4) Made superadmin only
I see,, thanks :)
Dream
07-13-2005, 05:50 PM
version 0.4 seems to not be working with beta 4... it says im not a superadmin even tho I am
Corriewf
07-13-2005, 06:36 PM
Anyway this could be imported to 3.0.7 as we dont have a pm reader like this.
Dream
07-13-2005, 09:04 PM
Anyway this could be imported to 3.0.7 as we dont have a pm reader like this.
theres this one, not sure it works with 3.0.7
https://vborg.vbsupport.ru/showthread.php?t=66389
if anyone wants to port this one be my guest, im not running 3.0.7 anymore
Biker_GA
07-14-2005, 07:18 PM
version 0.4 seems to not be working with beta 4... it says im not a superadmin even tho I am
Yeah. I attempted to reload this one and it flat refused to load properly. I suspect there are some changes that is going to cause a few plugins to break. I have another plugin that isn't working right either that I'm about to go post in the appropriate section.
Dream
07-17-2005, 08:15 PM
seems it was just a problem with beta 4 and permissions, read pms 0.4 is working just fine now with beta 4, I re-uploaded it with no code modifications and it worked O_o
maybe you need to rebuild your bitfields
its sad I took a month to make the template manager and 10 minutes to do this one and it has a higher install count ^_^
Biker_GA
07-17-2005, 08:30 PM
Getting an invalid argument in functions.php, line 769
ForYou
07-17-2005, 08:54 PM
Getting an invalid argument in functions.php, line 769
Hello ,
Is there a way to search by user name , not user id
Regards
Dream
07-17-2005, 09:08 PM
Getting an invalid argument in functions.php, line 769
weird that file has nothing to do with this script
Hello ,
Is there a way to search by user name , not user id
Regards
nope, you gotta get the userid by browsing the member list or finding a thread of the user right now
Biker_GA
07-17-2005, 09:14 PM
weird that file has nothing to do with this script
Yeah.. The screen flashes by so fast that you have to click back a few times to get all of it down.
I deleted the plugin, uploaded the files again and still got the same error. :confused:
Dream
07-17-2005, 09:18 PM
thats not a plugin, you upload it to the includes/xml folder
are you in the right thread? :P
Biker_GA
07-17-2005, 09:19 PM
I uploaded it using the upload function via the plugin option. Worked great before upgrading to Beta 4.
Dream
07-17-2005, 09:26 PM
O_O well maybe im that good
the upload function in the plugin system is only to upload plugins, not files
Biker_GA
07-17-2005, 09:36 PM
Hmmmmm. So how does the system add the option to the User section in AdminCP now?
Edit -- Nevermind.... Complete and total brainfart on my end. :speechless:
Dream
07-26-2005, 04:04 AM
Hello ,
Is there a way to search by user name , not user id
Regards
now you can, updated so you can use either the username or userid
Boofo
07-26-2005, 04:39 AM
now you can, updated so you can use either the username or userid
Will this search partial username, also?
Dream
07-26-2005, 04:40 AM
Will this search partial username, also?
nope, exact names
(NaMe = name though)
Boofo
07-26-2005, 04:55 AM
nope, exact names
(NaMe = name though)
Any way to add partials, like in the Admin CP? Would make it easier on larger boards with similar usernames. ;)
Dream
07-26-2005, 04:58 AM
that would be a bunch of code, ill look into it later
this isnt very good for large boards, as there is no pagination when viewing pms, etc, and im not planning to add it... do you have any issues with big pm lists showing up, or you allow a small number of pms for each user to store
Boofo
07-26-2005, 05:33 AM
that would be a bunch of code, ill look into it later
this isnt very good for large boards, as there is no pagination when viewing pms, etc, and im not planning to add it... do you have any issues with big pm lists showing up, or you allow a small number of pms for each user to store
To tell you the truth, I think pagenation will be a must for this eventually. If you add that and partial username search, you will have the all-in-one plug-in. ;)
Paul_d_g
07-30-2005, 07:59 PM
I am sorry but I think this is a total invasion of privacy.
Whoever installed this really do not deserved to have a forum!!
Boofo
07-30-2005, 08:02 PM
Maybe if something like this has been around and used, Sept. 11th might have gone a different route. ;)
Dream
08-01-2005, 01:51 AM
I am sorry but I think this is a total invasion of privacy.
Whoever installed this really do not deserved to have a forum!!
paul, any forum administrator can already read the members private messages by looking at the database. you dont need this modification at all to read them.
anyway, i think theres a thread somewhere at vb.org that deals with this very issue, and I think that would be the best place to express your concerns. not sure where that thread is tho.
ToraTora!
08-01-2005, 06:29 AM
Not being nosy here, but why would you dissuade and betray the trust of your members with such a hack?
This in my opinion is like reading somebody else's Emails.
If the PM is not addressed to you, than in my opinion, it should not be read by anybody but the person it was originally sent to.
Marco van Herwaarden
08-01-2005, 06:34 AM
There are many different 'Read PM's' hacks around, it makes no sense to discuss if it is a good thing to read them over and over again in each hack's thread.
If you feel that it is worth discussing, please start a thread about the morals in the Lounge (or find an old one discussing this), and keep the thread of the hacks to the hack code itself please.
Dream
08-01-2005, 06:43 AM
Not being nosy here, but why would you dissuade and betray the trust of your members with such a hack?
you dont need this hack to "dissuade and betray the trust of your members".
LunaTech
08-02-2005, 02:41 AM
An older version of this i use to use added "Read PM's" to the admin user's page in the drop down (where ban user is, etc). It also allowed you to view by inbox, outbox, and other folders. Lastly, it allowed you to jump to another users box if you clicked their name in a pm. Just ideas. ;)
Dream,
Is there any way to show up the last suppose 100 or 200 pm's for all the users in on page as it in the pm read hack for VB 307 instead of searching for each member?
Regards
OmaniMan
08-13-2005, 12:37 AM
Dream,
Is there any way to show up the last suppose 100 or 200 pm's for all the users in on page as it in the pm read hack for VB 307 instead of searching for each member?
Regards
That what I want ... :nervous:
delds
09-11-2005, 03:08 AM
can this be put on the menu in the administration panel, so I can just click on the selection there to view private messages without remembering the file php name.
Dream
09-11-2005, 03:33 AM
can this be put on the menu in the administration panel, so I can just click on the selection there to view private messages without remembering the file php name.
its under Users > Read PMs
Xplorer4x4
09-16-2005, 12:59 AM
I believe there might be a bug in this when using RC3. I am able to access it but one of my other Admins who has full privleges is not able to access it. They were able to use it on RC2.
Bassicly he is getting a no permision messages. Is it just my board?
Biker_GA
09-16-2005, 02:43 AM
Is he a superadmin?
Xplorer4x4
09-18-2005, 04:05 AM
No he is not, but he has full Admin privleges. Is there a way to bypass this so all Admins can read PMs?
Dream
09-18-2005, 06:45 AM
just remove
// ########################## SUPERADMIN CHECK ############################
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)) ) {
rpm_print_stop_back("You don't have permission to access this page.");
}
Boofo
09-18-2005, 06:53 AM
Only Super Admins can read pms, right?
zemic
09-19-2005, 01:06 PM
Assuming I remove the code above so all admins can read PM's.......
How would I make it so admins cannot read each others PM's :)
Xplorer4x4
09-20-2005, 06:43 AM
just remove
// ########################## SUPERADMIN CHECK ############################
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)) ) {
rpm_print_stop_back("You don't have permission to access this page.");
}
Damn I was close, I tried to simply uncoment the first line there.
Thanks Dream!
Ken Woods
09-20-2005, 06:17 PM
Odd question from me...I have version 3.0.9. I just installed this last week so thought I was getting the latest. Why are you guys talking about v3.5?
Marco van Herwaarden
09-20-2005, 06:28 PM
vBulletin 3.5 is currently in Beta stages. You can download it from your member area.
Xplorer4x4
09-20-2005, 06:29 PM
Ok actually there is a problem. I did your edit, and it apears to have removed the general format of the page. The hack still functions but instead of the page matching my ACP skin, it is a white page.
Dream
09-20-2005, 09:47 PM
I think you removed print_cp_header() or something similar
Xplorer4x4
09-20-2005, 10:00 PM
Wroked like a Dream. ;)
c0d3x
09-30-2005, 04:04 PM
i receive this message when i import this product with vb 3.5 gold
Importing Product, Please Wait...
[:]
vBulletin Message
Invalid File Specified
Dream
09-30-2005, 04:33 PM
i receive this message when i import this product with vb 3.5 gold
Importing Product, Please Wait...
[:]
vBulletin Message
Invalid File Specified
this is not a product, you upload the xml to the includes/xml folder
c0d3x
09-30-2005, 07:01 PM
i see, now it works! thanks ;)
Dream
09-30-2005, 08:04 PM
Dream,
Is there any way to show up the last suppose 100 or 200 pm's for all the users in on page as it in the pm read hack for VB 307 instead of searching for each member?
Regards
added
SnowBot
10-01-2005, 02:29 AM
Dream is this only usable by Super Admins?
Dream
10-01-2005, 02:56 AM
Dream is this only usable by Super Admins?
yes, read up a couple posts back and theres a file edit you can do to make it so all admins can use it
Bulent Tekcan
10-01-2005, 06:57 PM
If you add permission control in "Administrator Permissions" I think very very good :)
Cheers
Lea Verou
10-02-2005, 02:59 AM
You are very nosy!! Why would you want to read your members pms?? :ermm: :p:p Is this a proper admin behavior??? What would your members say if they knew it??
PS: for exeptional circumstances (eg spamming) there is always phpMyadmin :)
SnowBot
10-03-2005, 07:55 AM
Can this be made to be more like the old hack, ie to show the indox / sent / saved messages ?
Allan
10-03-2005, 09:18 AM
Thanks for this hack Dream :)
Click INSTALL ;)
thedvs
10-03-2005, 12:49 PM
Installed, great hack, thanks alot. :)
SnowBot
10-04-2005, 10:34 PM
Any updates on the dispaying of folders like the other hack?
Also got a small prob, the PMs are not dispaying correctly, as in.
Message[quote=Snowy] the text here. :( more text went here
It doesnt do the quotes so in a multi quoted pm it is impossible to make out if you get what i mean.... lol ?
Dream
10-04-2005, 10:43 PM
this will only show the raw text in the messages, it wont show them nice and formatted
about folders, this hack wont do browsing by folders, that would need to change all the code. you can still use the other hack tho, it has been ported over
Bubble #5
10-04-2005, 11:06 PM
Is this a proper admin behavior???
Yes.
SnowBot
10-04-2005, 11:17 PM
this will only show the raw text in the messages, it wont show them nice and formatted
about folders, this hack wont do browsing by folders, that would need to change all the code. you can still use the other hack tho, it has been ported over
hhhmmm where ?
csidlernet
10-05-2005, 02:32 AM
thanks. i love totalitarian states!
/me installs
MarcusTangh
10-05-2005, 02:37 AM
It keeps tellingme that there's an invalid file specified, but it's in the includes/xml section :/
Marco van Herwaarden
10-06-2005, 08:32 PM
Because there is no plugin or product to import.
Read the instructions.
Bulent Tekcan
10-14-2005, 08:50 PM
To a:1:{i:25715;s:6:"test";}
What is the red character ? When I search and read any PM this charecter is shown.
Thanks
Wayne2k1.com
10-19-2005, 12:28 PM
Thanks :D
Bulent Tekcan
10-20-2005, 09:33 AM
To a:1:{i:25715;s:6:"test";}
What is the red character ? When I search and read any PM this charecter is shown.
Thanks
Any idea for that ???
Snoop-It
10-25-2005, 12:22 AM
help needed.. How do i fix this??
Database error in vBulletin 3.5.0:
Invalid SQL:
SELECT username FROM vb3_user WHERE userid =;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Tuesday, October 25th 2005 @ 02:17:59 AM
Script : #################/forum/admincp/read_pms.php?do=read&userid=&pmtextid=25817
Referrer : #############/forum/admincp/read_pms.php
IP Address : 00.00.00.000
Username : admin
Classname : vb_database
RaceJunkie
10-25-2005, 12:08 PM
Thanks
BANDiT600
10-25-2005, 07:43 PM
It's pretty good mod!!! Keep up the good work m8! BTW, installed! ;)
Xplorer4x4
10-27-2005, 08:08 AM
I took this a bit further and made an actual custom catgorey for it if anyone is interested.
wacnstac
10-28-2005, 01:29 AM
I installed the extension and am the sole administrator of my forum but when I attempt to use this I get "You don't have permission to access this page." Any ideas?
Wired1
10-28-2005, 02:07 AM
Super admins need to be added manually to the config file IIRC.
Bulent Tekcan
10-28-2005, 07:56 AM
To a:1:{i:25715;s:6:"test";}
What is the red character ? When I search and read any PM this charecter is shown.
Thanks
Any idea for that ???
kittykattjess
10-28-2005, 05:25 PM
Ok I am not sure if I did anything wrong,
I have 3.5.0 and I uploaded the
Upload "read_pms.php" to my site/forum/admin folder
- Upload "cpnav_rpm.xml" to your includes/xml folder (I made the xml folder as I did not have one)
and all I can do is view the stastisc and delete.. i would like to be able to read it as we are having members that are not that good right now.
what have I done wrong?
kittykattjess
10-28-2005, 07:04 PM
it worked.. daft me loaded it up to the wrong host lmao
JsnakeJ
11-04-2005, 04:17 PM
No codeing in pms? aw. Anyone find a way to make it code it like your reading it yourself?
divided_by_fear
11-19-2005, 05:23 PM
is there a way to delete the pms? cause i have alot of users who dont delete them...
Marco van Herwaarden
11-19-2005, 05:45 PM
To delete all PM's of a user, you can do so from the dropdown on the edit user page in your AdminCP.
To delete selected PM's you can use my PM Workbench.
divided_by_fear
11-19-2005, 05:53 PM
thank you very much.. and thanks for fast reply...
el diablo
11-23-2005, 03:48 AM
thanks :)
This helps check out Spammers on our site.
knigwhil
11-23-2005, 07:09 AM
Installed, thank you. ;)
Snoop-It
11-23-2005, 07:14 AM
To delete all PM's of a user, you can do so from the dropdown on the edit user page in your AdminCP.
To delete selected PM's you can use my PM Workbench.
Is there a way to delete just selected pms of a user... like one or two... rather than deleting all of the pms? :nervous:
Marco van Herwaarden
11-23-2005, 08:51 AM
Is there a way to delete just selected pms of a user... like one or two... rather than deleting all of the pms? :nervous:Please read the text you quoted again.
Dave Rosteck
11-28-2005, 06:04 AM
Not sure if this has been brought up before but when you mouse over the "?" in "Who's Online?", the alt gives away that we're reading PMs. I find this to be a big problem and it forces me to use invisible mode.
Wired1
11-28-2005, 06:17 AM
Not sure if this has been brought up before but when you mouse over the "?" in "Who's Online?", the alt gives away that we're reading PMs. I find this to be a big problem and it forces me to use invisible mode.
Does it say you're reading other people's PMs, or just that you're reading PMs in general (in otherwords, your own). If the latter, most people that see that wouldn't be surprised, as admins usually get more PMs than most.
Dave Rosteck
11-29-2005, 07:14 AM
It shows the location of the read pms hack file (read_pms.php).
Wired1
11-29-2005, 10:47 AM
Rename it something like skeeball.php :)
ShadowOne
11-29-2005, 02:51 PM
And This isnt envading privacy... because like at my board, members will PM someone else and tell them to vote for them, and if i see that, that is disqualification. And if you dont like, then dont use it, that simple, dont +++++ and complain in here, obviously it caught your attention or you wouldnt have clicked on the thread name. not all hacks are for everyone..just putting in my two cents..:D
da420
12-08-2005, 04:35 AM
hmmm... this is what I am getting when I try access this feature from the ACP...
"You don't have permission to access this page."
Marco van Herwaarden
12-08-2005, 06:49 AM
You must be a Super Admin to use this. (see your config.php)
da420
12-08-2005, 07:13 AM
what do I do to make me a super admin ?
Marco van Herwaarden
12-08-2005, 07:17 AM
You will have to add your userid to the list of super admins in the includes/config.php
da420
12-08-2005, 08:05 AM
If I want to put in more than one super admin, what do I seperate the userid with ?
Marco van Herwaarden
12-08-2005, 08:24 AM
It is a comma seperated list.
tinjon
12-11-2005, 12:17 AM
few suggestions.
- ability to backup (download) all PM's from admincp
- ability to edit, delete PMs from admincp
- *** optional *** any kind of indication of whether its been read by the user or not.
great hack! but plz consider these.
looking forward.
Thanks! Installed on 3.5.2 and no problems.
Nuckolsc.com
12-14-2005, 11:45 PM
Installed and works great. Thanks man!
Kihon Kata
12-16-2005, 02:09 PM
installed and working for admins, but how can I add so that my supermods can read them?
dieselpowered
12-16-2005, 07:50 PM
Maybe copy the code for the superadmin check and change it to look at the supermod usergroup?
Kihon Kata
12-16-2005, 08:07 PM
Maybe copy the code for the superadmin check and change it to look at the supermod usergroup?
Does this look right?
// ########################## SUPERADMIN CHECK ############################
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['supermoderators'], -1, PREG_SPLIT_NO_EMPTY)) ) {
rpm_print_stop_back("You don't have permission to access this page.");
}
Julie
12-24-2005, 10:04 PM
Some call PMs Personal Messages, others Private Messages. Either way they're no way private as they can be read in PhpMyAdmin.
Personally I think this is good to have. I once had a user who had an additional 9 accounts, and used those additional accounts to bump her own fanfictions, and give herself reputation power. One of these fake accounts "stole" the originale account's fanfiction, and well, yeah... Lots of odd stuff with that person. My point being, I could have saved a lot of time having this hack.
Whether or not you use it on all your members, well... That's up to you. And to use on troublesome users, I don't see why not.
*installed* Thanks for this hack! :)
Wired1
12-24-2005, 10:44 PM
Some call PMs Personal Messages, others Private Messages. Either way they're no way private as they can be read in PhpMyAdmin.
Personally I think this is good to have. I once had a user who had an additional 9 accounts, and used those additional accounts to bump her own fanfictions, and give herself reputation power. One of these fake accounts "stole" the originale account's fanfiction, and well, yeah... Lots of odd stuff with that person. My point being, I could have saved a lot of time having this hack.
Whether or not you use it on all your members, well... That's up to you. And to use on troublesome users, I don't see why not.
*installed* Thanks for this hack! :)
She PM'd herself? ooookkkkk... This is what IP tracking helps with as well :)
Julie
12-24-2005, 11:03 PM
She PM'd herself? ooookkkkk... This is what IP tracking helps with as well :)
Ohhh yeah. Calling herself b*tch, and whatnot! Rather scary actually, the whole thing she had going on with herself there... Totally talking to herself and everything... Freaky...
da prez
12-26-2005, 12:57 AM
i want to make it so only superadmins see the option in the user dropdown in admincp.
if other admins can't use it, i don't even want em to see it.
so where it says "canadminusers" in the xml, can i change it to something like "issuperadministrator"
what would be proper phrase there ?
Julie
01-11-2006, 08:28 PM
da_prez, I don't think other admins can, as my other admin can't see it...
Anyone know how I can make it so that all of my Admins can view it?
ChErAbOo
01-17-2006, 01:41 AM
Thanks for this, I had this before on a different forum set up as a add on and needed it often with members harrasing other members then saying they didn't, ppl selling items getting money then saying they never sold them all was done via PMs etc this is a handy tool for admin when they need to look up a PM quick without going into the database I do still believe in privacy and never look unless I have too but its nice to have when you need to again nice work
*clicks Install
Pcparts
01-17-2006, 10:19 AM
Thanks for this mate. Works for me in 3.5.3.
Just one thing as posted above: Other Admins should not be able to see the menu. I tested on my forums and it does show the menu, though they have no access. But It would be better that other admins dont get to see the menu.
sidekick
01-18-2006, 12:05 AM
* sidekick installed :)
The Chief
01-18-2006, 05:33 PM
Great hack, installed and works great ;)
* The Chief clicks install
SupermanInNY
01-25-2006, 10:30 PM
Sweet!
And yes,. this is very invading and I've held up until now.
But,. my purpose is to protect the forum from malicious users who try to hurt it.
Other than that,. I don't have time to read my own msgs :)))
Thanks for this heck.. very useful.
Smiry Kin's
01-25-2006, 10:39 PM
/me installed thanks
ChErAbOo
01-28-2006, 07:25 PM
To a:1:{i:25715;s:6:"test";}
What is the red character ? When I search and read any PM this charecter is shown.
Thanks
I am not sure I installed this on 1 of my forums and it works fine but on another its showing the same things you get before the username :ermm:
vietfancy
01-29-2006, 12:19 AM
nice
mbader71
01-29-2006, 06:45 PM
I like this hack
easy to install, usefull
thanks
installed
Is there a way to install this in 3.5.3?
I got Invalid File Specified
Julie
01-30-2006, 08:01 PM
tjad, it does work on 3.5.3... You sure you're doing this correctly;
Installation
- Upload "read_pms.php" to your admincp folder
- Upload "cpnav_rpm.xml" to your includes/xml folder
Bulent Tekcan
01-31-2006, 01:30 PM
Originally Posted by Bulent Tekcan
To a:1:{i:25715;s:6:"test";}
What is the red character ? When I search and read any PM this charecter is shown.
Thanks
I am not sure I installed this on 1 of my forums and it works fine but on another its showing the same things you get before the username :ermm:
Any idea for why that character show me ?
Orcun
01-31-2006, 03:09 PM
+1
I have the same problem.
print_label_row('To', htmlspecialchars($pm['touserarray']));
there must be sth. buggy with this statement.
sistem73
02-01-2006, 07:56 PM
thankss
neuromancer
02-01-2006, 09:32 PM
I want to give permission to other admin about reading PMs. But he isn't superadmin. How can I give permission to him ?
ShaDooM
02-03-2006, 11:37 AM
uhm i get an error if i want to import the product/plugin it says "File error"
edit: i use 3.5.3 german
Julie
02-03-2006, 02:10 PM
uhm i get an error if i want to import the product/plugin it says "File error"
edit: i use 3.5.3 german
......
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.
Hornstar
02-06-2006, 05:58 AM
Instead of having a link in the admincp you have it so you have to type it in the address bar to view e.g http://www.site.com/forums/admincp/read_pms.php
proxx
02-08-2006, 08:32 PM
One thing that this MOD is missing is the ability to display VBCODE .... its hard to read messages with all the code in them. How can formatting be preserved?
Marco van Herwaarden
02-09-2006, 05:20 PM
I know there are similar hacks that will show formatting correct.
CupraSi
02-15-2006, 11:30 PM
I would like to add this but I am not sure where you are supposed to load the two files?
Stone Cold 3:16
02-15-2006, 11:34 PM
I would like to add this but I am not sure where you are supposed to load the two files?
Quoted.
Installation
- Upload "read_pms.php" to your admincp folder
- Upload "cpnav_rpm.xml" to your includes/xml folder
CupraSi
02-15-2006, 11:38 PM
I cant find where they are .... is that in the plugin section or elsewhere?
Stone Cold 3:16
02-15-2006, 11:42 PM
I cant find where they are .... is that in the plugin section or elsewhere?
Download the files, connect to your FTP, and upload the files to their designated areas as i quoted:
- Upload "read_pms.php" to your admincp folder
- Upload "cpnav_rpm.xml" to your includes/xml folder
CupraSi
02-16-2006, 06:01 PM
OKay thanks it was a simple question from someone who isnt a techhead :)
cmiller1014
02-17-2006, 04:36 AM
Has anyone modified this so that it formats messages correctly? i would be happy with only quote tags parsed. Messages are impossible to read.
adrianne
02-22-2006, 03:12 PM
works fine with 3.5.4 as well.
Boroda
03-09-2006, 10:42 AM
i get the same message
Importing Product, Please Wait...
[:::::::::::::::]
vBulletin Message
Invalid File Specified
P.S. vBulletin v.3.5.4
files uploaded to: ./includes/xml/cpnav_rpm.xml
and ./boroda_admincp/read_pms.php
-=-=-=-=-=-=-=-=-=-
I've try a few times one by one but not successful.
After that i try to logout/login and READ PMS begin appear.
Marco van Herwaarden
03-09-2006, 01:10 PM
What productfile you try to install? There is no product file.
derfelix
03-10-2006, 03:22 AM
Has anyone modified this so that it formats messages correctly? i would be happy with only quote tags parsed. Messages are impossible to read.
I second that request !
MorrisMcD
03-10-2006, 04:20 AM
What productfile you try to install? There is no product file.
I keep wondering the same thing... .
amandad
03-28-2006, 11:19 AM
dont worry, worked it out!
2fast4ya
04-02-2006, 03:38 PM
can this be used for moderators too? I would like to let them take advantage of this feature.
OFFSHORE DAN
04-03-2006, 04:30 PM
Simply Awesome
Stoebi
04-14-2006, 12:31 AM
Hi,
open admincp/read_pms.php
go to line 183 or search for:
print_label_row('To', htmlspecialchars($pm['touserarray']));
replace:
print_label_row('To' , is_array(unserialize($pm['touserarray'])) ? implode(", ", array_values(unserialize($pm['touserarray']))) : null);
Ideas taken/stolen from MarcoH64 ;-)
Kind Regards,
Stoebi
Any idea for why that character show me ?
ShadowOne
04-15-2006, 08:58 PM
Hi,
open admincp/read_pms.php
go to line 183 or search for:
print_label_row('To', htmlspecialchars($pm['touserarray']));
replace:
print_label_row('To' , is_array(unserialize($pm['touserarray'])) ? implode(", ", array_values(unserialize($pm['touserarray']))) : null);
Ideas taken/stolen from MarcoH64 ;-)
Kind Regards,
Stoebi
Thanks, That Fixed The Character Problem...
netcommander
05-08-2006, 03:40 PM
can I add new user grup for example moderators ? is it possible ??
Bubble #5
05-08-2006, 04:05 PM
Instead of having a link in the admincp you have it so you have to type it in the address bar to view e.g http://www.site.com/forums/admincp/read_pms.php
This could be easily fixed with an 'if' statement by adding a link in the ACP. Then instead of messing around with the address bar you could simply click the new link.
Does anyone know what file controls the links on the left side of the ACP?
cOuNtErFiET
05-09-2006, 04:19 PM
im getting invalis path specified when trying to import the product....?
blah nvm i see we have to upload it to the directory not import it...sry
rabcross
05-13-2006, 01:43 AM
Hi...I am a total newbie to hacks! I have a need to view pms of a certain user and I have read this entire thread and I am still not sure what to do.
I downloaded the zip file and I have it extracted on my computer just in case I proceed with the hack install but I don't even know where to start.
I really am not sure I need this hack..can someone tell me step by step how to access the messages in the myadmin.php file if my website is hosted by a webhosting company. Where is that database?
Forgive me for my ignorance..I would install this hack but I am terrified I will mess something up.
Dr.Viggy
05-15-2006, 01:38 AM
*installed
netcommander
05-16-2006, 09:19 AM
I have see some problem, I've received this mail what is the problem ?
kind regards
Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT username FROM user WHERE userid =;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Tuesday, May 16th 2006 @ 11:49:33 AM
Script : http://www.xxxxxxxx.com/forum/admincp/read_pms.php?do=read&userid=&pmtextid=21709
Referrer : http://www.xxxxxx.com/forum/admincp/read_pms.php
IP Address : 8x.100.xxx.xxx
Username : xxxx
Classname : vb_database
see the attchment
47816
how i can read pms without codes
i need read pms without these cods
this is test only
or any run to see the pms like this
this is test only
Coldhands
05-20-2006, 06:25 AM
It says "You don't have permission to access this page."
I'm the admin, so why wouldn't I????
Fixed. Went into config.php and added my user number, which wasn't '1'.
Coldhands
05-20-2006, 05:12 PM
This could be easily fixed with an 'if' statement by adding a link in the ACP. Then instead of messing around with the address bar you could simply click the new link.
Does anyone know what file controls the links on the left side of the ACP?
If you want to remove the 'read pms' link from the navigation in the admincp, you just need to delete the "cpnav_rpm.xml" file from your includes/xml folder.
jwocky
05-29-2006, 04:37 PM
great hack, any plans to have it parse the QUOTE tags in future versions ?
thanks
Wired1
05-30-2006, 05:59 PM
Some recommendations on how to improve this hack (or info for others if they're going to make a new hack):
1. have a second "I agree to the rules" box after the main rules specifically concerning the staff reading PMs.
2. Give admins a tool where PM reading can be optional for a forum - in otherwords, they can turn it on where they can read all PMs, or they can tone it down to where a user needs to opt in to it somewhere in their options menu (and of course have an option where an admin can set that option to on or off by default for new users). Turning it completely off would be simply turning the plugin / product off.
3. Have a way to sort PMs to / from certain people, so as to be able to easily view conversations between people.
4. Have a way to limit PM sorts by frequency (so as to catch PM spammers). An option to notify admins of high frequency PMs would also be helpful.
What do you guys think?
FLMom
05-30-2006, 06:22 PM
does it work for 3.5.4?
Yes, I use it and I have 3.5.4 :D
netcommander
06-07-2006, 11:08 PM
Anybody can test 3.6.1 ?
I have see white page in backraund
BoYagoob
06-08-2006, 06:55 AM
installed
it works with 3.6.0 Beta 1
redlabour
06-08-2006, 03:54 PM
Will it work in the Future with vBulletin 3.6 (http://www.vbulletin.com/forum/showthread.php?t=187654) ?
Chadi
06-09-2006, 12:40 AM
Some recommendations on how to improve this hack (or info for others if they're going to make a new hack):
1. have a second "I agree to the rules" box after the main rules specifically concerning the staff reading PMs.
2. Give admins a tool where PM reading can be optional for a forum - in otherwords, they can turn it on where they can read all PMs, or they can tone it down to where a user needs to opt in to it somewhere in their options menu (and of course have an option where an admin can set that option to on or off by default for new users). Turning it completely off would be simply turning the plugin / product off.
3. Have a way to sort PMs to / from certain people, so as to be able to easily view conversations between people.
4. Have a way to limit PM sorts by frequency (so as to catch PM spammers). An option to notify admins of high frequency PMs would also be helpful.
What do you guys think?
I second this
Wired1
06-14-2006, 11:38 AM
I second this
Finally, a response! :)
peterska2
06-14-2006, 11:42 AM
works with 3.6.0 beta 2
jwocky
06-15-2006, 10:56 PM
theres gotta be a relatively easy way to get this to properly parse Quote tags just like the real read PM script does.. just a copy/paste job? I wish i was more knowledgable or I would do this myself
Molhem
06-19-2006, 06:08 PM
i added another admin to access reading the private messages but it doesn't seems to work. what's the problem do u think???!!
I've already added the used id in the config.php file but still having the permission denying message!! am getting mad. plz help!
Nima Sh
06-23-2006, 11:24 PM
It doesn't work with 3.0.13:surprised:
peterska2
06-23-2006, 11:30 PM
This is only for version 3.5.0 onwards. You will need to find one in the 3.0 forums. I believe the original 3.0 version was by Floris, but then someone did a later version that had more features.
BoYagoob
06-24-2006, 05:52 PM
Please there is a problem when I installed it for vB 3.6.x
The problem is that, the received name is displayed like the following:
a:1:{s:2:"cc";a:1:{i:1;s:8:"BoYagoob";}}
Do any one know how to fix that?
peterska2
06-24-2006, 06:36 PM
There have been a number of changes made to the PM system between 3.5.x and 3.6.0b1 I very much doubt that it will actually work.
HostileAdam
06-26-2006, 01:34 PM
i get a invalid location specified when uploading the plugin.
Bulent Tekcan
06-30-2006, 08:49 AM
Please there is a problem when I installed it for vB 3.6.x
The problem is that, the received name is displayed like the following:
a:1:{s:2:"cc";a:1:{i:1;s:8:"BoYagoob";}}
Do any one know how to fix that?
Please see this post https://vborg.vbsupport.ru/showpost.php?p=949219&postcount=157
Cheers
Bulent Tekcan
06-30-2006, 08:51 AM
i get a invalid location specified when uploading the plugin.
Please read instalation notes correctly...
Installation
- Upload "read_pms.php" to your admincp folder
- Upload "cpnav_rpm.xml" to your includes/xml folder
This is not product import or plugin import,just only upload 2 files thats it.
Cheers
edeline
06-30-2006, 10:56 AM
read your members Private messages ??? :confused:
forumerkezi
07-01-2006, 08:28 AM
thanks very easy and running
HostileAdam
07-01-2006, 04:00 PM
Well i dont see the link to it in Users >>
peterska2
07-01-2006, 06:43 PM
did you upload the cpnav_rpm.xml file to your includes/xml directory?
BoYagoob
07-07-2006, 01:57 PM
Please see this post https://vborg.vbsupport.ru/showpost.php?p=949219&postcount=157
Cheers
unfortuanatly, now it does not shows thr recieved's name.
It shows it like this: To Array
instead of like: a:1:{s:2:"cc";a:1:{i:1;s:8:"received name";}}
can it be fixed? :(
FarukErsin
07-14-2006, 09:05 PM
Good :) thanks.....
hnjco
07-14-2006, 11:35 PM
how to create a link in admin cp to view pms?
Only root admin can view pm through this? where to set permissions?
peterska2
07-14-2006, 11:48 PM
The link is at the bottom of your users menu in the admincp
You need to be set as a super administrator to use this, so you can only set the permissions through the config.php file.
hnjco
07-17-2006, 07:32 PM
is it possible that admin can also view pms...? not only super admin,,,
if this piece of code is changed ... I believe it is possible...
// ########################## SUPERADMIN CHECK ############################
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)) ) {
rpm_print_stop_back("You don't have permission to access this page.");
}
Muellmann
07-29-2006, 09:47 PM
Works fine with 3.54 :D
Thanks!
I will now going to figure out how to add a Link in ACP to this feature :)
ConqSoft
07-29-2006, 09:59 PM
It already has a link in AdminCP....
Look in the Users menu on the left.
redlabour
08-04-2006, 05:14 AM
Where is the Version for 3.6 ?
Where is the Version for 3.6 ?
I've been running this with 3.6 RC2 RC3 and now 3.6 gold - no problems yet.
tinjon
08-04-2006, 02:17 PM
Allowing to mass download the PMs will be helpful.
much like your inbox download as TXT, XML or XLS file.
please consider this.
also can you please update for vb 360?
thanks.
adonfun
08-05-2006, 08:09 AM
I've been running this with 3.6 RC2 RC3 and now 3.6 gold - no problems yet.
I'm failry new..and want to know.. What does RC# mean? 3.6 isn't just 3.6?
Thanks :)
I'm failry new..and want to know.. What does RC# mean? 3.6 isn't just 3.6?
Thanks :)
RC = Release Candidate
Its like a sneak peak of the new version, developers often let out these early stage previews so people can install them and give bug reports and feedback.
You can see the release dates of 3.6 BETA and RC stages on the announcement forum at vb.com : http://www.vbulletin.com/forum/forumdisplay.php?f=1
Dream
08-06-2006, 03:04 AM
I posted a new version for vB 3.6 here https://vborg.vbsupport.ru/showthread.php?t=123166
on the new version the message is FINALLY parsed and the list of PMs is separated between sent and received
I posted a new version for vB 3.6 here https://vborg.vbsupport.ru/showthread.php?t=123166
on the new version the message is FINALLY parsed and the list of PMs is separated between sent and received
Are you going to add the new functionality to this one? as I for one can not upgrade to v3.6.x as my PHP and SQL versions are below the minimum requirement (or will the v3.6.x version work with 3.5.5?).
Dream
08-06-2006, 04:34 AM
I think the 3.6 version works with 3.5 try it out, im pretty sure.
I think the 3.6 version works with 3.5 try it out, im pretty sure.
Thanks, will try and let you know :)
Dream
08-06-2006, 06:32 PM
ok I updated this one too
ferreo
08-06-2006, 06:46 PM
Nice! I was just looking if there was a new version and an hour later, I got the email about v0.7!
Tralala
08-06-2006, 08:39 PM
With the new version's parsing, it removes any [quoted] elements from a PM. Would there be a way to retain that content?
newbe_haselina
08-07-2006, 05:58 AM
there is bug in .xml
please fix that
Seems to be a nice hack :)
But unfortunately I get the Error message "file not valid" when I'm installing the xml? Is this the same?
PS: Sorry for my bad English, I'm not a native speaker and I'm a newbe in Vb too :confused:
Dexter_kcd
08-08-2006, 05:48 AM
With the new version's parsing, it removes any [quoted] elements from a PM. Would there be a way to retain that content?
I'll second that. It does not seem to be parsing quoted text at all, it just disappears.
Dexter...
Dream
08-08-2006, 04:21 PM
Ill update this version as soon as I discover why it does that
If you guys got any clues please post
labrocca
08-12-2006, 04:58 PM
Thanks...I know that some may be against PM reading by others but spam via PM is a serious problem. I have users report it and I need to be able to read their PM box to see how many users they actually spammed so I can decide to ban, ignore, or remove their PM priviledges.
Thanks for the mod...installed no problem and works as described.
moonclamp
08-17-2006, 12:46 PM
Is there any way to stop the link appearing to non-super admins?
Dexter_kcd
08-18-2006, 05:43 AM
Is there any way to stop the link appearing to non-super admins?
Don't install cpnav_rpm.xml in your includes/xml folder. Remove it if you have it there. That will remove the link from the Admin Control Panel. Just bookmark the URL to the page, and send the URL to any other admins you want to have access.
Dexter...
haris_led
08-18-2006, 02:39 PM
Hello, I think there is a bug.
The 0,7 version does not show text in a [code] tag!! :(
FReeSTER
08-22-2006, 01:50 AM
Seems to be a nice hack :)
But unfortunately I get the Error message "file not valid" when I'm installing the xml? Is this the same?
PS: Sorry for my bad English, I'm not a native speaker and I'm a newbe in Vb too :confused:
Can someone please answer this ? I have the same problem. :confused:
Stoebi
08-22-2006, 02:32 AM
Installation
- Upload "read_pms.php" to your admincp folder
- Upload "cpnav_rpm.xml" to your includes/xml folder
Regards
criscokid
09-14-2006, 01:30 PM
but spam via PM is a serious problem.
Is there any way / mod to delete spam from a users box?
maxpot
09-14-2006, 06:12 PM
Yes, find the user who sent it and select 'delete all PM's sent by user' while in the admin page for that user.
thumbsucker
09-16-2006, 04:59 PM
Working with 3.6.1?
da420
09-16-2006, 05:06 PM
It works for me.
But, he made a seperate version for it as well which I have not got around to updating.
https://vborg.vbsupport.ru/showthread.php?t=123166&page=4
This is a great hack Dream really,but you are violating (well actually not you but the admin using it) some human rights about Post secret
Even me
R34GTT
02-13-2007, 07:44 PM
I have set up a forum for another guy and installed this for him. Although I am the admin, he is also the admin with all the same access as I have.
But,
I can use this hack, but he gets a message saying hes 'You don't have permission to access this page.'
Any ideas?
grwrn
02-14-2007, 01:16 AM
I would like to know as well, as my partner loaded it and I don't have access either.
Wired1
02-14-2007, 04:38 PM
is one of you a super admin, and the other isn't?
grwrn
02-14-2007, 06:53 PM
No..not on my board.
Knightmane
02-14-2007, 10:21 PM
You have to edit the config.php file in notepad to include any admins' userID numbers that you are going to be giving Super Administrator permissions to. This is usually a security risk, if someone figures out your partner's password and hacks his account, which is why the default on most common installations only has userID #1 placed by default to be a Super Admin.
If I am wrong about this, the board gurus can edit my post to correct the information.
abcmississauga
02-15-2007, 05:52 PM
This is a fun way to catch spies on my site..lol
BuyHostCheap
03-06-2007, 07:48 AM
plz sum one help me to insert Administrator user group...i need the coding
Subah
03-14-2007, 09:10 AM
Thanks :)
tutusinghsohi
03-20-2007, 07:01 PM
does the user know that the admin has read his/her p.m.?
i mean, are the messages marked "Read" once the admin has gone through them?
Dream
03-20-2007, 07:16 PM
No Tutu, the messages remain unread.
Shazz
03-20-2007, 10:12 PM
does the user know that the admin has read his/her p.m.?
i mean, are the messages marked "Read" once the admin has gone through them?
According to your postbit your using
'3.6.1'
I would use the later versoin :)
da420
03-21-2007, 02:14 AM
This version works perfectly fine on 3.6.5, and see no reason to switch until it starts acting up.
SnickersTK
04-08-2007, 09:29 AM
Thanks for the hack.
I was wondering, when people delete their PMs from their inbox and/or outbox, it also dissapears in your "read pms" - is there any way to prevent that?
nbawire
04-08-2007, 05:34 PM
Never got to thank you for this, but it has come in handy many times to prevent PM Spam, so thanks!
Dream
04-08-2007, 08:47 PM
You are welcome :)
Snickers, theres no way to prevent that, when a user deletes the PM it gets removed from the database.
R-n-R
04-08-2007, 10:15 PM
I am trying to install this mod, I am getting this vBulletin Message (error)
"Invalid File Specified"
in the Admin CP I am at "Plugins & Products > Manage Products I have browsed my PC for the file cpnav_rpm.xml and click on "Import" and then it trys to load and I get the above message while its trying to install. And ideas?
Thanks
Dream
04-08-2007, 10:30 PM
You don't import products to install this mod, you just upload files to the correct places.
Byron
04-19-2007, 05:06 AM
Is there a version of this for 3.6.5 ?
Dream
04-19-2007, 05:08 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=123166" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=123166</a>
mpoorrajab
04-24-2007, 11:31 AM
is there any mod near this for 3.6.?
BANDiT600
04-24-2007, 05:12 PM
mpoorrajab, use Admin Log In As User (https://vborg.vbsupport.ru/showthread.php?t=122939)! With this mod you get full access to user account instead of read PM's only!
jerseyda6
06-04-2007, 12:36 AM
thanks
da420
06-04-2007, 06:42 PM
mpoorrajab, use Admin Log In As User (https://vborg.vbsupport.ru/showthread.php?t=122939)! With this mod you get full access to user account instead of read PM's only!
I don't like that, because the PM's get marked as read. With this hack, and Dreams hack posted above, it does not get marked as read. But, it's all up to preference, I suppose.
joker2040
09-10-2007, 07:31 PM
Is there a version of this for 3.6.5 ?
I'm running this on 3.6.5 and it works flawlessly.
cmb7684
09-13-2007, 12:19 AM
what about VB 3.6.8?
runestone
09-26-2007, 12:33 AM
Working fine for me on 3.6.8
silvermerc
09-28-2007, 08:48 PM
works with point .8 fine.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.