![]() |
Send a Private Message to user (and optional user note) when approved for a usergroup
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):
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 |
first time for everything thatnks m8 will try this out cheers:)
|
Thanks, I needed this!:)
|
Fantastic...
Installed SUGESTION:Its possible to sent email IF YOU ADD A MEMBER TO USER GROUP WITHOUT REQUEST BY USER?? |
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.
|
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?
|
Quote:
Quote:
Quote:
Since this is running on at least 10 installs, I'm going to pull the beta tag. Please report any issues encountered - if any. |
What about my other question? :)
Quote:
|
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? |
Quote:
|
It sure did! Thanks. I am looking for this option:
Quote:
|
Excellent!
|
very nice
|
Quote:
|
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.
|
Quote:
|
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. |
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. |
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.
|
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 |
Thanks for the update! :)
|
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. |
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. |
I installed it and moved a member to another group but there was no PM sent.
? |
I belive this mod only notifys when the initial accept is done.
|
@Stop
My version or the other one posted above? If mine, then it only works using the request/approve group process |
majorxp
can you add an option so it sends a pm upon any changes in the usergroups ? thanks a lot. |
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?
|
Quote:
Quote:
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. |
Works great now!
|
Awesome and installed. Thanks and appreciated.
BTW is it possible to notify / PM users when their thread / post has been approved? |
Does this work with 3.6, if so which download and where do you change the PM message
|
I want to automatically PM users who just paid using the paid subscription option.
Will this hack do that? |
Quote:
Quote:
Quote:
|
thanks.....installed.
|
Nice mod, This is the only mod i could find of its kind, but the developer hasnt been online since 2007... so if somebody else could make something similar would be great
|
Quote:
|
+1 to the denied message option
|
I'm wondering if this would be easy to modify to have a different message depending on the usergroup they were approved for?
If I wanted to do that, could I change the name on the product, modify some code, and have it work? :) |
I just approved a user that has chosen to not receive PM from anybody. This resulted in a slew of SQL code being dumped on my screen. No harm done, as the approval was done and only the PM wasn't sent. But are there any ideas how to avoid that in the future, or at least to prevent the SQL dump? Maybe first check if the user has elected to receive PMs, and if not, don't try to send one?
I'd like to know a workaround before I open up this to other Group Leaders to use. I don't want to confuse them... |
All times are GMT. The time now is 06:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|