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
  #32  
Old 08-19-2006, 06:31 AM
rushabh rushabh is offline
 
Join Date: Dec 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome and installed. Thanks and appreciated.

BTW is it possible to notify / PM users when their thread / post has been approved?
Reply With Quote
  #33  
Old 08-28-2006, 05:03 PM
JollyJack JollyJack is offline
 
Join Date: Jul 2006
Location: UK
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.6, if so which download and where do you change the PM message
Reply With Quote
  #34  
Old 09-08-2006, 06:40 PM
kau kau is offline
 
Join Date: Jul 2002
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to automatically PM users who just paid using the paid subscription option.

Will this hack do that?
Reply With Quote
  #35  
Old 01-16-2007, 06:05 PM
majorxp majorxp is offline
 
Join Date: Aug 2005
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rushabh View Post
Awesome and installed. Thanks and appreciated.

BTW is it possible to notify / PM users when their thread / post has been approved?
Not using this plugin.

Quote:
Originally Posted by JollyJack View Post
Does this work with 3.6, if so which download and where do you change the PM message
Yes, and the PM message is the phrase "UG_approval_pm".

Quote:
Originally Posted by kau View Post
I want to automatically PM users who just paid using the paid subscription option.

Will this hack do that?
Nope.
Reply With Quote
  #36  
Old 12-29-2007, 10:43 PM
parash parash is offline
 
Join Date: Dec 2007
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.....installed.
Reply With Quote
  #37  
Old 03-23-2008, 11:48 AM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #38  
Old 03-23-2008, 02:02 PM
majorxp majorxp is offline
 
Join Date: Aug 2005
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gooner View Post
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
I'm still around, but focusing on some other projects right now. Is there something you need regarding the mod?
Reply With Quote
  #39  
Old 04-26-2008, 05:09 PM
Jon_Simmonds Jon_Simmonds is offline
 
Join Date: Nov 2005
Location: UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+1 to the denied message option
Reply With Quote
  #40  
Old 05-22-2008, 12:41 AM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #41  
Old 05-29-2008, 01:54 AM
garthcoleman garthcoleman is offline
 
Join Date: May 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
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 03:47 PM.


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.05164 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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