PDA

View Full Version : Administrative and Maintenance Tools - Yet Another Mass Private Message System 1.0.1


Pages : [1] 2

mtha
03-09-2007, 10:00 PM
Yet Another Mass Private Message System

This mod has been nominated for mod of the month April 2007. Please go to the poll (https://vborg.vbsupport.ru/showthread.php?t=143739) and vote. Thanks

Hack Version: 1.0.1.070310
Compatible vB version: 3.6.x
Support: https://vborg.vbsupport.ru/showthread.php?t=141622

NOTE:
This hack is not related to, nor using Zero Tolerance's "Admin Mass PM Members" hack.
Although this is a new hack, I still would say thanks to insanctus, Oblivion Knight and Zero Tolerance for their idea and hacks on sending mass PM from admincp. I also want to thank the members who need this hack badly, and support it.

DESCRIPTION:

This system allows admins to send mass private message to members from AdminCP
Some options:
- Detail user search condition, so you can send PM to diffent usergroups, that satisfy different condition
- Send "Test" Private Message,
- Allow/disable smilies
- Override "Receive Private Messages = NO" option?
- set number of PMs to send at once
- Use different user as Sender (by userid)

CHANGES/MODIFICATION:

- Query: 0
- Files to add: 2
- Product to import: 1

INSTALL:

1. Upload all files in UPLOAD folder to your server
2. Import XML product (product-hn_masspm.xml) using vBulletin product import tool.
ACP -> Plugin System -> Manage Products -> Add/Import Product
3. Refresh menu panel to display "Send PM to Users" link in "Users" section.

UPGRADE:
1. Upload all files in UPLOAD folder to your server
2. Import XML product (product-hn_masspm.xml) using vBulletin product import tool with Override option checked.

SCREENSHOT:
Included

HISTORY:

v. 1.0.0 (3.10.2007) Initial release
v. 1.0.1 (3.10.2007) Fix some bugs, add more options when sending PMs

mtha
03-10-2007, 06:35 AM
reserved

Surviver
03-10-2007, 06:46 AM
Where is the File ?

anywares
03-10-2007, 07:00 AM
good question =\

Raydar
03-10-2007, 07:26 AM
Hi Mtha,

I haven't installed this yet, but thanks for releasing it. :up:

Can we use $username in the messaging system so that people's names appear in the message?

And does it hide all the recipients in the from field?

Thanks

Reggie

projectego
03-10-2007, 07:44 AM
I've installed this for now too. Looking forward to trying it out. ;)

Subah
03-10-2007, 08:07 AM
Thanks Mtha but where is the files ?

delinetci
03-10-2007, 08:14 AM
Thank you very very good. (http://www.delinetciler.com/forum/)

stinger2
03-10-2007, 08:49 AM
waiting for file....thx

TeddyKGB
03-10-2007, 11:09 AM
mtha - is this any different than the one you released earlier in the week? if we have that one installed I guess would should remove it and installed this one?

puertoblack2003
03-10-2007, 11:51 AM
OOOOOOOOOK WHEREEEEEEEEE'S the file is like offering someone to eat but don't hand them the plate:eek:

Doctor Death
03-10-2007, 12:03 PM
Blink blink blink :|

FleaBag
03-10-2007, 12:55 PM
The file is there...

mtha
03-10-2007, 12:56 PM
It was late night lastnight, after a coming back from a party :p ... little tired to forget things. Sorry guys
the file is up now

mtha
03-10-2007, 01:02 PM
Hi Mtha,
Can we use $username in the messaging system so that people's names appear in the message?

No you cant. I've thought about it, but this system is sending mass (say 500) PMs at once (going into one PM), I would rather not sending it individually. (creating about 10000 different PMs in database is a huge waste of database and system resources)

And does it hide all the recipients in the from field?
Yes. it does
[/quote]

mtha - is this any different than the one you released earlier in the week? if we have that one installed I guess would should remove it and installed this one?


Yes it is different. it's up to you, it wont be conflict, but I rather use just one system.

rmxs
03-10-2007, 01:28 PM
Thanks

Princeton
03-10-2007, 01:40 PM
nearly identical to the one I wrote for a client ... great job

you should add print_cp_redirect()

dknelson
03-10-2007, 01:49 PM
I removed the other one and installed this one. Great job.

There is one small thing that I don't care for. If I go to the usergroup to send a Mass PM....all the usergroups are selected by default. I have a LOT of usergroups because I am using this to send PMs to members in certain states/provinces. So...I have to de-select 60 or so groups and then select only the one or two that I want.

I wish that they were either not selected by default or a button to de-select all.

Otherwise...thank you VERY much.

pollon
03-10-2007, 01:59 PM
it's better than the other one. thanks:D

Snake
03-10-2007, 02:26 PM
Awesome. Thanks for the release. :)

redlabour
03-10-2007, 03:21 PM
Great one ! :)

Tralala
03-10-2007, 03:21 PM
Sweet! I uninstalled the previous one I am using... and installed this instead!

banuchi2
03-10-2007, 04:23 PM
Messages were not sent and it didn't allow me to go past the 500 original. Any ideas? The TEST worked and had the NEXT button, but not when it was actually sent.

zappsan
03-10-2007, 04:26 PM
When I use BBCode, the URLs are mssed up.
I get URLs like http://\"http//piforums.info/showthread.php?t=3593\%22 for example...

edit:
Well, you need to make sure not to use any " for the URLs or it will show up like I stated above.

banuchi2
03-10-2007, 04:35 PM
I figured this out.... I can send to 395 members and the NEXT button will be there. If I send to 396+, then the NEXT button will NOT be there.

The only other issue is that the message isn't actually sent even though it says it is. I logged in as some users that supposedly were sent a PM and they did not receive anything.

gsm4arab1
03-10-2007, 04:42 PM
Thank you 0........

johnny713
03-10-2007, 09:52 PM
thank you so much for this, I been waiting for this hack for a long time. Must INSTALL

mtha
03-11-2007, 03:46 AM
nearly identical to the one I wrote for a client ... great job
you should add print_cp_redirect()

:) thanks, I didnt know that you wrote one before. you wouldnt mind when I release it, do you?

How can I pass the "_POST" value for "message" into print_cp_redirect()? in my "donext" function, it is a form with informations to send.


There is one small thing that I don't care for. If I go to the usergroup to send a Mass PM....all the usergroups are selected by default. I have a LOT of usergroups because I am using this to send PMs to members in certain states/provinces. So...I have to de-select 60 or so groups and then select only the one or two that I want.

I wish that they were either not selected by default or a button to de-select all.

click on All Usergroups once to select ALL groups, and click again to de-select them

When I use BBCode, the URLs are mssed up.
I get URLs like http://\"http//piforums.info/showthread.php?t=3593\%22 for example...

edit:
Well, you need to make sure not to use any " for the URLs or it will show up like I stated above.

this is fixed in version 1.0.1


Messages were not sent and it didn't allow me to go past the 500 original. Any ideas? The TEST worked and had the NEXT button, but not when it was actually sent.

I figured this out.... I can send to 395 members and the NEXT button will be there. If I send to 396+, then the NEXT button will NOT be there.

The only other issue is that the message isn't actually sent even though it says it is. I logged in as some users that supposedly were sent a PM and they did not receive anything.

are you sure you install THIS hack, not the old one that I released yesterday, based on ZT's hack? This one is DIFFERENT, and the link is in Users section in your admincp, with the name "Send PM to Users"
In this one, there is ALWAYS a "Next page" button underneath the userlist, until when you finish sending PMs
I tried with 20000 members, 500 or 1000 members each page, and it works fine (with the "TEST" mode. the actual SEND supposed to do the same. I did not test sending to my 20000 members, but I dont believe there's any problem there. It works fine with my test board (with few registered accounts)

Mudvayne
03-11-2007, 06:49 AM
Installed :)

dbirosel
03-11-2007, 08:41 AM
reserved.

projectego
03-11-2007, 09:19 AM
Thanks for the 1.0.1 update, mtha! ;)

basketmen
03-11-2007, 12:51 PM
wow this is really realeased??

this is the most waiting hack until now, none this hack for 3.6.x until now

i will try this

banuchi2
03-11-2007, 01:20 PM
are you sure you install THIS hack, not the old one that I released yesterday, based on ZT's hack?

Yes, this is definitely your hack installed. The old one was uninstalled. Not sure why this happened. I see that everyone is mentioning that they will try it....just haven't heard if it's actually working for them. I'd love to hear from everyone on whether they have any problems or not.

mtha
03-11-2007, 05:31 PM
Yes, this is definitely your hack installed. The old one was uninstalled. Not sure why this happened. I see that everyone is mentioning that they will try it....just haven't heard if it's actually working for them. I'd love to hear from everyone on whether they have any problems or not.

did you remove the file /include/xml/cpnav_masspm.xml and admincp/admin_pmall.php

did you try the version 1.0.1?

Parkw?chter
03-11-2007, 06:00 PM
mtha, you are my very best:D


many thx:up:

*klick install & motm*

banuchi2
03-11-2007, 06:17 PM
did you remove the file /include/xml/cpnav_masspm.xml and admincp/admin_pmall.php

did you try the version 1.0.1?

Actually, I did, but I'm going to start over again and I'll keep you updated. THanks alot for all your work on this and your support. :)


Update: I completely unistalled, and replaced the two files....still does not provide NEXT after the 500 emails. Oh well, if I'm the only one with this problem, then don't worry about it. What gets me is that nobody has said that it works yet....just alot of thank yous. Can anyone verify that it's working for them?

pollon
03-11-2007, 06:42 PM
Actually, I did, but I'm going to start over again and I'll keep you updated. THanks alot for all your work on this and your support. :)


Update: I completely unistalled, and replaced the two files....still does not provide NEXT after the 500 emails. Oh well, if I'm the only one with this problem, then don't worry about it. What gets me is that nobody has said that it works yet....just alot of thank yous. Can anyone verify that it's working for them?


I'm on 3.6.5 and it's wonderfully working. :)

PS: I have completely unistalled the previous version and then installed the updated one

dmorales
03-12-2007, 01:00 AM
I'm getting the error below and it wont send the PM.

ERROR!
The following errors occurred when the system tried to send PM to the above users. No PM sent.:

Array
(
[0] => The following users were not found:
1. oprah'
2. s minge
)

mtha
03-12-2007, 01:39 AM
Actually, I did, but I'm going to start over again and I'll keep you updated. THanks alot for all your work on this and your support. :)


Update: I completely unistalled, and replaced the two files....still does not provide NEXT after the 500 emails. Oh well, if I'm the only one with this problem, then don't worry about it. What gets me is that nobody has said that it works yet....just alot of thank yous. Can anyone verify that it's working for them?


if you want, provide me link to your website, and an admin account, I can take a look for you



I'm getting the error below and it wont send the PM.

ERROR!
The following errors occurred when the system tried to send PM to the above users. No PM sent.:

Array
(
[0] => The following users were not found:
1. oprah'
2. s minge
)

Please check and see if that user name is oprah's minge, and what's your website/language encoding?

dmorales
03-12-2007, 05:21 AM
if you want, provide me link to your website, and an admin account, I can take a look for you





Please check and see if that user name is oprah's minge, and what's your website/language encoding?



I deleted that user and it works now. I guess that account was causing other issues as well.

Thanks.

redlabour
03-12-2007, 05:06 PM
Suggestion:

1. Option to chosse from AdminCP which UserGroup can use Mass PM´s .

2. Option to use Mass PM´s with the normal PM Editor without switching to AdminCP.

djcaseanova
03-12-2007, 05:42 PM
i seem to be having problems...

I installed it without problem, but when I tried doing more than 1 usergroup (that had a max of only 25 people) in the combined groups, it didn't go.

I got an internal server error, then tried again, got a time out, then narrowed it down to just 1 usergroup of 2 people (admin) and it went through, but showed up twice in my PM box.

I then tried with the "registered user" group that is about 800 people, and it has been running for about 10 minutes now uninterrupted. How long is it supposed to take?

djcaseanova
03-12-2007, 05:45 PM
one more thing, what kind of restrictions will this mod have if users are limited to a certain number of PM's and that sort?

Just curious.... does it override that or will that cause problems?

Prince
03-12-2007, 07:51 PM
just installed, have not tested yet.

djcaseanova
03-12-2007, 08:15 PM
i guess it worked even though it never "finished" I started getting about 500 undeliverable mail notices in my email from all the email addresses that are no longer valid.

Just one of those things you have to expect from the users who are no longer active I guess....

otherwise good job! It got a lot of peeps back on the forum.

mtha
03-13-2007, 12:22 AM
Suggestion:

1. Option to chosse from AdminCP which UserGroup can use Mass PM?s .

2. Option to use Mass PM?s with the normal PM Editor without switching to AdminCP.

right now, the hack is only for admin, so only those who has permission to access admincp (access the users section) can use the function

I dont think it's a good idea (yet) to allow members (different groups) using the mass PM functions.
that is also related to the part when you use in usercp environment.
it also requires basically a whole new system. So I dont take these suggestions in consideration yet, unless I see some point that it'd be useful.


i seem to be having problems...

I installed it without problem, but when I tried doing more than 1 usergroup (that had a max of only 25 people) in the combined groups, it didn't go.

I got an internal server error, then tried again, got a time out, then narrowed it down to just 1 usergroup of 2 people (admin) and it went through, but showed up twice in my PM box.

I then tried with the "registered user" group that is about 800 people, and it has been running for about 10 minutes now uninterrupted. How long is it supposed to take?

it would take only seconds, unless you send PMs one by one. Would there be something wrong with your server?

one more thing, what kind of restrictions will this mod have if users are limited to a certain number of PM's and that sort?

Just curious.... does it override that or will that cause problems?


AdminPM will override quota limitation. that would not cause any problem.

Prince
03-13-2007, 12:49 AM
the only thing I would like to see added is the ability to automate the next page, i.e. enter the number of seconds before the next block of PM's sent, otherwise in my case I have to click next 30 times waiting about 2-3 minutes in between each.

hendri
03-13-2007, 01:34 AM
wait this for long time ago...

Adem GEN?
03-13-2007, 03:36 PM
Thanks
Very good

Turkish Language Files
Türkçe Lisan Dosyası

SEYTAN_NL
03-13-2007, 07:55 PM
Klik install thanks

Doctor Death
03-13-2007, 08:47 PM
This is a great addition, thanks much for your hard work.

rrr
03-13-2007, 09:42 PM
Just a quick report to say that I just installed this and tested it with a secondary usergroup with over 700 members and it worked just fine.

deezelpope
03-14-2007, 12:44 PM
Very nice! Thanks bunches!!

jdebler
03-14-2007, 12:48 PM
This is great, thank you so much for this. I haven't yet installed it, but I plan to. Before I do, has anyone run this on a LARGE usergroup? I am looking at around 75,000 or more.

Also, I cannot tell by the screen shots but is there an option to filter the recipients by last login? I don't want to send PM's to a few thousand accounts that haven't logged in to my site in say, the past 6 months.

T_Richardson
03-16-2007, 06:54 AM
Very nice! :up: :up:

*Installed

CyberRanger
03-16-2007, 05:59 PM
I ran into this error - doing diagnosis now:

Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO pm (pmtextid, userid) VALUES (43323, );

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Date : Friday, March 16th 2007 @ 01:55:35 PM
Script : http://www.armchairgeneral.com/forums/admincp/hn_masspm.php?do=dosendpm
Referrer : http://www.armchairgeneral.com/forums/admincp/hn_masspm.php?do=dosendpm
IP Address : 24.199.229.157
Username : CyberRanger
Classname : vb_database

The userid is empty. Not sure why without digging into the code. I was able to send out around 10,000 PM's. Sent 6,000 before it bombed on that error. Sent the remaining 4,000 based on filtering the join date of the last userid sent.

teedizz
03-18-2007, 01:36 AM
for some reason this isnt sending out a PM nor am I getting a " Next " page. I choose all the usergroups that I want the PM to be set too, I enter the Subject and field, I select override the No option and I click yes to send users who have declined admin emails. After thats all said and done. I click on " Submit" then it shows a list of 500 users and does nothing else, I have more then 500 members but it doesnt show a next page option nor does it actually send out any PM's. I have everything installed correctly so I dont know what it can be. Any ideas?

jdebler
03-18-2007, 02:10 PM
Also, I cannot tell by the screen shots but is there an option to filter the recipients by last login? I don't want to send PM's to a few thousand accounts that haven't logged in to my site in say, the past 6 months.

I just installed this and answered my own question. To anyone else who is wondering, yes this can narrow users down by activity and all the other standard search criteria.

This is awesome, thanks for making it! Mod of the Year! :D

hal05
03-18-2007, 07:29 PM
Same here....

for some reason this isnt sending out a PM nor am I getting a " Next " page. I choose all the usergroups that I want the PM to be set too, I enter the Subject and field, I select override the No option and I click yes to send users who have declined admin emails. After thats all said and done. I click on " Submit" then it shows a list of 500 users and does nothing else, I have more then 500 members but it doesnt show a next page option nor does it actually send out any PM's. I have everything installed correctly so I dont know what it can be. Any ideas?

foulplay
03-19-2007, 02:38 AM
Thanks, just what I was looking for!

Doctor Death
03-19-2007, 10:46 AM
I am having an issue that I am not sure is caused by this mod, but it probably is...

When sending out internal (vbulletin generated) PMs, the recipients get the following two error messages:


warning: array_search(): Wrong datatype for second argument in /private.pho (1723): eval()'d code on line 20

warning: implode(): Bad arguments in /private.phm (1723): eval()'d code on line 22

Here is a screen shot...
http://stats.jeffersplace.com/images/ddsog_web_error.png

Notice it is the USER (or Recipient) of the messages who get this:

Would appreciate some thoughts on this... More than happy to provide an account to test it...

thanks

Doc

Prince
03-19-2007, 06:51 PM
I received this error today, I hit the next button and and went past and continued to send:


ERROR!
The following errors occurred when the system tried to send PM to the above users. No PM sent.:

Array
(
[0] => The following users were not found:

1. <
2. d2n
3. >


)

Dark_Sirius
03-19-2007, 11:05 PM
What kind of impact could I expect if I were to use this to send a PM to 70,000+ registered users at once?

Prince
03-19-2007, 11:07 PM
it will not work, you will crash your server, 1,000 puts a hefty load on mine.

Dark_Sirius
03-19-2007, 11:07 PM
it will not work, you will crash your server, 1,000 puts a hefty load on mine.

Kind of figured as much. This is why I ask. ;)

jdebler
03-20-2007, 12:58 PM
it will not work, you will crash your server, 1,000 puts a hefty load on mine.

Are you talking about sending a total of 1,000 pms, broken up in to smaller groups or 1,000 in each group with multiple groups that will be a problem? I have tens of thousands that need to go out, but I don't mind setting it to do chunks of 100 at a time as long as they all go out. Please inform/advise! :)

mtha
03-20-2007, 09:53 PM
it will not work, you will crash your server, 1,000 puts a hefty load on mine.

Are you talking about sending a total of 1,000 pms, broken up in to smaller groups or 1,000 in each group with multiple groups that will be a problem? I have tens of thousands that need to go out, but I don't mind setting it to do chunks of 100 at a time as long as they all go out. Please inform/advise! :)


He means sending "1000" at a time (the value set when you send out PMs)

Prince
03-20-2007, 09:56 PM
Are you talking about sending a total of 1,000 pms, broken up in to smaller groups or 1,000 in each group with multiple groups that will be a problem? I have tens of thousands that need to go out, but I don't mind setting it to do chunks of 100 at a time as long as they all go out. Please inform/advise! :)

you should have no problem with 100 at a time, but you have to sit there and hit next every few minutes.

I send out 500 at a time and every few minutes hit next until I hit 29,000. :)

cdembek
03-21-2007, 03:59 AM
will this work with 3.5.5 ??? I was linked to this thread from the old version.. so just asking

teedizz
03-21-2007, 05:30 AM
I wish I had your problems, I cant even get this thing to work and the coder hasnt provided no support altho support is checked... :(

Subah
03-22-2007, 10:19 AM
Installed

teedizz
03-24-2007, 10:27 PM
Any info on some support? The coder was online today and just ignores request for help...pfffft. I dont understand.

mtha
03-24-2007, 11:48 PM
I am having an issue that I am not sure is caused by this mod, but it probably is...

When sending out internal (vbulletin generated) PMs, the recipients get the following two error messages:


warning: array_search(): Wrong datatype for second argument in /private.pho (1723): eval()'d code on line 20

warning: implode(): Bad arguments in /private.phm (1723): eval()'d code on line 22

Here is a screen shot...


Notice it is the USER (or Recipient) of the messages who get this:

Would appreciate some thoughts on this... More than happy to provide an account to test it...

thanks

Doc

Please PM me an account, I will take a look for you.

I received this error today, I hit the next button and and went past and continued to send:

What's the username you got there? please run TEST before actually send something out. if you can give me a test account, I can take a look for you Prince

will this work with 3.5.5 ??? I was linked to this thread from the old version.. so just asking

This version is for 3.6.x, I didnt write anything for 3.5.5, but It should still work. I did not test it.

I wish I had your problems, I cant even get this thing to work and the coder hasnt provided no support altho support is checked... :(

Any info on some support? The coder was online today and just ignores request for help...pfffft. I dont understand.

I do give support, as much as I can, in my time constrain. However, I DO NOT think I am obligated to give support 24/7. I am not being pay for doing it either, hello!
I am online, doesnt mean that I have to answer all the questions. I have other stuff to do too. Be a little bit more polite please, that's all what I ask for.

otherwise, I always can un-check the support mark, it will be a lot easier for me.

Regarding to your 500 PMs without "Next page" link, please try to reinstall the hack, and try it on TEST mode. if it still doesnt work, you need to provide me more information, or I will NOT help, since it works fine on my version here.

Prince
03-25-2007, 12:00 AM
I think you did a great job with this hack and have given great support.

teedizz
03-25-2007, 12:33 AM
Regarding to your 500 PMs without "Next page" link, please try to reinstall the hack, and try it on TEST mode. if it still doesnt work, you need to provide me more information, or I will NOT help, since it works fine on my version here.


Im sorry if I sounded impatient but Ive been waiting for a hack like this for some time and to have it released and not work was disappointing..lol...anyway, Ill try to explain the best as possible so maybe it gives you a better idea of what happening.

I choose all the usergroups that I want the PM to be set too, I enter the Subject and field, I select override the No option and I click yes to send users who have declined admin emails. After thats all said and done. I click on " Submit" then it shows a list of 500 users and does nothing else, I have more then 500 members but it doesnt show a next page option nor does it actually send out any PM's

Here are a couple of pics of hwats its doing

http://img120.imageshack.us/img120/3973/87417835sx6.jpg



http://img411.imageshack.us/img411/5653/46736676bt0.jpg


if u need more info then let me know. Thanks.

mtha
03-25-2007, 03:01 AM
your process is interupted somehow, the best way is give me an account, and I will take a look for you.

Atakan KOC
03-25-2007, 05:56 PM
Thanks.....

daddygrim
03-28-2007, 11:09 AM
any problems?

teedizz
03-30-2007, 08:28 PM
I just wanna chime in and say that mtha helped me with this and now its working like a charm, thank you for your help, it was truely appreciated. Great hack ;)

Stop
03-31-2007, 11:48 AM
Works great..Thanks..

marsauae.com
04-01-2007, 09:18 AM
thanx mtha
can you add this function to moderator
im not allow moderator to log admincp so can you allow moderator send pm from modcp

jdebler
04-02-2007, 12:58 PM
Just voted for this to be MOTM.

https://vborg.vbsupport.ru/showthread.php?t=143739

I encourage anyone else who has this installed to vote in the poll as well! If you like it even more, hit the Support Developer link above!

:)

stinger2
04-02-2007, 01:13 PM
me voted too for MOTM

sjcallas
04-09-2007, 04:16 PM
I have over 800 members on my site. I did the 500 send. It only sent it out to 5. Clicking the "next" button just sent me back to the main YAMPMS page. I recently did a forum conversion from IPB and everything has gone smoothly, and no new users have registered since. Any ideas?

Nathan2006
04-12-2007, 04:31 AM
Thank you mtha

Install

Is there anyway to have URLS such as:
https://vborg.vbsupport.ru/info.php?do=staff in Pm's?

They all don't show as a click able link.

Thank you for any help :)

quasan
04-12-2007, 10:30 AM
on the mass pn the following error occurs

Warnung: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1723) : eval()'d code (Zeile 20)

Warnung: implode() [function.implode]: Bad arguments. in /private.php(1723) : eval()'d code (Zeile 22)

Nathan2006
04-13-2007, 06:08 AM
If I add all the main user groups to send a pm to and set the amount to>
PM to send at once: 50 it will only send out 44

If I try to set the "PM to send at once:" to 2000 it will also send out 44 Pm's to the same members.

I have a total of Members: 1,846

So the 2000 should have well covered it :(

Things done:

Files uploaded/product installed.
Ticked all my Members, Admin & Moderators user groups.

But still sending out 44 Pm's :(

Is there going to be any fix for this?

Thank you for any help

Lizard306
04-13-2007, 08:33 AM
Hi, we have about 85000 members on our board, do u think we should use this? or using this will bring the server down :D

rayw
04-19-2007, 08:03 AM
Nicely mod. Installed and working nicely. Cheers! :D

CyberRanger
04-20-2007, 02:39 PM
Hi, we have about 85000 members on our board, do u think we should use this? or using this will bring the server down :D
I've used it a few times on one of my boards that has 10,000 members, sending 500 at a time. Worked great. I just had to click 20 times to send all of them.

nocte
04-24-2007, 07:23 PM
This Mod does not send Email-Notifications, right? Is there a way to make it do this?

chris1979
04-29-2007, 05:56 PM
Does it really not send e-mail notifications? I was just about to install it but it's no good to me if it doesn't send e-mail notifications.

CyberRanger
04-30-2007, 01:10 AM
Does it really not send e-mail notifications? I was just about to install it but it's no good to me if it doesn't send e-mail notifications.
It does send it. From what I recall, it follows whatever email notification option the user has selected.

v12kid
04-30-2007, 05:30 AM
installed and working great! nice work

Lizard306
04-30-2007, 07:46 AM
finally installed it today :D, followed the steps in the instructions file, but "Send PM to Users" link in "Users" section does not appear :(, i uploaded all the files under "UPLOAD" in the root & also under a folder called "upload" :D

another funny thing, when i import the plugin for the first time it does not say:


Updating style information for each style

* skin ... (Templates) (StyleVars) (CSS) (Replacement Variables) (Controls) Done.

but this message comes only when i import this product again with overwrite option.

is it mandatory to install the older version first & then upgrade?

Let me know,

thanks a ton in advance.

Rick
04-30-2007, 03:27 PM
I'm having the exact same problems as the user above... No PM link in the "User" menu.:(

egyptsons
05-09-2007, 09:12 AM
Thanks for releasing ;)

FReeSTER
05-11-2007, 12:23 AM
I was wondering how everytime you send PMs to users will send emails notice of that PM. I know you can do this manually per user options but is there anyway to do this by user group?the problem is that my email system is working impropiate since someone hack my forum and spam emails from my server and now I thing is on the Blacklist.

So until I have this fix I will like to send massive PMs but a the same time will send email notification for the PMs I send to every member

Thank you for your help

h2ojunkie
05-25-2007, 07:14 PM
I just installed, and sent a PM to anyone active within the last 30 days.

27,145 PM's sent without issue, and it does send the email notification.

Only suggestion I have is adding in an auto-redirect for next page. It's a PIA to keep clicking that next button for that many PMs

UNRE4L
05-29-2007, 12:49 AM
This is a really useful tool, but a problem i'm having is that when PM's are sent the system doesnt recognise that there is a new PM in the inbox. Even though there is one there it still displays "No new messages" on the index.

Does anyone know how to solve this?

MSheraz86
05-30-2007, 11:10 AM
Thanks

Clicked Installed :)

DJ MDX
06-06-2007, 11:33 PM
*** Installed ***

And tested - Love It!!!

I like it better than mass emails.

Thank you for a great mod, it was exactly what I was looking for!

SuperTaz
06-07-2007, 06:40 AM
I can't find the Send PM's to users link in my admin cp...I did everything that it said to do.

SuperTaz
06-11-2007, 03:27 AM
It does not work for me. I did everything it said to do exactly and refreshed the admin cp and it still will not show the "PM All" button in the users or usergroups area. What happened?

masterross
06-11-2007, 02:24 PM
installed and has same problem like
https://vborg.vbsupport.ru/showthread.php?t=96190&page=14

"all usergroups with Super Mod options lost their rights!"

BR

steve71
06-25-2007, 03:21 PM
Does this automatically ignore quota if PM box was full?

Alfa1
07-04-2007, 04:50 PM
I would love to be able to use this hack to send a PM to all Users Awaiting Email Confirmation, that have Hotmail or Yahoo email accounts. That would enable me to quickly resolve the problem of those members not being aware of their activation email going into their overzealous spamfilter.
Any change on a extra search criteria box for 'email'

John Diver
07-08-2007, 09:53 AM
Im getting this error everytime I try to send:

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 763

Anyone know whats wrong?

Thanks

jdebler
07-09-2007, 02:16 AM
I was just notified of a strange problem with this one.

I sent out a PM newsletter today and as always, I set the "Include users that have declined admin emails?" option to NO.

I got a PM from a member telling me that they have their account set to decline admin e-mails, yet has received the last two mass PM's that I sent out. (I tell users that if they don't want our mass PM's, the uncheck "Receive E-mail from Administrators" box)

I checked and they were right, their account was set to not receive them. I went to send a test mass PM to that user, and sure enough...it still would have went to him when it shouldn't have.

Thinking that it was an odd setting in his account, I then went into my own account and set my own option of "Receive Admin Emails" to NO, and then tried to send a test mass PM to my own account. It too still would have been sent to my account to me when it shouldn't have.

Since the mass PM plugin is so similar to the VBulletin "Generate Mailing List" function, I then went to generate an e-mail list using the exact same parameters as the tests above, and neither the member account mentioned above who has the problem nor did my own account show up in the generated mailing list as it is supposed to be.

I really need this to work right, I don't want anyone to be upset receiving mass PMs when they don't want them.

Can anyone help with this?:eek:

USAMustangs.com
07-10-2007, 02:57 AM
i have installed this and it works great, but is there a way to set this up to allow supermoderators to mass pm as well?

jdebler
07-13-2007, 03:17 PM
Can someone please give me a hand with the problem I mentioned a few days ago in post #109? If I have to pay someone to get this fixed, I will. I need this to work ASAP!

Heck, is anyone else even experiencing this same problem?

Any help is very much appreciated!

tokenyank
07-16-2007, 07:33 PM
I sent out a PM newsletter today and as always, I set the "Include users that have declined admin emails?" option to NO.

I got a PM from a member telling me that they have their account set to decline admin e-mails, yet has received the last two mass PM's that I sent out. (I tell users that if they don't want our mass PM's, the uncheck "Receive E-mail from Administrators" box)

That's because "Receive Admin Emails" is different than "Receive Private Messages".

If you send your newsletters via PM's, they need to disable receive pms and/or "Send Notification Email When a Private Message is Received".

That'll be ?50 please! ;)

tokenyank
07-16-2007, 08:05 PM
This hack doesn't work with special characters:


The following errors occurred when the system tried to send PM to the above users. No PM sent.:

Array
(
[0] => The following users were not found:

1. Lily'
2. s Mummy
3. shelby'
4. smum
5. alfred'
6. smum


)





Error is triggered on "Lilly's Mummy" but the ascii designation of the ' seems to break the hack. Did this once during testing with an ! sign too...

Due to this, I'm uninstalling until alphanumeric+symbol support is available.

jdebler
07-17-2007, 11:04 AM
That's because "Receive Admin Emails" is different than "Receive Private Messages".

If you send your newsletters via PM's, they need to disable receive pms and/or "Send Notification Email When a Private Message is Received".

That'll be ?50 please! ;)

I am not sure I understand then...when making the list of users to PM, the option is:

"Include users that have declined admin emails? Yes No "

When checking "no", people who have their account set to "decline admin emails" still get added to the list. In other words, it is not working for me and I am not sure how.

Thank you for the reply, if I am still missing something, don't hesitate to fill me in!

tokenyank
07-17-2007, 02:45 PM
I don't have it installed anymore so I can't check for 100% accuracy.. But I reckon that the coder took the code from the email user option in the admincp as the fields are all the same and he just forgot to change the phrases.

To test this, set option to not send to users that do not accept PMs, set your test account not to accept pms, then send it... If it doesn't get there, than it's a phrase issue, if it does get there, then the hack is teh broke more than I said up there! ;)

jdebler
07-17-2007, 04:12 PM
Okay, let's do a test scientifically. :) Here is what I did and I decided to share it with all of you...

I created a test user account called TEST.

In the TEST account, I set the following:

Receive Admin Emails = NO
Receive Private Messages = NO


I created a user group called TESTGROUP and placed TEST into TESTGROUP

--- PM TEST #1 ----------------------------

Then I went into the Private Message Manager, and made the following selections:

Test PM Only? = NO
Override "Receive Private Messages = NO" option? = NO


I selected the TESTGROUP usergroup to send to.

Then I selected:

Include users that have declined admin emails? = NO


Clicked "send" and got the "No Users Matched Your Query" message, just as I should have.

RESULTS: PM TEST #1 Successful. Function operating as it should.

-------------------------------

I went back into the TEST account, and made the following selections:

Receive Admin Emails = NO (<-- UNCHANGED)
Receive Private Messages = YES (<-- CHANGED FROM PREVIOUS TEST)


--- PM TEST #2 ----------------------------

Then I went into the Private Message Manager, ran the EXACT SAME TEST AS PM TEST #1 ABOVE,

Clicked "send" and the PM went through.

RESULTS: PM TEST #2 Failed. User account TEST received PM even though TEST account was set to "Receive Admin Emails = NO" and PM TEST 2 option of "Include users that have declined admin emails?" was set to NO.

-------------------------------

To ensure that the "Receive Admin Emails = NO" function was not broken sitewide and to verify that it was only broken in the Private Message Manager, I went back into the TEST account, and verified the following selection:

Receive Admin Emails = NO (<-- UNCHANGED)


--- E-MAIL TEST ----------------------------

Then I went into the Email Manager, ran the EXACT SAME TEST AS PM TEST #1 ABOVE,

Clicked "send" and got the "No Users Matched Your Query" message, just as I should have.

RESULTS: E-MAIL TEST Successful. Function operating as it should.

-------------------------------

CONCLUSION: "Receive Admin Emails" fucntion does not operate properly in Private Message Manager ONLY

Now, wasn't that fun and educational? ;)

So here are my important questions...


Has anyone else had the same results by running the same test above?
Can anyone help me fix this??


If I missed something, please go easy on me. Again, any help is most appreciated!

sybakaos
07-18-2007, 11:09 AM
Can you add a feature to mass pm via your UserCP with:
- forced e-mail notification
- forced PM notifications popup

If not, are you perhaps considering adding a message (bb/font etc) editor in your send pm page in admincp?

jdebler
07-23-2007, 06:16 PM
I ran the same test that I posted above on a friend's board and I got the same results. I guess that I answered my own question.

However, is there anyone out there who knows how to fix this? The author hasn't posted in this thread since March and I need to be able to exclude people from the PM's who don't want them. Just want it to work right. :)

Tralala
07-25-2007, 08:56 PM
I'd like to afford "Mass PM" ability to my registered users as well (I run a very small and well-behaved forum.) Can this, or any other hack out there, make this possible on vBulletin 3.6.x?

Thanks...

BigDog56
07-26-2007, 12:24 AM
Just installed this, works great! Thank you!

masterross
07-27-2007, 05:21 PM
hi an error apear on the fourth page of sending

Sending Private Message
Showing Users 2,501 to 3,000 of 5,177

Database error in vBulletin 3.6.7:

Invalid SQL:
INSERT INTO vb_pm (pmtextid, userid) VALUES (124916, );

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Date : Friday, July 27th 2007 @ 10:07:38 PM
Script : http://www.ipmart-forum.com/acp/hn_masspm.php?do=dosendpm
Referrer : http://www.ipmart-forum.com/acp/hn_masspm.php?do=dosendpm
IP Address : 87.118.170.57
Username : iPmart
Classname : vb_database

Idawg
07-27-2007, 06:13 PM
*CLICKED INSTALL*

JUST what I was looking for for my Alliance Forum :)

masterross
07-29-2007, 10:21 AM
any help here????

wickland
08-10-2007, 10:56 PM
Nice one.

Thanks! Installed

bela-meaad
08-16-2007, 12:00 PM
Does this work with 3.6.8?

Thanks

sina1808
08-18-2007, 02:22 PM
hi an error apear on the fourth page of sending

Sending Private Message
Showing Users 2,501 to 3,000 of 5,177

Database error in vBulletin 3.6.7:

Invalid SQL:
INSERT INTO vb_pm (pmtextid, userid) VALUES (124916, );

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Date : Friday, July 27th 2007 @ 10:07:38 PM
Script : http://www.ipmart-forum.com/acp/hn_masspm.php?do=dosendpm
Referrer : http://www.ipmart-forum.com/acp/hn_masspm.php?do=dosendpm
IP Address : 87.118.170.57
Username : iPmart
Classname : vb_database


hi
i have got the same error
how can i resume proceed the sending job ? ( from 40.000 to end ... )
plz help me:(

Prince
08-18-2007, 03:21 PM
same problem here, I have to limit the number of PM's I send so this error does not happen.

gobears20
08-22-2007, 11:13 AM
When I use this...

I have over 12k members on my board and one time I tried to send a PM out to all of my users and I only sent out 300 at a time and it crashed MySql along with my webserver. I did only have 1GB of ram on the server at the time. It went through a decent amount and then crashed.

I now have 4GB of RAM on my server and I was wondering, what are some things that would help me get do this without crashing? Should I just send out a few at a time, I mean take the number down to 100 at a time?

I really don;t want to send out emails and generate a mailing list. I would rather do it the PM way.

Thanks for any help with this!

Jason

Marys242
09-09-2007, 12:48 AM
thank you thank you for this hack....you have no idea how badly i needed it!!!

SuperTaz
09-09-2007, 05:02 AM
I uninstalled this mod because it was causing many conflicts with my board and was using the RAM like crazy. Someone needs to make a better MASS PM system.

dellow
09-12-2007, 07:57 AM
hello,

thank you, installed and just used to send PMs to 22000 users, 500 users per once.

but in last page i recived this error:



Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO pm (pmtextid, userid) VALUES (42682, );

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Date : Wednesday, September 12th 2007 @ 11:33:38 AM
Script : http://www.domain.net/forum/admincp/hn_masspm.php?do=dosendpm
Referrer :
IP Address : 87.109.237.24
Username : Admin
Classname : vb_database

egyptsons
09-12-2007, 10:51 AM
I don't know why the mode labeled with support while the Developer doesn't reply to any one

firefox100
09-16-2007, 03:57 PM
Its failing. Last night I sent a private one massive and crash in the first 2,000 members. And show me this mesagge:
"Allowed memory size of 8388608 bytes exhausted (tried to allocate 45 bytes)"

I have 4BG of RAM, and sent it in hours of minimum server usage.

Before it didn't pass with the version 3.6.4, I don't recommend their installacion in the version 3.6.8

Thanks to the coder for their work but I should report the errors so that it improves. ;)

hissatsu
09-18-2007, 07:07 AM
I am definately want to try this out. This is exactly what i need right now for my forum. quite glad there is no template or code edits since i know nothing about coding. But the developer aint responding so i guess i will wait or try others first.

Mazinger
09-23-2007, 12:29 PM
Great! Installs!

delmarva
09-29-2007, 01:45 PM
I get this message when trying to import product from computer.


XML Error: XML_ERR_NAME_REQUIRED at Line 242

htscpl
09-30-2007, 06:43 PM
I need something like this but I am concerned about the mysql error that large PM's seem to be generating. Any solutions from anyone ?

I've installed this mod and will try it out.

tahanan
10-01-2007, 03:15 PM
It works perfect with 3.6.8: http://english-coffee.com (all about English)

thanks! :)

SAT2M
10-04-2007, 05:15 PM
Hi
when I start this hack then send pm to all of my user in user 3000 to 3500 after one of my user by name red rose shown database error & dont send to other members
I do this for several time just after red rose user shown database error
What I was doing?
my forum version is 3.6.8

KURTZ
10-05-2007, 12:46 PM
runs correctly on 3.6.8 so installed! :D

vwdforum
10-07-2007, 07:17 AM
added to my close protection forum (http://www.closeprotectionworld.co.uk)

works well with 3.68

SuperTaz
10-07-2007, 09:38 AM
Works now with my site. Installed.

SemperFideles
10-08-2007, 01:06 AM
Works well but I have one "complaint" that others may disagree with.

I assumed that the Primary Usergroup selection and Addtional Usergroup selection would work with an OR logic. Here's an example of what I'm talking about:

1. I chose to send a Mass PM to all Admins. Some admins have it set as the Primary Usergroup, others have it as an Additional Usergroup.
2. I selected Administrator under Primary Usergroup and Administrator under Additional Usergroup.

Result, no users matched my criteria.

Thus, the only way to send to all Admins was to send out two PM's (one to just the Primary Usergroup and the other to the Additional Usergroup).

In other words, the system is using an AND logic rule to see if the Primary and Additional usergroup criteria both match instead of one or the other.

If that's the way it is then that's the way it is but I thought I'd point it out.

Thanks again, great Mod.

njoker555
10-12-2007, 03:19 AM
good mod, i dont have to email all staff about stuff if i want to inform them :D if this is much quicker if they are online

xlegends
10-19-2007, 09:48 PM
very Very Nice....!!!

Borden
10-23-2007, 09:59 AM
I up loaded the files and I uploaded the xml file and nothing is happening. I am running version 3.6.5 Can someone please help.

xlegends
10-23-2007, 10:46 PM
I up loaded the files and I uploaded the xml file and nothing is happening. I am running version 3.6.5 Can someone please help.


what's suppose to happen? The product can be found in the admincp usertab/ Look at teh screenshots in post#1

RedefiningFate
11-08-2007, 05:20 PM
I'm getting the following error when I send a mass PM in my heading:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1727) : eval()'d code on line 13

Warning: implode() [function.implode]: Bad arguments. in /private.php(1727) : eval()'d code on line 15

Any idea what might be going on. I am going to reinstall this hack and try it again...

J.T.

Big_Ern
11-14-2007, 11:04 PM
I just installed this, but it is not showing up in the Users menu

I followed the directions exactly.... Uploaded the files in the upload dir then ACP >> Plugins & Products >> Manage Products >> add/import product.
It shows up on the manage products page fine and I can edit it, check version, etc etc...

It is not showing up in the users menu like it should. At first I thought this might be an issue with my browsers cache, but I tried a different computer that I have never visited my forum on and it still does not show up.

I'm running vB 3.6.8 with no other mods installed

I'm stumped. Can someone help me out? This is a mod that I have been wanting since I installed vB last year (I think it should be included with every install)

edit: I just noticed that this put a limit of 0kb on all users attatchments (including mine the head mod/admin) As soon as I uninstalled this mod, the attatchments went back to normal

Big_Ern
11-16-2007, 01:51 AM
Anyone have any ideas what might be my problem?

Thanks

-aaron

tirol07
12-19-2007, 10:05 PM
Thank you

birdie
12-21-2007, 02:50 PM
I just installed this, but it is not showing up in the Users menu

I followed the directions exactly.... Uploaded the files in the upload dir then ACP >> Plugins & Products >> Manage Products >> add/import product.
It shows up on the manage products page fine and I can edit it, check version, etc etc...
I got the same problem. Tried everything. Anyone got any suggestions on what to look for to solve this?

Exactly where on the server should the files have been uploaded to?

Big_Ern
12-22-2007, 04:23 AM
I'm kinda glad I'm not the only one who ran into this problem... Hopefully someone knows an answer. This would be a great mod:cool:

weedheaven
12-22-2007, 06:18 AM
I got the same problem. Tried everything. Anyone got any suggestions on what to look for to solve this?

Exactly where on the server should the files have been uploaded to?

No problems on 3.6.8 pl2

Just import the product. Refresh your page. Then go to Users: See Send PM to Users(this is the mass pm) <-- works perfekt!! I just installed it, and sended a pm out to 390 ppl at once. You wont find this option in the vbulletin options tab.

birdie
12-22-2007, 06:28 AM
Just import the product. Refresh your page. Then go to Users: See Send PM to Users(this is the mass pm) <-- works perfekt!! .... You wont find this option in the vbulletin options tab.As those who have this problem, have said (several times, if you read the thread), this has been done and it still does not work and is not under User's. Do you have any suggestion to troubleshoot this problem?

weedheaven
12-22-2007, 08:06 AM
you uploaded the cpnav_hn_masspm.xml ?

birdie
12-22-2007, 08:14 AM
yes

weedheaven
12-22-2007, 06:00 PM
Thats weird , i aint the smartest one with vbulletin tough. I just followed the instal instructions

Upload files, import product. Refreshed admincp a moment, went to the "users" and in that list Send PM to Users

And that should work directly. i didnt had to do anything for it to apear, only the 2 steps

elitemerlin
12-22-2007, 11:26 PM
IM getting this error when i click on send pm after setting up my message and choosing who i want it to send to

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 48 bytes) in /home/merlin/public_html/forums/includes/class_dm_pm.php on line 460

Any ideas on how to fix this? Thanks in advance.

EDIT: I downloaded the file class_dm_pm.php off my server to see line 460 for myself. If it makes any difference for you all, the line is this:

$this->info['recipients']["$user[userid]"] = $user;

Once again, thanks in advance.

djbaxter
12-23-2007, 01:04 PM
Good job!

I found the older "Mass PM" add-on more awkward to use and, more importantly, I couldn't get it to work with version 3.6.8.

This one works perfectly and as advertised. Thanks! :)

mystic10
12-23-2007, 06:35 PM
IM getting this error when i click on send pm after setting up my message and choosing who i want it to send to

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 48 bytes) in /home/merlin/public_html/forums/includes/class_dm_pm.php on line 460

Any ideas on how to fix this? Thanks in advance.

EDIT: I downloaded the file class_dm_pm.php off my server to see line 460 for myself. If it makes any difference for you all, the line is this:

$this->info['recipients']["$user[userid]"] = $user;

Once again, thanks in advance.


i didnt intstall this hack but i have a similar problem regarding the memory...i had to contact my host so they can increase the memory..php.ini....i dont know if that the same problem but this is a suggestion..i am sure someone more qualified may give u a different...anyhow its a suggestion as i had similar problem

merry christmas

birdie
12-23-2007, 07:06 PM
Thats weird , i aint the smartest one with vbulletin tough. I just followed the instal instructions

Upload files, import product. Refreshed admincp a moment, went to the "users" and in that list Send PM to Users

And that should work directly. i didnt had to do anything for it to apear, only the 2 steps
i not particularly smart with vB either and this is one of a couple of mods I have installed myself.

The only thing I can think of is that i may have put it in the wrong place on the server. Can anyone confirm exactly where it should go --- ie in which folder???

djbaxter
12-23-2007, 08:42 PM
I'm kinda glad I'm not the only one who ran into this problem... Hopefully someone knows an answer. This would be a great mod:cool:

i didnt intstall this hack but i have a similar problem regarding the memory...i had to contact my host so they can increase the memory..php.ini....i dont know if that the same problem but this is a suggestion..i am sure someone more qualified may give u a different...anyhow its a suggestion as i had similar problem

Try reducing the number of PMs it sends out in a batch. I forget what the default is but I vaguely remember looking at it and thinking it was set too high. Try 300 or 100 as a maximum.

As those who have this problem, have said (several times, if you read the thread), this has been done and it still does not work and is not under User's. Do you have any suggestion to troubleshoot this problem?

The only thing I can think of is that i may have put it in the wrong place on the server. Can anyone confirm exactly where it should go --- ie in which folder???


hn_masspm.php should be uploaded to the /admincp folder
cpnav_hn_masspm.xml should be uploaded to /includes/xml

If they are already there in the correct folders, try reimporting the product - product-hn_masspm.xml - again from the Admin CP.

birdie
12-24-2007, 02:13 AM
hn_masspm.php should be uploaded to the /admincp folder
cpnav_hn_masspm.xml should be uploaded to /includes/xml

If they are already there in the correct folders, try reimporting the product - product-hn_masspm.xml - again from the Admin CP.THANKS for taking the time to reply. Its much appreciated. IT WORKED!! The instructions were not totally clear where they should be on the server --- did what you said and I can now send out the merry xmas PM that I wanted to! MERRY XMAS to you for the help

Big_Ern
12-24-2007, 04:38 AM
:up:

That was my problem too. I must not of put them in the proper folders before. It shows up in the Users menu now:cool:

Thank you!

Big_Ern
12-24-2007, 04:53 AM
Try reducing the number of PMs it sends out in a batch. I forget what the default is but I vaguely remember looking at it and thinking it was set too high. Try 300 or 100 as a maximum.






hn_masspm.php should be uploaded to the /admincp folder
cpnav_hn_masspm.xml should be uploaded to /includes/xml

If they are already there in the correct folders, try reimporting the product - product-hn_masspm.xml - again from the Admin CP.

Works well but I have one "complaint" that others may disagree with.

I assumed that the Primary Usergroup selection and Addtional Usergroup selection would work with an OR logic. Here's an example of what I'm talking about:

1. I chose to send a Mass PM to all Admins. Some admins have it set as the Primary Usergroup, others have it as an Additional Usergroup.
2. I selected Administrator under Primary Usergroup and Administrator under Additional Usergroup.

Result, no users matched my criteria.

Thus, the only way to send to all Admins was to send out two PM's (one to just the Primary Usergroup and the other to the Additional Usergroup).

In other words, the system is using an AND logic rule to see if the Primary and Additional usergroup criteria both match instead of one or the other.

If that's the way it is then that's the way it is but I thought I'd point it out.

Thanks again, great Mod.

My forum is setup like this as well. We have various usergroups and depending on which mod changes them they either change it to their Primary or Additional usergroup.

Is there anyway to change this mod to use the OR logic?

djbaxter
12-24-2007, 11:53 AM
THANKS for taking the time to reply. Its much appreciated. IT WORKED!! The instructions were not totally clear where they should be on the server --- did what you said and I can now send out the merry xmas PM that I wanted to! MERRY XMAS to you for the help

:up:

That was my problem too. I must not of put them in the proper folders before. It shows up in the Users menu now:cool:

Thank you!

You're welcome.

In future, if you use a utilitysuch as WinZip or WinRar, you have an option to unpack the .zip file using the folder names included in the download. Most add-ons (but unfortunately not all) are packaged this way.

Following this procedure unpacks the files with the following folder structure:


YetAnotherMassPMSystem1.0.1
product-hn_masspm.xml
Installation Instructions.txt

UPLOAD

admincp

hn_masspm.php



includes

xml

cpnav_hn_masspm.xml





Now, the next recommended step is to use an FTP program such as FileZilla to log in to the server. Then just highlight and drag/upload the admincp and includes folders to the forum root folder on the server.

If your FTP program is working as it should, this will ensure that all files are where they should be.

LewisAinslie
12-24-2007, 02:52 PM
installed; Great mod, just what i was looking for!
Thank you.

concoc
12-25-2007, 11:58 PM
Installed ! Up up .Big Thanks mtha

Big_Ern
12-26-2007, 07:19 AM
:up:

That was my problem too. I must not of put them in the proper folders before. It shows up in the Users menu now:cool:

Thank you!

I take that back:(

Uninstalled....

It showed up in the User menu, but screwed up my permission settings. The biggest thing I noticed right away is all users on my forum shouldn't have a limit to the size of all their attatchments, but when this mod is installed, every user (even the super admin) gets a limit of 0kb for all their attatchments and cannot post any pictures:(
I didn't even uninstall it - left the files on my server and just marked it as disabled, and that fixed my problems.

Anyone have any ideas?

dutchbb
12-31-2007, 06:52 PM
Hi,

Very usefull mod, only one problem: it doesn't send the notification email. And before anyone asks: yes the 'receive administrator emails' option is set to yes. How can I make it send the notification email even to the users who have selected not to receive them?

redlabour
01-01-2008, 09:07 AM
Will it work with 3.7 or this Feature included?

zendiver
01-19-2008, 03:53 PM
Works well but I have one "complaint" that others may disagree with.

I assumed that the Primary Usergroup selection and Addtional Usergroup selection would work with an OR logic. Here's an example of what I'm talking about:

1. I chose to send a Mass PM to all Admins. Some admins have it set as the Primary Usergroup, others have it as an Additional Usergroup.
2. I selected Administrator under Primary Usergroup and Administrator under Additional Usergroup.

Result, no users matched my criteria.

Thus, the only way to send to all Admins was to send out two PM's (one to just the Primary Usergroup and the other to the Additional Usergroup).

In other words, the system is using an AND logic rule to see if the Primary and Additional usergroup criteria both match instead of one or the other.

If that's the way it is then that's the way it is but I thought I'd point it out.

Thanks again, great Mod.This is working as it should on my testing forum running 3.6.8 PL2 but with the annoyance as stated above by SemperFideles. This MOD is a great idea once the bugs are worked out.

redlabour
01-29-2008, 04:58 PM
Anything new for 3.7?

clay-ch
02-06-2008, 07:50 PM
I can confirm that the version posted on page 14 does work with vbulletin v3.6.4

cagbaazee
02-13-2008, 04:42 AM
Any news about 3.7 mod

djbaxter
02-13-2008, 12:54 PM
Any news about 3.7 mod

Why do you assume this won't work on 3.7?

aamirkhj
02-13-2008, 06:02 PM
Just installed but could not see under user any option of Send PM to users, I imported and uploaded the file (product-hn_masspm.xml) and also hn_masspm to admincp on the server but after refreshing admin panel may times I don't see the option to send PMs.

Can some one help what could be a reason I could not see in ACP. I am using 3.6.8 Patch Level 2

makofu
02-14-2008, 02:51 AM
Why do you assume this won't work on 3.7?
I've actually had some problems on 3.7 Beta 4. It doesn't send to all members and sends to some members multiple times. Anybody else having problems like I am? I will try to reinstall if not.

Cristi_XP
03-05-2008, 02:23 AM
doesn`t anyone make this mod to sent mass PM to users that have the same User Profile field,for example same location ?

ozmazdaclub
03-11-2008, 03:39 AM
does this work with vbulletin variable ie $username, $email, $userid etc?

Big_Ern
03-11-2008, 04:18 AM
Uninstalled....

It showed up in the User menu, but screwed up my permission settings. The biggest thing I noticed right away is all users on my forum shouldn't have a limit to the size of all their attatchments, but when this mod is installed, every user (even the super admin) gets a limit of 0kb for all their attatchments and cannot post any pictures:(
I didn't even uninstall it - left the files on my server and just marked it as disabled, and that fixed my problems.

Anyone have any ideas?

Bump

Anyone know what might be causing my problem?

Maria0305
03-12-2008, 05:44 PM
Just installed but could not see under user any option of Send PM to users, I imported and uploaded the file (product-hn_masspm.xml) and also hn_masspm to admincp on the server but after refreshing admin panel may times I don't see the option to send PMs.

Can some one help what could be a reason I could not see in ACP. I am using 3.6.8 Patch Level 2

Same issue here.

jedrus
03-16-2008, 06:54 AM
Hi,
is there any possibility for that you can modify this modification, to allow Group Leader to mass send private messages to their group? Or maybe you can give some hint how can I do that? I'll be very pleased!

fta2k
03-16-2008, 02:54 PM
Working just fine on 3.6.8

Boofo
03-16-2008, 04:14 PM
Bump

Anyone know what might be causing my problem?

Well, I just looked at this hack and there is no way it can be doing what you say it is doing. The xml is just phrases. And the file won't do anything unless you access it. You have something else going on.

Boofo
03-16-2008, 04:27 PM
Same issue here.

In the includes/xml/cpnav_hn_masspm.xml file, change this line:

<navgroups product="hn_masspm" master="true">

to this:

<navgroups product="vbulletin" master="true">

and you will see it after you refresh the admin cp. ;)

Big_Ern
03-17-2008, 10:31 PM
Bump

Anyone know what might be causing my problem?Well, I just looked at this hack and there is no way it can be doing what you say it is doing. The xml is just phrases. And the file won't do anything unless you access it. You have something else going on.

Any idea what it might be then? I'm running vB 3.6.8p2 with NO mods or hacks.

Boofo
03-17-2008, 11:01 PM
I don't have any limits set for anyone. Try setting them to 0 (to disable) and see if that fixes it.

Big_Ern
03-18-2008, 08:28 AM
I don't have any limits set for anyone. Try setting them to 0 (to disable) and see if that fixes it.

I don't have any limits set for anyone either. But when I install this mod, everyone has a limit of 1kb:erm:

Everyone (including newbies who are awaiting approval) are allowed unlimited attachments.

This is a great mod that will be very useful for me, so I hope we can find the problem and I can install it.:up:

voter
03-18-2008, 04:01 PM
does this work with vbulletin variable ie $username, $email, $userid etc?

Seems not. Check the previous page
https://vborg.vbsupport.ru/showpost.php?p=1200181&postcount=15

Boofo
03-18-2008, 10:47 PM
I don't have any limits set for anyone either. But when I install this mod, everyone has a limit of 1kb:erm:

Everyone (including newbies who are awaiting approval) are allowed unlimited attachments.

This is a great mod that will be very useful for me, so I hope we can find the problem and I can install it.:up:

Then you have something else messing with this when it is installed. I just checked and mine are all still set to 0.

cagbaazee
03-19-2008, 08:38 AM
Will it works with 3.7 vbulletin. do reply. thanks

masterross
04-01-2008, 08:26 AM
hello,

thank you, installed and just used to send PMs to 22000 users, 500 users per once.

but in last page i recived this error:



Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO pm (pmtextid, userid) VALUES (42682, );

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Date : Wednesday, September 12th 2007 @ 11:33:38 AM
Script : http://www.domain.net/forum/admincp/hn_masspm.php?do=dosendpm
Referrer :
IP Address : 87.109.237.24
Username : Admin
Classname : vb_database


Same error

Hey your $user[userid] is not transfer between pages check what is wrong

alphamarc
04-01-2008, 01:37 PM
How would you give access to "Send PM to users" to a user without giving him all the other admin permissions ?

Thanks for your help

anoob
04-06-2008, 12:42 AM
Thank you for your help!
I removed all files from the previous version and did a fresh install, and it worked flawlessly.

globalinsites
04-11-2008, 09:33 PM
Before I install this hack I have a question, probable a silly one.. Where on my server do I upload the files to? It says in the instructions 'pload all files in UPLOAD folder to your server' but it doesn't say to which directory etc. and I honestly haven't got a clue. Could someone tell me please? Cheers.

globalinsites
04-15-2008, 06:22 PM
Can someone please tell me where exactly I need to upload the files to??

Big_Ern
04-16-2008, 06:36 AM
I forget where they go, but this question was answered already. I remember reading it when I was trying to get mine working. 14 pages is a lot to look through, but take a read and you'll find it

cheers

-aaron

redlabour
04-30-2008, 10:58 AM
Does it work on vB 3.7 GOLD?

mgurain
05-04-2008, 10:31 AM
very helpful hack, any update for 3.7 Gold ?

Droptop
05-04-2008, 12:16 PM
Works on 3.7 Gold :up:

dutchbb
05-11-2008, 10:23 AM
Can you add a feature to mass pm via your UserCP with:
- forced e-mail notification
- forced PM notifications popup

If not, are you perhaps considering adding a message (bb/font etc) editor in your send pm page in admincp?
Hello mtha

Can these option be added please? Would really add value to this mod imo,

Thanks

Big_Ern
05-14-2008, 01:07 AM
Then you have something else messing with this when it is installed. I just checked and mine are all still set to 0.

I tried installing it again today after upgrading to 3.7.0 and am having the same problems. I checked the users permissions and it is still set to 0 (unlimited), but when a user (admin or regular user) tries to upload an attachment (jpg or any other type) they get a message that they're over their attachment limit


edit: after disabling and re-enabling this mod via the Product manager a few time trying to figure out what's wrong it has magically started working. And I didn't even change anything:confused: Glad it works now though:up:

koxito
05-15-2008, 02:13 AM
Yey! Works on 3.7 GOLD!!! must update first post! :P Proved and working xD

jdebler
05-15-2008, 10:24 AM
Yey! Works on 3.7 GOLD!!! must update first post! :P Proved and working xD

That's great! But does anyone know if the problem I mentioned in post #109 of this thread has been resolved with 3.7?

GPTB
06-04-2008, 02:32 PM
Are there any versions of this released for vb3.7?

Rob

Ava-Kyrillos
06-06-2008, 04:19 AM
hello

tell me how to solve the pressing next page problem,
my forum is over 50.000 users
and I send the PMs for 500 users each time, so I have to click over 500 on mouse to finish all users.
I think you have the auto re-direct page to this hack

Thanks a lot
George

djbaxter
06-06-2008, 11:51 AM
hello

tell me how to solve the pressing next page problem,
my forum is over 50.000 users
and I send the PMs for 500 users each time, so I have to click over 500 on mouse to finish all users.
I think you have the auto re-direct page to this hack

Thanks a lot
George

Why on earth would anyone want to be sending out 50,000 PMs? Yikes! :eek:

GPTB
06-06-2008, 03:51 PM
I have this installed on vB 3.7.1 but even when I ask it not to, the script appears to be sending this to all members (including those that have declined to receive Admin e-mails) - this is a serious problem.

jdebler
06-06-2008, 04:21 PM
I have this installed on vB 3.7.1 but even when I ask it not to, the script appears to be sending this to all members (including those that have declined to receive Admin e-mails) - this is a serious problem.

I agree, it is a rather serious problem. It got me in trouble with a lot of my members who specified that they didn't want to be contacted by admins that way but did anyway. I explained this problem in post #109 nearly a year ago. I offered to pay someone to fix it in post #111, gave results of my testing in post #116, reminded folks that it doesn't work in post #206. I eventually had to start looking for an alternate way to mass PM my members, or at least only the ones who want them.

I appreciate any effort by programmers here because they can do what I cannot, but if it isn't going to be supported by the author then it shouldn't say that it will be in the product information. That way, there won't be any misunderstandings.

GPTB
06-10-2008, 03:46 PM
I agree, it is a rather serious problem. It got me in trouble with a lot of my members who specified that they didn't want to be contacted by admins that way but did anyway. I explained this problem in post #109 nearly a year ago. I offered to pay someone to fix it in post #111, gave results of my testing in post #116, reminded folks that it doesn't work in post #206. I eventually had to start looking for an alternate way to mass PM my members, or at least only the ones who want them.

I appreciate any effort by programmers here because they can do what I cannot, but if it isn't going to be supported by the author then it shouldn't say that it will be in the product information. That way, there won't be any misunderstandings.

I agree.

If someone is able and willing to update this and fix this huge bug I know I would really appreciate it.

toonysnn
06-15-2008, 05:25 PM
I've applied a fix and sent it to GPTB in PM. If he would like to place it here, it's fine with me.

The fix has been tested and proved working on vBulletin 3.7.1 Patch Level 1.

Boofo
06-15-2008, 11:57 PM
I would also be interested in that fix.

GPTB
06-16-2008, 04:06 PM
I'm happy to place it here for the benefit of the community... I did pay for this fix so if anyone feels an urge to contribute to the cost of it feel free to send me a PM.

I've tested it and it seems to work :)

Simply replace hn_masspm.php with:

<?php

/*================================================= =====================*\
|| ################################################## ################## ||
|| # Yet Another Mass Private Message System v1.0.1 by mtha # ||
|| # ---------------------------------------------------------------- # ||
|| # For use with vBulletin Version 3.6.x # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| # Discussion and support available at # ||
|| # https://vborg.vbsupport.ru/showthread.php?t=141622 # ||
|| ################################################## ################## ||
\*================================================ ======================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// ##################### DEFINE IMPORTANT CONSTANTS #######################
define('CVS_REVISION', '$RCSfile: hn_masspm.php,v 1.0.1 by mtha - $Revision: 070310 $');

// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array('user', 'cpuser', 'messaging', 'cprofilefield','pm');
$specialtemplates = array();

// ########################## REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/adminfunctions_profilefield.php');
require_once(DIR . '/includes/adminfunctions_user.php');

// ############################# LOG ACTION ###############################
log_admin_action();

// ################################################## ######################
// ######################### START MAIN SCRIPT ############################
// ################################################## ######################

print_cp_header($vbphrase['hn_masspm_pm_manager']);

// ##################### Start ##########################
if (empty($_REQUEST['do']))
{
$_REQUEST['do'] = 'start';
}

// ###################### Send Mass PM ########################
if ($_REQUEST['do'] == 'dosendpm')
{
$vbulletin->input->clean_array_gpc('p', array(
'user' => TYPE_ARRAY,
'profile' => TYPE_ARRAY,
'serializeduser' => TYPE_STR,
'serializedprofile' => TYPE_STR,
'septext' => TYPE_NOTRIM,
'perpage' => TYPE_UINT,
'startat' => TYPE_UINT,
'test' => TYPE_BOOL,
'receipt' => TYPE_BOOL,
'savecopy' => TYPE_BOOL,
'allowsmilie' => TYPE_BOOL,
'from' => TYPE_STR,
'fromuserid' => TYPE_UINT,
'subject' => TYPE_STR,
'message' => TYPE_STR,
'overridereceivepm' => TYPE_BOOL,
));

// require_once(DIR . '/includes/functions_misc.php');

$message = $vbulletin->GPC['message'];
$subject = $vbulletin->GPC['subject'];

if (trim($subject) == '' || trim($message) == '')
{
print_stop_message('nosubject');
}

if ($vbulletin->GPC['fromuserid'])
{
$fromuser = $db->query_first("
SELECT userid,username
FROM " . TABLE_PREFIX . "user AS user
WHERE user.userid = " . $vbulletin->GPC['fromuserid']
);
}

if (!$fromuser)
{
$fromuser['userid'] = $vbulletin->userinfo['userid'];
$fromuser['username'] = $vbulletin->userinfo['username'];
}

if (!empty($vbulletin->GPC['serializeduser']))
{
$vbulletin->GPC['user'] = @unserialize($vbulletin->GPC['serializeduser']);
$vbulletin->GPC['profile'] = @unserialize($vbulletin->GPC['serializedprofile']);
}

$condition = fetch_user_search_sql($vbulletin->GPC['user'], $vbulletin->GPC['profile']);
if (!$condition)
{
$condition = ' 1=1 ';
}

$finalcondition = "
$condition "
. iif($vbulletin->GPC['overridereceivepm'], "", " AND (options & " . $vbulletin->bf_misc_useroptions['receivepm'] . ")") . "
AND user.email <> ''
" . iif(!$vbulletin->GPC['user']['adminemail'], " AND (options & " . $vbulletin->bf_misc_useroptions['adminemail'] . ")");

if (empty($vbulletin->GPC['perpage']))
{
$vbulletin->GPC['perpage'] = 500;
}

@set_time_limit(0);

$counter = $db->query_first("
SELECT COUNT(*) AS total
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON (userfield.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
WHERE $finalcondition
");

if ($counter['total'] == 0)
{
print_stop_message('no_users_matched_your_query');
}
else
{
$users = $db->query_read("
SELECT user.userid, user.usergroupid, user.username, user.email, user.joindate,
useractivation.activationid
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON (userfield.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "useractivation AS useractivation ON (useractivation.userid = user.userid AND useractivation.type = 0)
WHERE $finalcondition
ORDER BY userid
LIMIT " . $vbulletin->GPC['startat'] . ", " . $vbulletin->GPC['perpage'] . "
");
if ($db->num_rows($users))
{
$page = $vbulletin->GPC['startat'] / $vbulletin->GPC['perpage'] + 1;
$totalpages = ceil($counter['total'] / $vbulletin->GPC['perpage']);
echo '<p><b>' . $vbphrase['hn_masspm_PMing'] . ' <br />' . construct_phrase($vbphrase['showing_users_x_to_y_of_z'], vb_number_format($vbulletin->GPC['startat'] + 1), iif ($vbulletin->GPC['startat'] + $vbulletin->GPC['perpage'] > $counter['total'], vb_number_format($counter['total']), vb_number_format($vbulletin->GPC['startat'] + $vbulletin->GPC['perpage'])), vb_number_format($counter['total'])) . '</b></p>';
vbflush();

$recipients = array();
while ($user = $db->fetch_array($users))
{
$recipients[] = unhtmlspecialchars($user['username']);
// $recipients[] = html_entity_decode($user['username']);
}

if (empty($recipients))
{
$pmusers = '';
}
else
{
$pmusers = implode(' ; ', $recipients);
}

echo "\n $pmusers \n";

// create the DM to do error checking and insert the new PM
$botpermissions['adminpermissions'] = 2;

$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_SILENT);
$pmdm->overridequota = true;
$pmdm->set('fromuserid', $fromuser['userid']);
$pmdm->set('fromusername', $fromuser['username']);
$pmdm->set_info('receipt', $vbulletin->GPC['receipt']); //false
$pmdm->set_info('savecopy', $vbulletin->GPC['savecopy']); //false
$pmdm->set('allowsmilie', $vbulletin->GPC['allowsmilie']); //true
$pmdm->set('title', $subject);
$pmdm->set('message', $message);
$pmdm->set_recipients($pmusers, $botpermissions);
$pmdm->set('dateline', TIMENOW);

$pmdm->pre_save();
if (empty($pmdm->errors))
{
if (!$vbulletin->GPC['test'])
{
$pmdm->save();
echo "<hr><b>$vbphrase[hn_masspm_noerror_sent]</b><hr>";
}
else
{
echo "<hr><b>$vbphrase[hn_masspm_noerror_test]</b><hr>";
}
}
else
{
echo "<hr><b><font color=red>$vbphrase[hn_masspm_error_nopmsent]:</font></b><pre>";
print_r($pmdm->errors);
echo "</pre><hr> ";
}
unset($pmdm);
vbflush();

$_REQUEST['do'] = 'donext';
}
else
{
define('CP_REDIRECT', 'hn_masspm.php?' . $vbulletin->session->vars['sessionurl']);
print_stop_message('hn_masspm_sent_successfully');
}
}
}


// *************************** Link to next page of PMs to send **********************
if ($_REQUEST['do'] == 'donext')
{
$vbulletin->GPC['startat'] += $vbulletin->GPC['perpage'];

print_form_header('hn_masspm', 'dosendpm');
construct_hidden_code('test', $vbulletin->GPC['test']);
// construct_hidden_code( 'receipt', $vbulletin->GPC['receipt']);
// construct_hidden_code( 'savecopy', $vbulletin->GPC['savecopy']);
construct_hidden_code('allowsmilie', $vbulletin->GPC['allowsmilie']);

construct_hidden_code('serializeduser', serialize($vbulletin->GPC['user']));
construct_hidden_code('serializedprofile', serialize($vbulletin->GPC['profile']));
construct_hidden_code('fromuserid', $vbulletin->GPC['fromuserid']);
construct_hidden_code('subject', $vbulletin->GPC['subject']);
construct_hidden_code('message', $vbulletin->GPC['message']);
construct_hidden_code('startat', $vbulletin->GPC['startat']);
construct_hidden_code('perpage', $vbulletin->GPC['perpage']);
construct_hidden_code('overridereceivepm', $vbulletin->GPC['overridereceivepm']);
print_submit_row($vbphrase['next_page'], 0);
// print_cp_redirect('',2);
}

// ###################### Send PM ########################
if ($_REQUEST['do'] == 'start')
{
?>
<script type="text/javascript">
function check_all_usergroups(formobj, toggle_status)
{
for (var i = 0; i < formobj.elements.length; i++)
{
var elm = formobj.elements[i];
if (elm.type == "checkbox" && elm.name == 'user[usergroupid][]')
{
elm.checked = toggle_status;
}
}
}
</script>
<?php
print_form_header('hn_masspm', 'dosendpm');
print_table_header($vbphrase['hn_masspm_pm_manager']);
print_yes_no_row($vbphrase['hn_masspm_test_pm_only'], 'test', 0);

// print_yes_no_row($vbphrase['request_receipt_for_message'], 'receipt', 0); // Doesnt work for BCC
// print_yes_no_row($vbphrase['save_copy_in_sent_items_folder'], 'savecopy', 0); // NOT RECOMMENDED
print_yes_no_row($vbphrase['allow_smilies'], 'allowsmilie', 1);

print_yes_no_row($vbphrase['hn_masspm_overridereceivepm'],'overridereceivepm', 0);
print_input_row($vbphrase['hn_masspm_pm_to_send_at_once'], 'perpage', 500);
print_input_row($vbphrase['from'] . " " . $vbphrase['userid'], 'fromuserid', $vbulletin->userinfo['userid']);
print_input_row($vbphrase['subject'], 'subject');
print_textarea_row($vbphrase['hn_masspm_message'], 'message', '', 10, 50);

print_table_break();
print_table_header($vbphrase['search_criteria']);
print_user_search_rows(true);

print_table_break();
print_submit_row($vbphrase['send']);
}
print_cp_footer();
?>

Boofo
06-16-2008, 08:18 PM
Cam you give us an idea of what portion of the code was changed?

GPTB
06-16-2008, 08:27 PM
You'd have to ask toonysnn - I don't know. Would be interested to know though.

toonysnn
06-18-2008, 09:58 PM
This section was changed:

$finalcondition = "
$condition "
. iif($vbulletin->GPC['overridereceivepm'], "", " AND (options & " . $vbulletin->bf_misc_useroptions['receivepm'] . ")") . "
AND user.email <> ''
" . iif(!$vbulletin->GPC['user']['adminemail'], " AND (options & " . $vbulletin->bf_misc_useroptions['adminemail'] . ")");

KURTZ
06-21-2008, 09:23 AM
Billy, why you don't release this for the 3.7.x version?

logicuk
06-21-2008, 09:34 AM
Billy, why you don't release this for the 3.7.x version?


i 2nd that :D

tekram
06-28-2008, 07:01 AM
Great Thx for the Fix

dutchbb
06-28-2008, 08:33 AM
@mtha : Can you add email notification for every member, so they know they have a PM?

Some older mass PM hack had this and it really helped getting traffic to the forum.

I can donate for this to be added to the public release, thank you for the consideration.

jkcerda
07-24-2008, 03:27 PM
be nice if it would work for3.7.0

EagleNick
08-07-2008, 03:39 PM
be nice if it would work for3.7.0
It does. Read post #215

redbrad0
08-07-2008, 06:11 PM
mtha, I see your home page is ou.edu are you here in Oklahoma? I live in Oklahoma City.

redbrad0
08-07-2008, 06:13 PM
This forum has 15 pages, so sorry if this has been talked about before.

mytha, I beleive that a great addition to your mass pm's is to have a check box if the user should be emailed about the PM or not. If you have a very large forum, you might not want to email all members saying they have a PM but if you have a small list you might want to email all members.

Just something to think about.

Goomzee
09-04-2008, 05:48 AM
Is this Mod work for 3.7.

Flying Girl
09-04-2008, 06:43 AM
Hello,

I install it . but when I click " Send PM to All "

it shows :

Sorry, missing.
The page /vb/quoing/hn_masspm.php?do=start could not be located on this server.
Please contact the domain owner below if you feel you have gotten this page in error.

Please help

yotsume
09-06-2008, 09:10 AM
again the same question does this work with vb 3.7

Please a reply. THANKS!

thebassman
09-09-2008, 08:52 PM
Just installed on 3.7.2 and it works fine. Email notifications works as well (in the sense that people that want email notifications of PMs receive them).

yotsume
09-09-2008, 10:06 PM
Installed on vb3.7.3 and no problems so far!

yotsume
09-09-2008, 10:25 PM
Is there a way we can add the vb editor to the interface of sending out the PMs to users?

Also, if you put the full url in the PM message body it will not be a clickable link when user receives it in the PM. However it seems to be a link in the email that is sent to the user. Can this be fixed so that urls that we type are converted to clickable links when they view the PM on the web?

I really need that!

thebassman
09-09-2008, 11:12 PM
Is there a way we can add the vb editor to the interface of sending out the PMs to users?

Also, if you put the full url in the PM message body it will not be a clickable link when user receives it in the PM. However it seems to be a link in the email that is sent to the user. Can this be fixed so that urls that we type are converted to clickable links when they view the PM on the web?

I really need that!

Just use the BBCode
www.url.com (http://www.url.com).
;)

yotsume
09-10-2008, 04:48 AM
Yea I get how to use a BB code but this is called ugly code. I want to make a link just like in th reply here such as click here: Nice Non Ugly Link (http://www.nowherereal.com)

The PM interface is nice for filtering who you want to receive messages but this mod just lacks in the editor department. So my request to bring this hack to the next level is to pull in an editor please.

I have added a direct link to this in my admin only quick moderation block to save time reaching this function. On my board I use the PM User System often to reach out to our thousands and growing members.

So any chance you can add in an editor that is standard in VB already? Just doing it all code way to style the PMs is a severe waste of time. I have been opening my normal PM editor in VB typing a styled message then switching to code view, copying into your hacks message window. This looks great in the receivers PM but in the emails sent to them some of the code shows though.

Lets all chant together...

ADD AN EDITOR
ADD AN EDITOR!
PLEASE!!! :D

You can start a new website then called: www.PimpMyPMBaby.com (http://www.PimpMyPMBaby.com/)

DOH! :up:

Luis Larios
09-16-2008, 12:08 AM
Hey Yotsume, just use the editor at any part of the forum and copy-paste the code!

yotsume
09-16-2008, 02:12 AM
I did but the urls dont work nice that way in emails. The BB code that was posted is by far the best! But really this needs a editor just like in normal PMs. ;)

thebassman
09-16-2008, 02:21 AM
If it's a long PM, you could always just compose it, but not actually post it, on your forums, then copy and paste into the AdminCP.

Digital Jedi
09-17-2008, 07:14 PM
Yea I get how to use a BB code but this is called ugly code. I want to make a link just like in th reply here such as click here: Nice Non Ugly Link (http://www.nowherereal.com/)
You can still do that with BBCode:

Nice Non Ugly Link (http://www.nowherereal.com)

yotsume
09-18-2008, 01:12 AM
Title of PM Here
Tag Line Here

Some PM message would go here that means something to other people. Just random text here from now on. Biu With a read editor it takes me two seconds to center, bold, font size etc. BB code for style sucks and this mod is missing one thing in its interface.... AN EDITOR!

How ya going to do even these simple style modifications with no editor intergrated with this mod. SUPER WASTE OF TIME TO JUST USE CODE!

I can make PMs that have style. With your mod here there is no nice way to style the PMs. So once again ill try and make ya understand I know how to use BB code. Its still the ugly way to do things. Someone take this mod to the next level and add in the editor that is already in place for PMs in the first place.

MY SUGGESTION REMAINS UNCHANGED!
Anyway having an editor integrated with this mod remains my suggestion for the people who just aren't following along. Right now there is no editor interface so you have to do everything the longer way to style your PMs here.

Digital Jedi
09-18-2008, 01:26 AM
Title of PM Here
Tag Line Here



How ya going to do even these simple style modifications with no editor intergrated with this mod. SUPER WASTE OF TIME TO JUST USE CODE!

I can make PMs that have style. With your mod here there is no nice way to style the PMs. So once again ill try and make ya understand I know how to use BB code. Its still the ugly way to do things. Someone take this mod to the next level and add in the editor that is already in place for PMs in the first place.

MY SUGGESTION REMAINS UNCHANGED!
Anyway having an editor integrated with this mod remains my suggestion for the people who just aren't following along. Right now there is no editor interface so you have to do everything the longer way to style your PMs here.




You know, you could have just said you wanted an Advanced Editor in the first place.

thebassman
09-18-2008, 01:28 AM
If you're quick at BBCode, it takes practically no time at all to use the code vs. an advanced editor...

yotsume
09-18-2008, 01:35 AM
If you're quick at BBCode, it takes practically no time at all to use the code vs. an advanced editor...

Are you insane? :rolleyes:

thebassman
09-18-2008, 02:23 AM
Not at all... but obviously faster @ BBCode than you are. ;) I just don't see what the big deal is...

Digital Jedi
09-18-2008, 02:47 AM
Are you insane? :rolleyes:
I'd have to agree that it's not as difficult as your making it out to be.

yotsume
09-18-2008, 04:46 AM
So please then turn off the editor that you all aren't using here on this forum.

WASTE OF TIME!!!

I style my PMs! Using BB code to do it is a pure waste of time! Enough said. Your view is selfish. Many users aren't good with code. Im glad you fast with BB code. Never faster then the editor above! LOL

Ill get this worked out and post a tweaked version ;)

Digital Jedi
09-18-2008, 03:06 PM
Actually, my advanced editor is already turned off. Thanks for the suggestion. I'd argue that the ferocity of your statements are more inclined towards selfishness. BBCode aint that hard to type, plain and simple and I find the editor slower and imprecise. It puts the BBCode in the wrong places and/or adds too many tags and screws with the layout. Sometimes it doesn't even do what I told it to do.

But since we've already hijacked this thread with enough inanity, I'll leave it at that. I'm sure if the author thinks it's worth his time, he'll add it.

Pamela
09-18-2008, 04:59 PM
Works perfectly on 3.7.3! Thank you!!! :D

*clicks install*

jkcerda
09-27-2008, 02:24 AM
looks good.

Hamednet
09-27-2008, 06:15 PM
dears

I think this mod don't work

I see Sending Private Message successfuly

but all users say that didn't recieve any PM !!!

Digital Jedi
09-27-2008, 07:38 PM
dears

I think this mod don't work

I see Sending Private Message successfuly

but all users say that didn't recieve any PM !!!
Are you sure you didn't send out a Test PM?