vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Social Group Emails (https://vborg.vbsupport.ru/showthread.php?t=237914)

Farcaster 03-09-2010 10:00 PM

Social Group Emails
 
1 Attachment(s)
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]

BlackJacket 03-10-2010 02:38 AM

Thanks! Tagged for later.

starman? 03-10-2010 04:45 AM

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?

Farcaster 03-10-2010 04:52 AM

Quote:

Originally Posted by starman? (Post 2000694)
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.

starman? 03-10-2010 05:22 AM

Set by default

Farcaster 03-10-2010 05:50 AM

Quote:

Originally Posted by starman? (Post 2000708)
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=###

starman? 03-10-2010 06:03 AM

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.

Farcaster 03-10-2010 02:49 PM

Quote:

Originally Posted by starman? (Post 2000729)
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?

Jabong82 03-10-2010 09:27 PM

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!

Jabong82 03-10-2010 09:35 PM

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.


All times are GMT. The time now is 02:55 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.01130 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_html_printable
  • (3)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
  • (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