vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Read PMs (PM Management Suite Lite) (https://vborg.vbsupport.ru/showthread.php?t=209344)

-=Leb=- 07-04-2009 06:41 PM

GJ and thx for the update :)

Mosh 07-04-2009 09:30 PM

Quote:

Originally Posted by mariocaz (Post 1842693)
And that error appears only when I am in the Read Pm?s Control Panel.

I need for you to tell me a bit more, as you are only 1 of 2 people (92 people so far have downloaded this) who have reported this issue.

Can you tell me what parts of Read PM's CP you are on about (it is not specific enough), I am trying to find out where it occurring.

Sunka 07-04-2009 11:25 PM

1 Attachment(s)
Same error...screenshot is in the attachment
vBulletin v3.8.3
PHP v5.2.9

Error come only when you list PMs (show last 100 PMs, or when you search PMs with some word)

radmoose 07-05-2009 03:33 AM

Same errors on 2 different installs

One Install...
Shows the TO for the last 55 items then errors.
vBulletin 3.8.1 Patch Level 1
PHP 5.2.5
MySQL Version 5.0.81-community
Second Install...
WHen showing last 250, 2 of the items about midway show the error but the rest are OK.
vBulletin 3.8.2
PHP 5.2.5
MySQL Version 5.0.81-community

Not having any other issues on either site

Mosh 07-05-2009 04:09 AM

Quote:

Originally Posted by hassshasss (Post 1842558)
:confused::confused::confused:
Mosh's Read PMs - Show Latest PMs


Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606

Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606

Warning: Invalid argument supplied for foreach() in [path]/xxxxxx/read_pms.php on line 606
Show Last 100 PMs
pmtextid PM Title From To Date
xxxxxxxx xxxxx xxxxxx xxxxx

Quote:

Originally Posted by mariocaz (Post 1842693)
Yes I am havieng the same error in my ACP

Code:

Warning: Invalid argument supplied for foreach() in [path]/admincp/read_pms.php on line 606
I have vB 3.7.6

PHP Version 5.2.9

And that error appears only when I am in the Read Pm?s Control Panel.

What else do you need ?

Quote:

Originally Posted by Sunka (Post 1842946)
Same error...screenshot is in the attachment
vBulletin v3.8.3
PHP v5.2.9


Error come only when you list PMs (show last 100 PMs, or when you search PMs with some word)

Quote:

Originally Posted by radmoose (Post 1843021)
Same errors on 2 different installs

One Install...
Shows the TO for the last 55 items then errors.
vBulletin 3.8.1 Patch Level 1
PHP 5.2.5
MySQL Version 5.0.81-community
Second Install...
WHen showing last 250, 2 of the items about midway show the error but the rest are OK.
vBulletin 3.8.2
PHP 5.2.5
MySQL Version 5.0.81-community

Not having any other issues on either site

What I think is happening is that the for some reason the array that holds the To, CC and BCC users for certain PMs is not being picked up, and as a consequence empty arrays are being passed to the function that creates the list of recipients that is displayed in the To field. I have done a change that should display a message Reciepients can not be displayed. if I am right.

[s]Can all four of you try the file attached and let me know if it works (i.e. no error messages and displaying the message above in some fields? Simply over-write your old version with this one.[/s]

If it fixes the issue, I will release a new version :)

EDIT: Removed attachment, as this has now been rolled into the official v3.8.009 release.

Sunka 07-05-2009 04:59 PM

Quote:

Originally Posted by Mosh (Post 1843030)
What I think is happening is that the for some reason the array that holds the To, CC and BCC users for certain PMs is not being picked up, and as a consequence empty arrays are being passed to the function that creates the list of recipients that is displayed in the To field. I have done a change that should display a message Reciepients can not be displayed. if I am right.

Can all four of you try the file attached and let me know if it works (i.e. no error messages and displaying the message above in some fields? Simply over-write your old version with this one.

If it fixes the issue, I will release a new version :)

For me is working with this fix :up:

BigDog56 07-05-2009 05:35 PM

Worked for me also

Mosh 07-06-2009 04:49 AM

Update: v3.8.009 - Monday 6th July 2009
-- Fixed: Invalid argument supplied for foreach() error a very small percentage of people were experiencing
-- Added: 1 phrase

As a lot of people benefit from this hack, again, if you have time, I would urge you to help me out and give back to the community at the same time, by providing a translation in your native language (as long as there is not an official translation already out there). So, if you read and write a different language other than English, and have a couple of hours to provide a translation in your language, please see the Translations section above for more information.

yotsume 07-06-2009 05:40 AM

Is there any way to get your version of this Reading PMs mod to be listed by user name rather than totals. It seems to be a waste of time to first list the PMs by totals. I need it to show a list of usernames.

Anyway to get this to list like Dreams version but with your updates?

radmoose 07-06-2009 05:54 AM

The error issue is resolved.

In the individual PM, there is no TO listed. Not sure what is up with that.

Mosh 07-06-2009 07:52 AM

Quote:

Originally Posted by yotsume (Post 1843603)
Is there any way to get your version of this Reading PMs mod to be listed by user name rather than totals. It seems to be a waste of time to first list the PMs by totals. I need it to show a list of usernames.

Anyway to get this to list like Dreams version but with your updates?

Yes, but the reason I did it this way rather than leave it the way Dream does it, is because Dream's version works fine on smaller forums with only a few thousand members on it. But when you get into the tens of thousands of users and they all have at least one PM, then what happens with Dream's version, is that it starts taking thirty plus seconds for the query to complete as Dream's version does not have any form of pagination, thus rendering this hack unusable (I have actually replicated this issue on a Big Board).

That is why it is the way it is in this version.

I may look into doing it via username (no promises), but it would definitely need to have pagination incorporated to prevent making the hack useless. It would be in addition to to via PM totals, not instead of them. But like I said, no promises.

Mosh 07-06-2009 07:59 AM

Quote:

Originally Posted by radmoose (Post 1843606)
The error issue is resolved.

In the individual PM, there is no TO listed. Not sure what is up with that.

It means that the To array in the individual PM is not being retrieved from the database, and as a consequence it is not being displaced. It has been this way since v3.8.001 of this hack, so it is not the hack doing this.

Also, I have found that this happens with forums that are really old (i.e. they were installed with a vBulletin version below v3.5), as the structure of PMs changed around vBulletin v3.5, so older PMs created in version 3.0.x or below may not show the To and CC and BCC fields correctly with this hack.

yotsume 07-06-2009 08:18 AM

I figured your design layout had to do with size of board issues. It would be awesome to have a paginated version that lists user names though. I hope you consider it.

steve1966 07-06-2009 09:52 AM

Quote:

Originally Posted by DobieGillis? (Post 1776950)
nothing personal, but I feel reading my users PM's is a violation of their rights. I could and would never think to do so.

This modification is very useful if members are are abusing or spaming a forum and if used in that context there is no raisng issue of violation of members rights.

thanks for the update

TigerXtrm 07-12-2009 07:35 PM

Great hack. This should solve those pesky 'he said, she said' arguments.

Lolli 07-19-2009 07:54 AM

Installed.

jimjam 07-23-2009 07:22 PM

sorted

Mosh 07-23-2009 10:35 PM

Quote:

Originally Posted by jimjam (Post 1854314)
This mod was working fine. I uninstalled as per the instructions, however after a reinstall I get a fatal error. I have double checked the install and it is all OK with the three files in the right place.

Fatal error: Call to undefined function print_cp_header() in c:\home\default\wallaby.com\htdocs\read_pms.php on line 90

Quote:

Originally Posted by 1st Post (Hack Support <snippet>)
I will not be providing any support at all to people who have not clicked Mark as Installed.

See the above, but I will tell you only this until you have clicked Mark as Installed: You have not uploaded the files to the correct locations.

Mosh 07-24-2009 07:31 AM

Quote:

Originally Posted by jimjam (Post 1854314)
This mod was working fine. I uninstalled as per the instructions, however after a reinstall I get a fatal error. I have double checked the install and it is all OK with the three files in the right place.

Fatal error: Call to undefined function print_cp_header() in c:\home\default\wallaby.com\htdocs\read_pms.php on line 90

OK, now that you have clicked Mark As Installed, the first thing I noticed is that read_pms.php is not in your admincp folder. As print_cp_header() is an AdminCP function, if read_pms.php is not in the admincp folder, then you will have this issue - see the vBulletin API for more info.

RC. 07-24-2009 07:32 AM

nice job...

pakdi 07-24-2009 11:44 AM

Thank alot

Bluetiereign 07-24-2009 08:51 PM

You know, this is one of those hacks, as an admin... I don't really want to admit I have... but I got a bot that has managed to bypass vBulletin's image verification, etc... to register and then PM me with an advert for his crap that enabled him to register and spam me with PMS !


Quote:

Hello, Bluetiereign!

I see you want to promote your website. More effective, for less price...
It's easy ;) . *X*.09 P*m is a software complex, which can post to more than 1.000.000 forums, blogs, guestbooks, BBS's, boards, etc.*

It's price was grow up to $540, and continues growing.
Just use Google for purchase X*r.

P.S. Do not use X*9 and X*.0 - it is too old and buggy versions.


So... I take the time to go to the database, look up the id and get to deleting all of the spamming he has done to the other members.

So, if I want to read PM's.. I could do it anyway since I have access to the database... no, I do not want to read your PRIVATE message's... but yes, I do want a quicker way than digging through the database to see if I'm the only one getting spammmed... so yes.. I have this installed - not to read PM's - but to lighten the load a bit.

Sorry... I just hate having to actually need this. But thanks, it is useful.

yotsume 07-24-2009 09:36 PM

Quote:

Originally Posted by Bluetiereign (Post 1854850)
You know, this is one of those hacks, as an admin... I don't really want to admit I have... but I got a bot that has managed to bypass vBulletin's image verification, etc... to register and then PM me with an advert for his crap that enabled him to register and spam me with PMS !

You know you really need to moderate new members by approving them first! That is what Admins and Mods are for! No bot can get in a properly moderated site! :up:

Silvio 07-24-2009 10:33 PM

Hi Mosh, and thankyou for another greatfull hack.

Is there the possibility to hide the label 'Read PMs' to the regular admin and to anyone NOT SuperAdmin?

ty 4 hints will be highly appreciated

apologises for broken english

ciao take care

edit: on script line #63 there is a little issue. I immagine the correct one should be :

Code:

rpm_print_stop_back($rpmphrase['error_no_permissions'] . '<br />' . $rpmphrase['error_no_permissions_super'] . '<br /><a href = "http://www.vbulletin.com/docs/html/what_is_superadmin">' . $rpmphrase['error_no_permissions_super_what'] . '</a>');
instead original
Code:

rpm_print_stop_back($rpmphrase['error_no_permissions'] . '<br />' . $rpmphrase['error_no_permissions_super'] . '<br /><a href = \"http://www.vbulletin.com/docs/html/what_is_superadmin\">' . $rpmphrase['error_no_permissions_super_what'] . '</a>');

OsideRida06 07-24-2009 11:54 PM

Thank you!

Mosh 07-25-2009 06:01 AM

Quote:

Originally Posted by Silvio (Post 1854888)
Hi Mosh, and thankyou for another greatfull hack.

Is there the possibility to hide the label 'Read PMs' to the regular admin and to anyone NOT SuperAdmin?

ty 4 hints will be highly appreciated

apologises for broken english

ciao take care

Andrea, the only way to do so currently, is to not upload cpnav_rpm.xml and to use a shortcut/bookmark to http://<your-forum-path-here>/admincp/read_pms.php? instead.

Quote:

Originally Posted by Silvio (Post 1854888)
edit: on script line #63 there is a little issue. I immagine the correct one should be :

Code:

rpm_print_stop_back($rpmphrase['error_no_permissions'] . '<br />' . $rpmphrase['error_no_permissions_super'] . '<br /><a href = "http://www.vbulletin.com/docs/html/what_is_superadmin">' . $rpmphrase['error_no_permissions_super_what'] . '</a>');
instead original
Code:

rpm_print_stop_back($rpmphrase['error_no_permissions'] . '<br />' . $rpmphrase['error_no_permissions_super'] . '<br /><a href = \"http://www.vbulletin.com/docs/html/what_is_superadmin\">' . $rpmphrase['error_no_permissions_super_what'] . '</a>');

Thanks Andrea, well spotted :) Will fix it in the next update ;)

macc 07-25-2009 06:27 AM

hello!

nice mod

found one mistake in read_pms.php on line 171

you have:

PHP Code:

rpm_print_stop_back($rpmphrase['error_prefix1'] . $_REQUEST['userid'] . '</b> ' $rpmphrase['error_postfix2']); 


should be:

PHP Code:

rpm_print_stop_back($rpmphrase['error_prefix1'] . ': <b>' $_REQUEST['userid'] . '</b> ' $rpmphrase['error_postfix2']); 

reg
macc

Mosh 07-25-2009 06:35 AM

Quote:

Originally Posted by macc (Post 1855048)
hello!

nice mod

found one mistake in read_pms.php on line 171

you have:

PHP Code:

rpm_print_stop_back($rpmphrase['error_prefix1'] . $_REQUEST['userid'] . '</b> ' $rpmphrase['error_postfix2']); 


should be:

PHP Code:

rpm_print_stop_back($rpmphrase['error_prefix1'] . ': <b>' $_REQUEST['userid'] . '</b> ' $rpmphrase['error_postfix2']); 

reg
macc

Thanks macc :) Will fix it in the next version ;)

I think I had better do a code review now. I will post an update in the next hour or so.

Mosh 07-25-2009 07:03 AM

Update: v3.8.010 - Saturday 25th July 2009
-- Fixed: Typo on line 63 of 'readpms.php' - thanks to Andrea (Silvio)
-- Fixed: Typo on line 171 of 'readpms.php' - thanks to macc
-- Fixed: Typo on line 476 of 'readpms.php'
-- Fixed: Typo on line 483 of 'readpms.php'

This is just a typo fix update. There is no new functionality, no bug fixes, just fixed four typos. So, only update if you feel the need to.

And yet, again I am requesting this. As a lot of people benefit from this hack, if you have time, I would urge you to help me out and give back to the community at the same time, by providing a translation in your native language (as long as there is not an official translation already out there). So, if you read and write a different language other than English, and have a couple of hours to provide a translation in your language, please see the Translations section in the first post for more information.

Asdrubael 07-25-2009 08:19 AM

Hi Mosh,

I recently installed your mod, but:

1st: I dont have a link in the ACP
2nd: When I try to open the read_pms.php manually, it redirects me to the forum index

=(

Mosh 07-25-2009 08:56 AM

Quote:

Originally Posted by Asdrubael (Post 1855079)
Hi Mosh,

I recently installed your mod, but:


1st: I dont have a link in the ACP
2nd: When I try to open the read_pms.php manually, it redirects me to the forum index


=(

Are you sure you followed all the steps in the installation instructions in the readme.txt file? As the first problem and most likely the second are being caused by not following the instructions to the letter.

MTGDarkness 07-31-2009 09:23 PM

Question on this MOD. Is it possible to prevent my global moderators, who have access to the user part of the admincp, from seeing/reading this link to the specific part, or concealing it elsewhere? Also, same with a coadmin.

-=Leb=- 07-31-2009 09:45 PM

gj and thx for the update.

Mosh 08-11-2009 11:10 PM

Update: v3.8.011 - Wednesday 12th August 2009
-- Added: Italian translation - author wishes to remain anonymous
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions on how to change language files

This is just a language update. There is no new functionality, no bug fixes, just added a new language. So, only update if you feel the need to.

As an unnamed contributor got the ball rolling with language translations (thank you once again ;) you know who you are), again I will make the request.

As a lot of people benefit from this hack, if you have time, I would urge you to help me out and give back to the community at the same time, by providing a translation in your native language (as long as there is not an official translation already out there).

So, if you read and write a different language other than English or Italian, and have a couple of hours to provide a translation in your language, please see the Translations section in the first post for more information.

steve1966 08-12-2009 06:13 AM

thanks

-=Leb=- 08-12-2009 01:52 PM

you are going forward with this :) gj as always

ITDarasgah 08-12-2009 03:01 PM

updated ...thanks

avsunforum 08-12-2009 09:41 PM

thanks

Mosh 08-13-2009 02:38 AM

Update: v3.8.012 - Thursday 13th August 2009
-- Added: German language file "read_pms_deu.php" - thanks to Speedy1505
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

This is just a language update. There is no new functionality, no bug fixes, just added a new language. So, only update if you feel the need to.

As Speedy1505 continued the ball rolling with language translations (thank you once again Speedy ;)), again I will make the request.

As a lot of people benefit from this hack, if you have time, I would urge you to help me out and give back to the community at the same time, by providing a translation in your native language (as long as there is not an official translation already out there).

So, if you read and write a different language other than English, German or Italian, and have a couple of hours to provide a translation in your language, please see the Translations section in the first post for more information.

Mosh 08-14-2009 03:00 AM

Update: v3.8.013 - Friday 14th August 2009
-- Added: Brazilian (Portuguese) language file "read_pms_bra.php" - thanks to Setokaiba (SW)
-- Updated: "readpms.php" to accommodate the new language
-- Updated: Instructions

This is just a language update. There is no new functionality, no bug fixes, just added a new language. So, only update if you feel the need to.

As Setokaiba (SW) is continuing to keep the ball rolling with language translations (thank you once again Setokaiba ;)), again I will make the request.

As a lot of people benefit from this hack, if you have time, I would urge you to help me out and give back to the community at the same time, by providing a translation in your native language (as long as there is not an official translation already out there).

So, if you read and write a different language other than Brazilian, English, German or Italian, and have a couple of hours to provide a translation in your language, please see the Translations section in the first post for more information.


All times are GMT. The time now is 12:49 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
  • Page Generation 0.01478 seconds
  • Memory Usage 1,867KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (4)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete