Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
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
Mod Version: 1.0.1, by majorxp (Member) majorxp is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (3 votes - 5.00 average) Installs: 38
Released: 04 Jun 2006 Last Update: 19 Jun 2006 Downloads: 129
Not Supported Uses Plugins  

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 05 Jun 2006, 20:50
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
Originally Posted by hornstar1337
What about the option for the usergroup leader to write a note, that then gets sent to the people that dont get accepted so they know why they were not accepted.
This does not send out an PM or user note if the user request is denied. I might add that later if enough folks want that functionality.
__________________
:alien:

Last edited by majorxp; 05 Jun 2006 at 20:56.
Reply With Quote
  #17  
Old 06 Jun 2006, 19:25
PimvanJ PimvanJ is offline
 
Join Date: Jan 2006
Real name: Pim
It also does not send one if you use the admincp or moderatorcp to promote users, but I might add that in the future.

Is this hard to code?
I'm the only one that promote users to a secondary usergroup, now sending every user a mail by myself.
Reply With Quote
  #18  
Old 06 Jun 2006, 20:04
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
Well, I just tested a few things and it turns out that sending emails off the control panel when users are added to a secondary group is a lot harder than I had anticipated.

It would be easier to make a whole new page solely designed to add secondary usergroups to a user and send them a PM.

I would take a stab at it, but I have a bunch of other pet projects I am working on that need to be completed first.
__________________
:alien:
Reply With Quote
  #19  
Old 07 Jun 2006, 05:16
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
I second the request for the ability to send a PM upon an Admin/mod Promtion. At first this was exactly as I needed until I saw your Misc Info section.
__________________
www.rustysoaptraders.com
Reply With Quote
  #20  
Old 19 Jun 2006, 04:27
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
This hack has been updated with a bugfix.

The fix only is needed for the version that inserts a user note (product ug approval pm un.xml). If you have installed this, please download and install the latest version.

Majorxp
__________________
:alien:
Reply With Quote
  #21  
Old 23 Jun 2006, 18:25
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks for the update!
Reply With Quote
  #22  
Old 23 Jun 2006, 20:03
gcphost gcphost is offline
 
Join Date: Mar 2006
Great work, I need it mainly for when the request is denied, if the user doesnt supply information I ask for on the request form they cant join so I deny them but theres no notification letting them know their not in so they sit there like, duhh...

I'll post my changes.
Reply With Quote
  #23  
Old 25 Jun 2006, 21:36
gcphost gcphost is offline
 
Join Date: Mar 2006
Update for ignore and deny.

Ok all I made the changes so this now works with approve, deny and ignore.

Its a cross between Majorxp and 3.5's joinrequests.php , Major was using the php's generated arrays to build his list, well this only stores approved.

The plugin is now using the post request list of users you have selected, it will do the e-mails in the start of the process instead of when its completed, this way you know whos being ignored or denied, if its done afterwords the user information is removed from the group table so and only approved information is stored in php.


Only minor changes, works good in my testing, hope this helps.

Make sure to edit the xml to change your e-mails, or you can do it in the admin panel later.
Attached Files
File Type: xml product_ug_approval_pm.xml (2.9 KB, 18 views)
Reply With Quote
  #24  
Old 26 Jun 2006, 02:23
Stop Stop is offline
 
Join Date: Oct 2005
Real name: Sultan
I installed it and moved a member to another group but there was no PM sent.

?
__________________

An Integrated Matrix That Can Serve All Your Needs And That is Beyond Your Dreams.
Reply With Quote
  #25  
Old 26 Jun 2006, 02:25
gcphost gcphost is offline
 
Join Date: Mar 2006
I belive this mod only notifys when the initial accept is done.
Reply With Quote
  #26  
Old 26 Jun 2006, 05:32
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
@Stop

My version or the other one posted above? If mine, then it only works using the request/approve group process
__________________
:alien:
Reply With Quote
  #27  
Old 29 Jun 2006, 04:11
Stop Stop is offline
 
Join Date: Oct 2005
Real name: Sultan
majorxp

can you add an option so it sends a pm upon any changes in the usergroups ?

thanks a lot.
__________________

An Integrated Matrix That Can Serve All Your Needs And That is Beyond Your Dreams.
Reply With Quote
  #28  
Old 29 Jun 2006, 04:58
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Will this work if im using subscriptions and when a member pays for a subscription and complates the paypay transaction and moved to the Premium Member usergroups this hack will shoot them a PM with a message letting them know that they have been upgraded or whatever message I want it to say?
Reply With Quote
  #29  
Old 29 Jun 2006, 19:30
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
Originally Posted by Stop
can you add an option so it sends a pm upon any changes in the usergroups ?
This would be outside of the scope of this project.

Originally Posted by bada_bing
Will this work if im using subscriptions and when a member pays for a subscription and complates the paypay transaction and moved to the Premium Member usergroups this hack will shoot them a PM with a message letting them know that they have been upgraded or whatever message I want it to say?
Nope.


Sorry, but both of these aren't part of or going to be part of it. This mod is only for when the request/approve process is used, not for admin/modcp or other ways members have their usergroup changes.
__________________
:alien:
Reply With Quote
  #30  
Old 29 Jun 2006, 20:31
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Works great now!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 00:27.

Layout Options | Width: Wide Color: