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)
-   -   Super PM (Mass PM) (https://vborg.vbsupport.ru/showthread.php?t=100314)

msgotit 11-14-2005 03:31 AM

Quote:

Originally Posted by biggjoe
...If/when they click on 'All Usergroups', is that for literally all of the user groups in the forums, or all of ther usergroups that are listed for them only? Which in this case would mean only the one 'Registered Users' usergroup?

Thanks Joe,

The 'All Usergroups' is used to select all of the groups that are listed, I didn't think about it, but I may change that in the next version so that it says 'Select All', because that is really what it does. By selecting it, it just selects all of the groups that are available. Glad you like that hack, and if there is anything that would make it more useful let me know! :)

Mark

jellybaby 11-14-2005 07:51 AM

I get an error message with this:-

Too many recipients - you are attempting to send to 2790 users but you are only allowed to send to 1000 users.

How can I send to all?

msgotit 11-14-2005 11:22 AM

Quote:

Originally Posted by jellybaby
I get an error message with this:-

Too many recipients - you are attempting to send to 2790 users but you are only allowed to send to 1000 users.

How can I send to all?

Find this bit of code in superpm.php:
PHP Code:

if ($vbulletin->userinfo['spmoption'])
{
    
$permissions['pmsendmax'] = 1000;
    
$spmugroupid $vbulletin->userinfo['spmugroup'];
    
$spmoption convert_bits_to_array($vbulletin->userinfo['spmoption'], $_SPMOPTION);


Change 1000 to 10000 or whatever you want, I meant to change that and will in the next version possibly giving the option to limit it if desired. Sorry about that.

Watson 11-14-2005 11:22 AM

Quote:

Originally Posted by msgotit
When you send a private message normally you should see just what you see when in the first screen shot. That is, in the right top corner of the box you should see a link to "Send Super Private Message", and that should take you to the superpm.php page. If that isn't there, maybe post the part of the pm_newpm template, a little before and a little after where you edited it and I will see if I can help.

The page shouldn't time out, so I would like to know what it happening, when you say the page times out, is this once you have submited the message or before that? I know that with that many members that there could be a problem, and I am working on a way to fix that, hopefully in the next week I will have that done, but I would like to know what I need to do to make it work better, especially for those with large boards. Thanks for your help :)

With the timing out, its when I try to send to all members, but its only on the Count bit, it doesnt go to the send and confirm screen. thats when I get a page not found error.

And I found the error with the superPM template bit, I hadn't put it in the right place overwriting the old code :)

Cheers mate

hilfe-forum 11-18-2005 04:10 PM

first sorry für my bad english

i have this error:

Datenbankfehler in vBulletin 3.5.1:

Invalid SQL:
ALTER TABLE `user` ADD `spmoption` INT( 10 ) DEFAULT '0' NOT NULL;

MySQL-Fehler : Table 'abcd.user' doesn't exist
Fehler-Nr. : 1146

but "abcd" is the name of the DB not the table Prefix

can anybody help?
THX!

msgotit 11-18-2005 07:55 PM

Quote:

Originally Posted by hilfe-forum
first sorry f?r my bad english

i have this error:

Datenbankfehler in vBulletin 3.5.1:

Invalid SQL:
ALTER TABLE `user` ADD `spmoption` INT( 10 ) DEFAULT '0' NOT NULL;


MySQL-Fehler : Table 'abcd.user' doesn't exist
Fehler-Nr. : 1146

but "abcd" is the name of the DB not the table Prefix

can anybody help?
THX!

That is likely my bad, I didn't include the table prefix when I created the product, and I now realize I should of, I will get that taken care of and post it.

Mark

EDIT: I uploaded a new xml file. If you still have problems let me know! :)

hilfe-forum 11-19-2005 06:13 AM

Quote:

Originally Posted by msgotit
That is likely my bad, I didn't include the table prefix when I created the product, and I now realize I should of, I will get that taken care of and post it.

Mark

EDIT: I uploaded a new xml file. If you still have problems let me know! :)

THX for help!!!

I have now a other prob.

Fatal error: Call to undefined function: array_chunk() in /var/www/www1/rechner2/wwwneu/vbulletin/superpm.php on line 375

msgotit 11-19-2005 03:13 PM

Quote:

Originally Posted by hilfe-forum
THX for help!!!

I have now a other prob.

Fatal error: Call to undefined function: array_chunk() in /var/www/www1/rechner2/wwwneu/vbulletin/superpm.php on line 375

Sorry, I have been playing around with it and accidently uploaded the other copy, I think I got the right one now, go ahead and try it and let me know!

jellybaby 11-23-2005 07:17 AM

This caused an overload on my server when I did it as I sent PMs to over 2,500 people how do I stop that happening as it took my site down for 10 mins!:disappointed:

msgotit 11-23-2005 08:27 PM

Quote:

Originally Posted by jellybaby
This caused an overload on my server when I did it as I sent PMs to over 2,500 people how do I stop that happening as it took my site down for 10 mins!:disappointed:

Give me a couple of days and I believe that I will have a fix, I have been working on making this process less server intensive. I apologize for taking your site down, really didn't mean to do that, but I am close on having a process that won't do that. Again, sorry!!


All times are GMT. The time now is 04:11 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.01409 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_php_printable
  • (7)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