vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Mass Admin PM v1.5 (https://vborg.vbsupport.ru/showthread.php?t=70223)

Zero Tolerance 10-04-2004 10:00 PM

Mass Admin PM v1.5
 
This is a minor upgrade from the first version, 1 main new feature, and a little code revision.

Features:
Number of PM's to send at a time
It's a server intensive process and you don't want to ultimatly send to everyone at once on your forum unless you have like 50 member's.
New Usergroup Selecting
Your now able to select all, 1 or certain usergroup's to which the PM is sent to, so if you wish to send to staff, Ie, Admins, SMods + Mods, you would simply check all those, making it much easier and saving time.
Very simple install, take you 3 seconds, im not joking, yet very useful, a preview is below for those desiring to see what it look's like first.


Enjoy,

- Zero Tolerance

Techguy1 10-05-2004 02:34 PM

Thanks for the update. I have your hack installed, use it very rarely, but I find it useful.

You like apostrophes waaay too much ;)

Tarion 10-05-2004 03:09 PM

Quote:

Originally Posted by Zero Tolerance
This is a minor upgrade from the first version, 1 main new feature, and a little code revision.

Features:
Number of PM's to send at a time
It's a server intensive process and you don't want to ultimatly send to everyone at once on your forum unless you have like 50 member's.
New Usergroup Selecting
Your now able to select all, 1 or certain usergroup's to which the PM is sent to, so if you wish to send to staff, Ie, Admins, SMods + Mods, you would simply check all those, making it much easier and saving time.
Very simple install, take you 3 seconds, im not joking, yet very useful, a preview is below for those desiring to see what it look's like first.


Enjoy,

- Zero Tolerance

Nice work

Tarion klicked install

68 Z-28 10-05-2004 04:19 PM

Thanks for the update. bravo.

However I have a minor problem. The usergroupd I have set-up are for members to join as a secondary usergroup. They show up on the window, but when trying to send a PM to users I get the error

Quote:

There are no user's within the specified usergroup(s) to PM. Please go back.
select * from user where usergroupid IN(24) order by userid
Can you add support to pm users in the group that are in them as secondary users as well?

Zero Tolerance 10-05-2004 04:32 PM

It's something ill have to look into, i've never used secondary usergroups (never saw any reason to) and im not exactly sure how they are constructued =)

- Zero Tolerance

Johnny 10-05-2004 04:56 PM

awsome update, but just a question...

does the user that disables PMs in the USERCP still recieave a PM from the admin or do they have to have it enabled.

Zero Tolerance 10-05-2004 05:08 PM

They still get the PM, permissions are by-passed, no matter what settings they have, they will recieve this PM :)

- Zero Tolerance

WAR 10-05-2004 05:09 PM

I would need support for secondary usergroups as well.

I think that the is_member_of() function accounts for secondary usergroups as opposed to using the $bbuserinfo[groupid] (that's probably not exactly right)

the Sandman 10-05-2004 05:27 PM

Dune had the following modification posted in the original Thread for version 1.0, however at first glance I don't see how this will apply to the new version 1.5.
Quote:

Originally Posted by dune
We use secondary groups too, primarily. ;) (We leave everyone except admins in Reg users (and banned, unregistered, etc). Additional permissions are in secondary groups, so we needed this to.

Here's what you need to do:

In admin_pmall.php

Find:
Code:

                // Collect Array Of Members Within Specified Usergroup
                $Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_POST['to_usergroup']}' order by userid");

REPLACE WITH:
Code:

                // Collect Array Of Members Within Specified Usergroup
                $Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_POST['to_usergroup']}' or membergroupids REGEXP '[[:<:]]{$_POST['to_usergroup']}[[:>:]]' order by userid");

Find:
Code:

                // Collect Array Of Members Within Specified Usergroup
                $Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_GET['usergroup']}' order by userid");

REPLACE WITH:
Code:

                // Collect Array Of Members Within Specified Usergroup
                $Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_GET['usergroup']}' or membergroupids REGEXP '[[:<:]]{$_GET['usergroup']}[[:>:]]' order by userid");

This will find members who are in the specified group as EITHER their primary or as a secondary. Hope that helps. Credit for the REGEXP goes to my sysadmin Dan (the Man).


Zero Tolerance 10-05-2004 06:40 PM

Im not too sure on using REGEXP and IN within a query, Ie: where field REGEXP IN(bla,bla,bla)

But ill run some tests :)

- Zero Tolerance

moley 10-05-2004 07:09 PM

wow man this is the 3rd hack of yours i've added for vb3.0.3 :p nice work and on the day he returns from his break :p

Floris 10-06-2004 01:48 AM

Quote:

Originally Posted by Zero Tolerance
This is a minor upgrade from the first version, 1 main new feature, and a little code revision.

Features:
Number of PM's to send at a time
It's a server intensive process and you don't want to ultimatly send to everyone at once on your forum unless you have like 50 member's.
New Usergroup Selecting
Your now able to select all, 1 or certain usergroup's to which the PM is sent to, so if you wish to send to staff, Ie, Admins, SMods + Mods, you would simply check all those, making it much easier and saving time.
Very simple install, take you 3 seconds, im not joking, yet very useful, a preview is below for those desiring to see what it look's like first.


Enjoy,

- Zero Tolerance

Very cool hack. I don't like installing hacks, but I am considering to install this one!

mamboking 10-06-2004 02:33 AM

This is a good hack and I am someone who will use it often. One of the things I like about this board's messaging system over my previous one is the ability to request a receipt. It is a shame to loose that feature with Mass PM.

ChrisBaktis 10-06-2004 11:23 AM

Great update that we use all the time.

Zero Tolerance 10-06-2004 03:17 PM

Quote:

Originally Posted by mamboking
This is a good hack and I am someone who will use it often. One of the things I like about this board's messaging system over my previous one is the ability to request a receipt. It is a shame to loose that feature with Mass PM.

Well a receipt would be available, but if you have around 13,000 members then your gonna have 13,000 receipts..not exactly what we want, lol.

However i could make a v1.6 where the user is "forced" to read the PM.

- Zero Tolerance

Basit 10-14-2004 12:10 AM

I have 24,000 members, and i probably will never want to get receipt of MASS PM sent. Best use of this hack is to send greetings to a huge number of members at once or special annoucements. And I found it a wonderful tool.

Thanks ZT I was looking for this hack since I migrated to VB.

PS: One question, (haven't checked it yet) does this Mass PM also generate an email for those users selected to receive PM notification as eMail ? If not don't you think it will be a added feature to this same hack if it gives option to send eMail of the PM (forced eMail even if user selected not to receive PM notification / not to receive eMails from Administration) ?

Regards,
Basit

Andreas 10-14-2004 12:23 AM

Nice hack.

Some suggestions:
  • Take care of user settings for reveiving PM
  • Take care of user settings for eMail notifiication
  • Use phrases ;)
    Well, not really necessary but makes it easier for those of us who do not use english
  • Add possibility to include username in message ("Dear xyz ...")
  • Optimize query so it does not take so much RAM
    Only userid and username should be necessary
  • Take care of secondary usergroups
    Could be done by using FIND_IN_SET()?

XrayHead 10-20-2004 07:18 PM

Installed, thank you!!

XraY :squareeyed:

Rodrigo 10-24-2004 10:01 PM

This is a very nice hack (clicked *INSTALL*), but i've added a little thing...
The title now says [MASSPM] title [/MASSPM]. So that the users know it's a masspm...
find:
Code:

$title  = addslashes(htmlspecialchars_uni(fetch_censored_text($title)));
below it add:
Code:

$title = "[MASSPM] ".$title." [/MASSPM]";
again... nice work :)

dreamhost 10-26-2004 10:15 PM

Would love 2 additional mailing options
1. send pm to every member currently online
2. send pm to every member who was online today

would be a really nice way to get a quick anouncement out to those who are active, without having to send to all members

also for really large sites, the ability to batch them would be a great feature.
Something like send "x" at a time, so those sites with tens of thousands of members could actually use this.

blue_chi 10-29-2004 09:42 PM

Thanks on the great hack, I use this all the time. You rock.

Lextreme 10-30-2004 05:30 PM

I found the construct_nav_option and the rest. When the instruction stated

+++++++++++++++
underneath Place:
++++++++++++++++++++
construct_nav_option("send PM To Users", admin_pmall.php', '<br/>');

What does that mean. do i replace it or add the above to the (vbphrase['send_email_to_users']

I tried but some how didnt work. I couldnt get into the admin panel

david

Lextreme 10-30-2004 05:45 PM

Got it... thanks zero

dreamhost 10-30-2004 09:01 PM

would really love the pm online users option if possible.....
even willing to pay for this addon.

AnhTuanCool 10-30-2004 11:59 PM

Quote:

Originally Posted by dreamhost
would really love the pm online users option if possible.....
even willing to pay for this addon.

You can ask for it in the Paid Service Forum ;)

94DROPTOPZ 11-06-2004 12:12 PM

Great hack!

I click install

Floris 11-09-2004 02:04 PM

I kind of expected this to take user settings into consideration.
So if a user doesn't want a privmsg, it won't send it,
and if the users who want one, and want notification, will receive an email.
And the popup box settings, etc.

Hopefully version 2.0 will still be just 1 file to upload, and takes those settings into account.

dune 11-11-2004 02:53 PM

Quote:

Originally Posted by Zero Tolerance
Im not too sure on using REGEXP and IN within a query, Ie: where field REGEXP IN(bla,bla,bla)

But ill run some tests :)

- Zero Tolerance

I'm not using REGEXP *AND* IN(), Just REGEXP.

Secondary usergroup membership is stored as a list of values in the user table (ie, "45,6,18". You can't use IN() with this list because you'll unintentionally pickup other values - 4 is IN 45, for example.

The REGEXP function makes it look at the individual values within the list. Works for me!

sv1cec 11-11-2004 04:55 PM

I would also love to see the "PM on-line users" option too. Tonight I was upgrading my vB software, and I ended up copying and pasting the on-line list, just to warn my users.

Rgds and thanks for another, lovely hack.

trainer 11-16-2004 11:11 PM

does this hack/addon allow you to send html or bbcode in the mass PM?

looks great!

Spinball 11-22-2004 09:32 AM

Thanks for this hack.
I would definitely request to be able to PM those people who have said they DO NOT want to receive emails from admin.
I want to send them a PM telling them the message instead. And invite them to turn the email receipt back on.

Viks 11-28-2004 01:09 AM

GREAT HACK!!! easy to install!!

>>However i could make a v1.6 where the user is "forced" to read the PM.

this wud be cool too.

let me know if u come up with new mods.

Vik

o0stephane0o 12-01-2004 12:30 AM

My board is someting like www.lol.com/forum/ and once I?ve sent the MPs a window opens saying you have received a new MP but it looks like there is a bug with the url cos instead of opening the url www.lol.com/forum/private.php it tries to open www.lol.com/private.php
I?m pretty sure it comes form the script $pmpopupurl but how can I correct it?

Pixelgrounds 12-05-2004 11:15 PM

i installed this hack, nice and simple to use great work :)

ozmazdaclub 01-07-2005 10:52 PM

Thanks for the great hack.

Install Button > Click!

MikaK 01-08-2005 02:50 AM

Quote:

Originally Posted by dune
I'm not using REGEXP *AND* IN(), Just REGEXP.

Secondary usergroup membership is stored as a list of values in the user table (ie, "45,6,18". You can't use IN() with this list because you'll unintentionally pickup other values - 4 is IN 45, for example.

The REGEXP function makes it look at the individual values within the list. Works for me!

Hi dune,
Did you manage to implement it into this new version - if so, would you be willing to share the mod? Thanks already in advance:)

*installs*

=Mika=

T3MEDIA 01-23-2005 10:15 PM

Is it only me that gets a white screen when you mass send?

Spinball 01-24-2005 06:38 AM

It would be good to be able to paste in a couple of hundred user names. For example, I did a database search for all the members with more than 4 carriage returns in their signatures and I wanted to PM them all asking them to reduce the size of them.
Also when I did try to PM all my members (over 25,000) it crashed and took the database down. I recommend you put some steps in there to slow it down by putting a pause between each batch of PMs.

ForYou 02-03-2005 01:17 PM

Hello Sir ,

When i send to the Mod the message will be sent OK , but when i send to register users there is Blank Page and the messages didn't sent ,

please help why when i send PM Users to register user there is White page,

please help

regards

T3MEDIA 02-03-2005 02:33 PM

You know... You guys are full of ish. with your "clicks install" Your telling me it acutally works for you? Your telling me you dont see a white screen for registered users?

Whatever


All times are GMT. The time now is 04:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01367 seconds
  • Memory Usage 1,830KB
  • 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
  • (6)bbcode_code_printable
  • (8)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