Version: 1.1, by WhaLberg
Developer Last Online: Nov 2023
Category: Social Group and Album Enhancements -
Version: 3.8.x
Rating:
Released: 12-26-2008
Last Update: 12-26-2008
Installs: 145
Uses Plugins Auto-Templates
Translations
No support by the author.
I have coded this addon for the users requested on this thread.
This products lets forum administrators and group founders send mass pm to the group members. Do not forget to enable via AdminCP -> vBulletin Options -> vBulletin Options -> Mass PM Social Group Members. Option to send the PM to users who don't wish to receive private messages is only available to the forum administrators. I have tested it on vBulletin 3.7.x and it works fine.
Please don't be afraid to post any problem that you face.
i've got a fix for the uncached templates (thanks to Lynne )
Go in the ACP ---> Plugin & Products ---> Plugin Manager ---> Mass PM Social Group Members - Cache Template (EDIT)
and put the following code at the end ... this cache the templates ... however there is another trouble in this hack ... when you select to send a PM to the users the 'Community' Link doesn't work ...
This isn't working for me for some reason. After I click on the "Mass PM Group Members" link, I only get the field to enter the title of the message, but the text editor is missing.
Any Ideas? I have tried to uninstall it and do a fresh install but NADA!
[OPEN]
plugin: Mass PM Social Group Members - Cache Template
[REPLACE ALL]
if (THIS_SCRIPT=='group'&&$_REQUEST['do']=='masspm'&&$vbulletin->options['mass_pm_social_group_members'])
{
$globaltemplates[] = 'socialgroups_masspm';
$globaltemplates[] = 'editor_clientscript';
$globaltemplates[] = 'editor_css';
$globaltemplates[] = 'editor_jsoptions_font';
$globaltemplates[] = 'editor_jsoptions_size';
$globaltemplates[] = 'editor_toolbar_on';
}
[OPEN]
plugin: Mass PM Social Group Members - Mass PM
[FIND (two instances)]
if ($vbulletin->userinfo['userid'] != $groupinfo['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] != 6)
[REPLACE]
if ($vbulletin->userinfo['userid'] != $groupinfo['creatoruserid'] AND $vbulletin->userinfo['usergroupid'] != 6)
[FIND]
AND sgm.userid != " . $vbulletin->userinfo['userid'] . "
[REPLACE]
AND sgm.type = 'member'
[FIND]
if ($_POST['override'])
[REPLACE]
if ($_POST['override'] AND $vbulletin->userinfo['usergroupid'] == 6)
[OPEN]
Mass PM Social Group Members - Insert Link
[FIND]
if ($vbulletin->options['mass_pm_social_group_members'] AND $vbulletin->userinfo['userid'] == $group['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] == 6)
[REPLACE]
if ($vbulletin->options['mass_pm_social_group_members'] AND ($vbulletin->userinfo['userid'] == $group['creatoruserid'] OR $vbulletin->userinfo['usergroupid'] == 6) )