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

HakkieDEV 07-18-2004 01:09 PM

Quote:

Originally Posted by trackpads
Is it possible to have it only send like 20 PMs at a time until complete? Would that help the issue with sending PMs to everyone?

I would actually prefer a mass PM instead of a mass email (thanks to VBs emails getting blocked all the time)

Thanks again,

-Jason

Very good hack mate!

I was looking to do something like this and you've done it!

CharlieBrownDE 07-31-2004 02:25 PM

hi,

thx for the wonderfull hack:)
sorry for my bad english:D

I have still one ask in addition.
also does the possibility exist the variable as replacementaddresses to take with this chops?

$userid, $username, $email ....

Hiro 08-08-2004 06:35 PM

Amazing hack, Successfully installed.

trackpads 09-08-2004 07:12 AM

Quote:

Originally Posted by Zero Tolerance
Well one was made, but not to my liking, it was an edit of the email page, and didn't really please me to what i wanted. So i made this, a simple yet effective hack well requested across vbulletin and other systems.

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.
Send to usergroup only
- You can specify if you want to send to ALL usergroup's or just 1 usergroup, helps if your wanting to Pm your admins or mods, or just members.

And thats it... what more could you ask for in a mass pm hack?

Any questions please reply below, there's a preview for you all because i know myself i hate installing things just to see what they look like ;)

Enjoy,

- Zero Tolerance

Any update on the new version?

Thanks again!!

-Jason

68 Z-28 09-10-2004 01:56 AM

Ran into a minor problem. I successfully installed it into my mods control panel and it's there to work.

However, this hack will only send PM's to people in a usergroup which they are a primary member of. I have made more usergroups for different regions, and the members have that as a secondary usergroup. If I try to send a PM to a specific regional group(all members are secondary not primary) it says that there are no members in that usergroup.

How would I go about modifying the code so it will also do a check for members that have a usergroup as the second one.

Thankyou in advance

dune 09-26-2004 07:28 AM

Perfect. Thank you!

I thought how helpful it would be to have these abilities, came here to look and voila!

*install*

dune 10-01-2004 04:02 PM

Quote:

Originally Posted by 68 Z-28
However, this hack will only send PM's to people in a usergroup which they are a primary member of. I have made more usergroups for different regions, and the members have that as a secondary usergroup. If I try to send a PM to a specific regional group(all members are secondary not primary) it says that there are no members in that usergroup.

How would I go about modifying the code so it will also do a check for members that have a usergroup as the second one.

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).

dune 10-01-2004 04:08 PM

Quote:

Originally Posted by Zero Tolerance
And thats it... what more could you ask for in a mass pm hack?

Well, since you asked. ;)

The ability to preview the PM and at least the number of people (if not the full list for shorter lists) who will receive the PM BEFORE it gets sent would be nice.

kristian 12-23-2004 10:47 AM

Trust me to be the one...! :tired:

I can send to Admins, mods and Super Mods. But I cant send to Registered users (6500+); even at 30 at a time!

The page goes blank and nothing happens. I checked out the PMtexts table and nothing is sent.

Any ideas???

T3MEDIA 12-24-2004 10:27 AM

Good point that happend to me as well the screen went blank.
is it sending? I thought it would show the names and say sent sent sent.

I guess I have to wait and see.
================================================== =
edit:
Found out what is up but dont know why it happens.
If I pick a uersergoup. Like reg. users.
and have something in the title. it works.
If I just do "usergroups" nada.

So just to let you guys know.


All times are GMT. The time now is 10:58 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01697 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete