vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Admin Mass PM Members (https://vborg.vbsupport.ru/showthread.php?t=96190)

mawby 02-05-2007 01:51 PM

Well I just hacked the code further so that it sends each PM individually and in one loop, whilst echoing to the screen the usernames as it goes and any error messages. I was a bit worried it might make take too long and the server wouldn't cope but it just sent 1500 PMs in a couple of seconds. :)

stinger2 02-05-2007 08:20 PM

if you have corrected it.......why dont you share it with us.....??

mawby 02-06-2007 06:56 AM

Quote:

Originally Posted by stinger2 (Post 1175455)
if you have corrected it.......why dont you share it with us.....??

It may work on my system, but as I'm not a PHP coder I have my doubts as to whether it can be classed as 'correct' or not.

However, I will upload it tonight if you want but I don't want any flaming if it doesn't work as I'm not sure you are all having the same problem as I did.

criscokid 02-06-2007 07:52 AM

Quote:

Originally Posted by mawby (Post 1175818)
However, I will upload it tonight if you want but I don't want any flaming if it doesn't work as I'm not sure you are all having the same problem as I did.

By the sounds of things your modified version makes it a little easier to spot where the problems are being caused - in your case it was a few dodgy usernames that vB didn't like.

mawby 02-06-2007 05:33 PM

Attached is the hacked version that works on my 3.6.4 site. It will send each PM one at a time and will print out the names of the users it is sending a PM to, plus any error message returned if the PM fails. I hope this proves useful to others.

mawby 02-12-2007 08:36 AM

I'm interested to know if my hacked version worked for anyone else?

redlabour 02-12-2007 08:49 AM

Quote:

Originally Posted by mawby (Post 1180490)
I'm interested to know if my hacked version worked for anyone else?

Release it as a 3.6.x Hack. I dont like to spam this Thread here any more.

Darat 02-12-2007 09:41 AM

Quote:

Originally Posted by mawby (Post 1180490)
I'm interested to know if my hacked version worked for anyone else?


I've just tried it on my 3.6.4 board and it seems to have worked sending to two different groups, one with over 4000 members in it and the other with over 6000 members in it.

The usernames that caused problems were listed as:

Quote:


"V"
The following users were not found:

1. &quot
2. V&quot

Thanks!

Darat 02-12-2007 02:55 PM

Just to add still got the problem that it doesn't show up as a new PM in the welcome box.

stinger2 02-12-2007 03:26 PM

sorry does not work for me.........got internal server error


All times are GMT. The time now is 08:09 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.01252 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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