Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Social Group Emails Details »»
Social Group Emails
Version: 2.0, by Farcaster Farcaster is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 4.0.x Rating:
Released: 03-09-2010 Last Update: Never Installs: 56
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

This modification will allow social group owners and administrators to send an email to all members of a social group. Each usergroup can be configured to specifically allow or disallow sending to groups they created, if you would like to limit this ability to specific trusted user groups. By default, admins will also be able to send emails to members of any group, regardless of whether they created the group or not.

Note: If a social group member has elected not to receive emails from other members or is invited to a group and has not accepted yet, they will not receive emails sent using this modification.

Installation

1. Upload bitfield_socialgroupemail.xml to your forum/includes/xml directory before you install the product.
2. Use the Product Manager to import the product file product-rah_socialgroup_email.xml.
3. Use the Style Manager to find and edit your socialgroups_group template:

Find:
HTML Code:
                <vb:if condition="$show['postlink']">
                    <li><a href="group.php?{vb:raw session.sessionurl}do=message&amp;groupid={vb:raw group.groupid}" rel="nofollow">{vb:rawphrase new_discussion}</a></li>
                </vb:if>
Below that ADD:

HTML Code:
                <vb:if condition="$groupoptions['email_group']">
                    <li><a href="sendmessage.php?{vb:raw session.sessionurl}do=groupemail&amp;groupid={vb:raw group.groupid}" rel="nofollow">{vb:rawphrase email_members}</a></li>
                </vb:if>
Configuration:
By default, regular members, moderators, super moderators and administrators are configured to be able to send emails to their own social groups. Additionally, administrators are configured to be able to send email to any group. To change these permissions for these or any other groups:

1. In the AdminCP, goto Usergroups -> Usergroup Manager.
2. Edit the user group.
3. Find the section "Social Groups Permissions," and set the permissions for emailing as desired.

Uninstallation (IMPORTANT)
To properly uninstall this product, follow these instructions exactly:

1. Delete the file bitfield_socialgroupemail.xml from your forum/includes/xml directory.
2. Uninstall the product.

Known Issues
  • [Unconfirmed] User group settings may need to be refreshed for permissions to be correctly set. [post]

Download Now

File Type: zip social_group_email.zip (4.2 KB, 204 views)

Screenshots

File Type: png social_group_email.png (14.7 KB, 0 views)
File Type: jpg social_group.jpg (53.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-10-2010, 02:38 AM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Tagged for later.
Reply With Quote
  #3  
Old 03-10-2010, 04:45 AM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod, however, I've followed the instructions to the letter, uploaded, imported the product and edited the template and the email option does not show up in the group tools menu. Am I missing something?
Reply With Quote
  #4  
Old 03-10-2010, 04:52 AM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by starman? View Post
Thanks for the mod, however, I've followed the instructions to the letter, uploaded, imported the product and edited the template and the email option does not show up in the group tools menu. Am I missing something?
Check the settings for the Administrators user group (as well as others) and make sure that under the Group permissions section, the options for "Can Send Mass Email to Own Groups" and "Can Send Mass Email to Any Group" are selected as "Yes." For other groups, set as appropriate.
Reply With Quote
  #5  
Old 03-10-2010, 05:22 AM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set by default
Reply With Quote
  #6  
Old 03-10-2010, 05:50 AM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by starman? View Post
Set by default
Hmm.. Grab one of your group ID's and try directly going to the following address. Replace the domain with your own forum path, and replace the ### with a known good group ID. Let me know what the results are.

http://YOURDOMAIN.COM/sendmessage.ph...il&groupid=###
Reply With Quote
  #7  
Old 03-10-2010, 06:03 AM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No need for that. I went to group permissions and set "Can Send Mass Email to Own Groups" and "Can Send Mass Email to Any Group" to "No." I then saved it. I went back in and changed to "Yes" and saved it and now it works.

It seems there is a small error during installation of the bitfield, but I'm just happy to have it working now. Thanks for a really necessary product.
Reply With Quote
  #8  
Old 03-10-2010, 02:49 PM
Farcaster Farcaster is offline
 
Join Date: Dec 2005
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by starman? View Post
No need for that. I went to group permissions and set "Can Send Mass Email to Own Groups" and "Can Send Mass Email to Any Group" to "No." I then saved it. I went back in and changed to "Yes" and saved it and now it works.
Did anyone else have this problem?
Reply With Quote
  #9  
Old 03-10-2010, 09:27 PM
Jabong82 Jabong82 is offline
 
Join Date: Feb 2010
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this same issue too.

I had to set permissions to no, set it back to yes, and then the email option showed up for me in the groups.

Great mod anyway installed thank you!
Reply With Quote
  #10  
Old 03-10-2010, 09:35 PM
Jabong82 Jabong82 is offline
 
Join Date: Feb 2010
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh I have a quick question. I just tested this in one o f my groups, and after I submit the message it says "You have successfully emailed 0 members". And then the no one receives the email. Isn't this just supposed to automatically email everyone in the group?

That being said, I didn't see an option to pick who to send the email to so I'm kinda lost here. Any help would be appreciated.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10621 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete