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)

Zero Tolerance 09-12-2005 10:00 PM

Admin Mass PM Members
 
A port from https://vborg.vbsupport.ru/showthrea...threadid=70223.

Though this release is quiet different, as it's been completely re-written for performance and uses the data-manager, and includes a well requested feature from the last version of compatability with secondary usergroups.

Description:

Allows admins to send a pm to all members within x primary usergroups AND/OR x secondary usergroups. See preview for more information really, it speaks for itself.

Simple installation, phrased, nothing else needed right?

Oh, and just incase you decide to ask, "But didn't beebi already port this mod?", the answer is yes, however without my permission.

So uhm, enjoy :p

- Zero Tolerance

===============================
Staff Note: For vbulletin 3.6, please see this post.
===============================

Boofo 09-13-2005 02:52 PM

Does it use the standard bbuserinfo[username] variable for the pm test and title? ;)

Cyricx 09-13-2005 04:08 PM

Suggestion : a box to enter the userid that the PM is originating from



Going to use this to let usergroup leaders send PMs to members of their usergroup and would prefer it came from them instead of me :)

oman 09-13-2005 09:34 PM

thanx
Zero Tolerance

eNforce 09-13-2005 09:41 PM

Thank you, was looking for this yesterday for 3.5.0 :P

/me installs

MentaL 09-13-2005 10:36 PM

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758

O_O!

Snort_2005 09-14-2005 06:47 AM

Quote:

Originally Posted by mentalrz
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758


O_O!

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758

O_O!!!!!

Andreas 09-14-2005 07:15 AM

This happens when one of the Recipients has PM disabled - or the Usergroup does not allow PMs.
Also, the cpnav is attached to vbulletin instead of mass_pm_members.

And using displayorder 10 isn't a good idea, as this is alread in use for vBulletin Options ;)

Boofo 09-14-2005 08:15 AM

Quote:

Originally Posted by KirbyDE
This happens when one of the Recipients has PM disabled - or the Usergroup does not allow PMs.
Also, the cpnav is attached to vbulletin instead of mass_pm_members.

And using displayorder 10 isn't a good idea, as this is alread in use for vBulletin Options ;)

And the fix? ;)

Andreas 09-14-2005 08:22 AM

Well ... I expect ZT to fix it :)

Boofo 09-14-2005 09:55 AM

So do I, but that might not happen for a while. He's still in school, I think.

Zero Tolerance 09-14-2005 10:14 AM

School? I left school over a year ago :p

Updated the zip file, if you've installed just re-upload everything within the UPLOAD/ folder, should be fine then. I've added in a bit of code to override the datamanager, instead of using the default set_recipients() function, i've forced the data into the variables, so no matter the permissions the users will recieve the PM, however those with it disabled won't be able to see the private message until they re-enable it.

- Zero Tolerance

Andreas 09-14-2005 10:17 AM

That's not nice, it should take care of the Users decision IMHO.

Zero Tolerance 09-14-2005 10:21 AM

Quote:

Originally Posted by KirbyDE
That's not nice, it should take care of the Users decision IMHO.

Perhaps, but they won't be able to see the PM while they retain the decision to have private messaging turned off, so i doubt it makes much difference.

- Zero Tolerance

Boofo 09-14-2005 10:22 AM

If they can't see the message til they re-enable it, the message would be better off not being there, right? It could be a few months before they re-enable it. I would think a setting to bypass their setting and send them the pm anyway, or not bypass it and not send it at all. That way you have it covered all the way around. ;)

And sorry about the school remark, I thought you were still in school with your age. ;)

Zero Tolerance 09-14-2005 10:33 AM

Quote:

Originally Posted by Boofo
If they can't see the message til they re-enable it, the message would be better off not being there, right? It could be a few months before they re-enable it. I would think a setting to bypass their setting and send them the pm anyway, or not bypass it and not send it at all. That way you have it covered all the way around. ;)

And sorry about the school remark, I thought you were still in school with your age. ;)

Fair point, but in others prefered the old one where it forced the PM to be sent, so I thought it'd be best to keep it that way.

Oh, and here in england, we finish school when we're 16.

- Zero Tolerance

Andreas 09-14-2005 10:35 AM

Quote:

but in others prefered the old one where it forced the PM to be sent
That's on of the reasons why I had to code my own Version for 3.0 ;)

Btw:
PHP Code:

$Users $db->query("select * from " TABLE_PREFIX "user where " get_mass_pm_sql_condition($Prime$Secon)); 

I'd change that to only userid and username - the 3.0 Version caused serious memory exhausted errors on my server because of this.

Boofo 09-14-2005 10:38 AM

But if it is a vital pm that you need the member to get, they would miss it by having pms turned off. An Admin settable option for that would solve it for both cases.

How many years of school do you guys go for over there? We have 13 here. Kindergarten (from which I will be graduating soon) and grades 1-12.

nexialys 09-14-2005 11:10 AM

Quote:

Originally Posted by Boofo
How many years of school do you guys go for over there? We have 13 here. Kindergarten (from which I will be graduating soon) and grades 1-12.

Hurry up Boofo, my daughter is hitting the school next year, she will be graduated before you !!!!!
and for your question, here in Qu?bec, we have 4 levels...
pre-primary: 1 year (5 years old)
primary: 1-6
secondary: 1-5
cegep/college: 1-3
university (who goes there anyway!)...

stinger2 10-07-2005 12:24 AM

any idea why it would not worrk for Gold?

installed it..but NO option for PM in admincp

edit
its showing today..hehe...dont know why it did not yesterday...despite all the refresh i did
working fine thank you

trackpads 10-17-2005 12:04 AM

Holy cow, I had the old on that you did ZT with no problems, this one however rams my server load through the roof. My server went to a load of 76!!! I tried lowering the number of PMs all the way down to 10 but still no luck.

Any ideas?

Thanks again,

-Jason

Boofo 10-17-2005 10:19 AM

Quote:

Originally Posted by KirbyDE
That's on of the reasons why I had to code my own Version for 3.0 ;)

Btw:
PHP Code:

$Users $db->query("select * from " TABLE_PREFIX "user where " get_mass_pm_sql_condition($Prime$Secon)); 

I'd change that to only userid and username - the 3.0 Version caused serious memory exhausted errors on my server because of this.

You mean change this?

Quote:

*


to this?

Quote:

username, userid

mtha 10-17-2005 01:35 PM

Quote:

Originally Posted by KirbyDE
That's on of the reasons why I had to code my own Version for 3.0 ;)
.

are you going to code one for 3.5?

Flow Fusion 10-21-2005 01:21 PM

Great hack. Thanks.

Juzmi 10-26-2005 04:33 AM

Very Nice..!

*Juzmi Installs*

ben_erhan 10-26-2005 07:23 AM

Dear Boofo,

I dont want to every admin to see this title in the control panel.I want to add this selection to the options menu.

Vb Options
--Search Type
--Pm To the Members

How Can I do this?

BANDiT600 10-26-2005 08:31 AM

Thank you Zero, very usefull mod! Installed! ;)

trainer 10-29-2005 02:09 AM

does any BBcodes work? $username or does straight HTML work?

mtrac 10-30-2005 02:09 AM

Splendid hack. Just used it to send out notice of the site's 1st anniversary and will possibly prune some MIA members.

JGNYC 10-30-2005 03:20 AM

If I wanted to send out a PM to thousands of members, would I need to click next after each 100 is done or will it go automatically?

Basit 11-10-2005 05:52 PM

Hi a gr8 hack,

Only problem I am facing is when I am sending messages to more than 5000 users it hangs the server. Server load shoot up to 50+, any idea how to control this ?

Thanks

COBRAws 11-11-2005 09:54 PM

Quote:

Originally Posted by Basit
Hi a gr8 hack,

Only problem I am facing is when I am sending messages to more than 5000 users it hangs the server. Server load shoot up to 50+, any idea how to control this ?

Thanks

Server load over 50???? I think thats impossible.


Your problem (like mine) is for example if you have more users than 5000, and most of them have "notify me on new PM", the server will send emails all together. You need to go to your vBulletin admincp and switch to the batch email sending.

What this will do is simple, instead of sending thousands of emails at a time, it will divide them into a number you specify. So for example, you could be sending in groups of 50 emails or more, depending on how reliable your host is.


For example I own a board with around 7k users and dont use the batch system because my server hardware can handle it. And server load never goes higher than 3.5!

nexus851 11-13-2005 10:51 PM

Where are the MASS EMAIL MENUS located at? i cant seem to find it at all... Im using VB 3.50 final.

Please direct me to the MASS EMAIL menu, anyone =)

thanks!

COBRAws 11-14-2005 08:47 AM

mass pm or email? o_O

nexus851 11-14-2005 08:59 AM

mass pm

Neutral Singh 11-14-2005 10:39 AM

The plugin is reporting a fatal error in admin_masspmall.php and does not send PMs to all members. Is this extension working with vB3.5.0 ? Thanks

Basit 11-14-2005 05:40 PM

Quote:

Originally Posted by COBRAws
Server load over 50???? I think thats impossible.


Your problem (like mine) is for example if you have more users than 5000, and most of them have "notify me on new PM", the server will send emails all together. You need to go to your vBulletin admincp and switch to the batch email sending.

What this will do is simple, instead of sending thousands of emails at a time, it will divide them into a number you specify. So for example, you could be sending in groups of 50 emails or more, depending on how reliable your host is.


For example I own a board with around 7k users and dont use the batch system because my server hardware can handle it. And server load never goes higher than 3.5!


Well nothing is imposible, next time I will take a screen shot ;)

Back to the problem, I already have batch emailing option turned on, and set to a low value. Still unable to figure out what is problem. May be its a good idea for me to use batch emailing instead of using Mass PM feature for time being.

Infact I seen another Extension about sending Newsletter which pause for one min after sending every 300 (or what ever number you set) emails. This help to maintain server load. I think a similar feature within Mass PM will be very helpful.

Thanks for your help.

Regards,

Basit 11-14-2005 05:41 PM

Quote:

Originally Posted by Neutral Singh
The plugin is reporting a fatal error in admin_masspmall.php and does not send PMs to all members. Is this extension working with vB3.5.0 ? Thanks

I am using it on 3.5.0 Gold and its working fine except the problem i reported above.

nexus851 11-14-2005 08:00 PM

then where is the mass mail menu located at? i cant seem to find it...

J.P

COBRAws 11-15-2005 01:02 PM

Quote:

Originally Posted by nexus851
then where is the mass mail menu located at? i cant seem to find it...


J.P

admincp > Users > Send Email to users


/admincp/email.php?do=start


All times are GMT. The time now is 05:49 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.01617 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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