Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Send a Private Message to user (and optional user note) when approved for a usergroup Details »»
Send a Private Message to user (and optional user note) when approved for a usergroup
Version: 1.0.1, by majorxp majorxp is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-03-2006 Last Update: 06-18-2006 Installs: 38
Uses Plugins
 
No support by the author.

Send a Private Message to user (and optional user note) when approved for a usergroup

This is a product that will send an automatic private message to a user (and optionally place a profile note in their profile) after being approved for a usergroup using the 'group memberships' system (and only the group memberships system).

Difficulty of installation: Easy!
Time to install: About 1 minute.


There are two versions of this product. One will add the profile note and the other will not. The one that adds a profile note works nicely with this plugin that places a note when a user requests to join. These help moderators and admins know who placed a request when and if they were approved, who did the approval and when (without having to dig into the logs).

This was inspired by Amykhar's plugin that emails the usergroup leaders upon a request (but does not replace it). With her permission, I used a bit of her code and thank her greatly for that plugin.

Download Instructions
Choose your version (do not install both):
  • product_ug_approval_pm_un.xml
    This version sends the user who was approved a private message and adds the user note to the member's profile
  • product_ug_approval_pm.xml
    This version only sends the user who was approved a private message
Install Instructions
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Browse and select the plugin you downloaded to your computer then press 'Import'.

This installs one plugin and one phrase.


Upgrade Instructions

Go to your admin cp, then:
Plugin System -> Manage Products -> find "PM to user when approved by Majorxp" and choose uninstall from the dropdown box. Then reinstall using instructions above.



Usage Instructions
You can edit the phrase UG_approval_pm to change the approval PM. The version that adds the usernote has the usernote hard coded. If enough folks want it phrased, let me know.

Misc Notes
This does not send out a PM or user note if the user request is denied. This was done below by another coder, but I have not yet fully tested it personally.

This also does not send a PM if you use the admincp or moderatorcp to promote users and I have no intentions of working on such a mod.


** If you use this product, please click install so I know that folks actually use this! **


1.0.1 Fixed bug with product_ug_approval_pm_un version
1.0.0 Initial Release Version

Keywords: Private Message, PM, user group, user note, approval, approve, email

Show Your Support

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

Comments
  #2  
Old 06-04-2006, 10:02 PM
SCORPION1's Avatar
SCORPION1 SCORPION1 is offline
 
Join Date: Sep 2005
Location: mars i think
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first time for everything thatnks m8 will try this out cheers
Reply With Quote
  #3  
Old 06-04-2006, 10:53 PM
Ambie Ambie is offline
 
Join Date: Apr 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I needed this!
Reply With Quote
  #4  
Old 06-05-2006, 05:13 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic...

Installed

SUGESTION:Its possible to sent email IF YOU ADD A MEMBER TO USER GROUP WITHOUT REQUEST BY USER??
Reply With Quote
  #5  
Old 06-05-2006, 10:18 AM
Eriond Eriond is offline
 
Join Date: Feb 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work along side Amykhar's plugin or can it replace it? also I would like the option for sending a pm denying the user as I will be adding a new usergroup for specific ages.
Reply With Quote
  #6  
Old 06-05-2006, 12:57 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! So this ONLY works if the user "requests". What about when a user has their usergroup changed by a promotion or by an admin? Does it send a PM then?
Reply With Quote
  #7  
Old 06-05-2006, 01:16 PM
majorxp majorxp is offline
 
Join Date: Aug 2005
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rmxs
SUGESTION:Its possible to sent email IF YOU ADD A MEMBER TO USER GROUP WITHOUT REQUEST BY USER??
That's an interesting idea. I will look into that.


Quote:
Originally Posted by Eriond
does this work along side Amykhar's plugin or can it replace it? also I would like the option for sending a pm denying the user as I will be adding a new usergroup for specific ages.
This works alongside Amykhar's plugin. Her's sends a PM to the usergroup leaders upon a user request, this one sends a PM to the user after being approved by a usergroup leader.


Quote:
Originally Posted by Kihon Kata
Installed! So this ONLY works if the user "requests". What about when a user has their usergroup changed by a promotion or by an admin? Does it send a PM then?
Right. This works when users go through the 'group memberships' system. As rmxs suggested, it is a good idea and I'll check it out when I get a chance.


Since this is running on at least 10 installs, I'm going to pull the beta tag. Please report any issues encountered - if any.
Reply With Quote
  #8  
Old 06-05-2006, 01:25 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about my other question?

Quote:
What about when a user has their usergroup changed by a promotion or by an admin? Does it send a PM then?
Reply With Quote
  #9  
Old 06-05-2006, 01:31 PM
majorxp majorxp is offline
 
Join Date: Aug 2005
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If a mod or admin uses the admincp or moderatorcp to promote users, it will not send a PM. It only sends a PM when a user is promoted through the group memberships system.

I'm going to look into adding the functionality of sending an email when a user is approved in the control panels.

...did that answer your question?
Reply With Quote
  #10  
Old 06-05-2006, 01:32 PM
Eriond Eriond is offline
 
Join Date: Feb 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by majorxp
This works alongside Amykhar's plugin. Her's sends a PM to the usergroup leaders upon a user request, this one sends a PM to the user after being approved by a usergroup leader.
Thanks will install this as soon as my test site is back up and running.
Reply With Quote
Reply


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 10:31 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.04239 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete