vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Private Messages & Email Log (https://vborg.vbsupport.ru/showthread.php?t=245243)

ppatil007 08-27-2010 05:44 PM

Quote:

Originally Posted by Vitaly (Post 2088197)
I think, you have not uploaded file from new mod version. Current file has only 248 strings, and can't generate such error.

I have downloaded "vb-pm_log-2.5.zip (12.0 KB, 148 downloads)"

and tried doing the entire process 4 times i still get same issue

when i do search with user name nothing happens and when i do it for text i get

Warning: Invalid argument supplied for foreach() in [path]/admincp/rcd_pm_log.php on line 312

i think i have used the current version , probably sothing wrong with your code or you may have put the wrong file by mistake

baggo 08-29-2010 10:55 AM

I experienced the same error when searching for a blank entry in the text option. However, after sending a test PM and searching again the error stops and the PM show up. I'm assuming the mod only records PM's made AFTER the install? Seems to be working fine for me if so.

Vitaly 08-29-2010 11:08 AM

ppatil007: Have you given permission for admin to read PMs, as described in installation steps?

baggo: Yes, it logs pms, sent after installation. In separate table. That guarantees, that logs are intact even if members clear their mailboxes. I had no chance to test it with completely clear log. Will check it later, since bug is not critical. Thank you for report.

sapphiremagus 08-29-2010 03:41 PM

Working for me - the error is likely that no one had sent PMs after the install, heh. Once PMs started to be sent, it worked fine. Marking installed, thanks :)

pportuese 08-31-2010 07:04 PM

Just installed this, copied all the files over and installed with the xbl plugin. I get this on a text search:
Warning: Invalid argument supplied for foreach() in [path]/admincp/rcd_pm_log.php on line 312

And on a user search nothing shows up. Like none of my users have private messages. I know I do and I tried it, still nothing.

I also don't understand the last step. I can't find where you give people permission to see the log pm's.

BTW I have 4.0.5 if that matters.

EDIT: I found the set access part and it only says yes or no for Admins. I set myself to yes and when I search still nothing shows up.

sapphiremagus 09-01-2010 05:34 AM

Quote:

Originally Posted by pportuese (Post 2092136)
Just installed this, copied all the files over and installed with the xbl plugin. I get this on a text search:
Warning: Invalid argument supplied for foreach() in [path]/admincp/rcd_pm_log.php on line 312

And on a user search nothing shows up. Like none of my users have private messages. I know I do and I tried it, still nothing.

I also don't understand the last step. I can't find where you give people permission to see the log pm's.

BTW I have 4.0.5 if that matters.


EDIT: I found the set access part and it only says yes or no for Admins. I set myself to yes and when I search still nothing shows up.

This looks similar to the issues I was having. The problem is that the log doesn't work retroactively - only PMs sent after the install are logged. Once my users started PMing the error went away and there were logs to go through.

The error itself gives a clue - foreach is a loop. It's trying to loop through all the logs but isn't finding any (and probably is getting a null reference, hence the error instead of dying gracefully).

pportuese 09-01-2010 12:58 PM

Quote:

Originally Posted by sapphiremagus (Post 2092301)
This looks similar to the issues I was having. The problem is that the log doesn't work retroactively - only PMs sent after the install are logged.

That explains a lot right there. Is there anyway to make it go back and get the rest of the PM's?

And can you only see these if they are in the users inbox? I don't want to save lots of copies of PM's and waste diskspace that could be used elsewhere.
Thanks!!!

Matt51723 10-17-2010 05:41 PM

No problems with errors on my site, however I've added permission for myself to use this feature in admin permissions , but when i go to PM Logs, nothing shows up.

scottct1 10-20-2010 02:19 PM

I just installed it but do not see Private Message Log under settings > Options...

On vBulletin 4.07.

PM log however is shown under users.

Vitaly 10-20-2010 03:03 PM

Hm... no ideas, really. I'll publish refactored code in 1-2 weeks. Let's wait a bit


All times are GMT. The time now is 11:30 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
  • Page Generation 0.01197 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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
  • (10)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