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

Reply
 
Thread Tools
Group Leader PM Notification Details »»
Group Leader PM Notification
Version: 2.1, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.0 Rating:
Released: 09-06-2006 Last Update: 09-08-2006 Installs: 129
Uses Plugins
 
No support by the author.

Keywords: group, leader, notification, usergroups, public


Description:
Quote:
Notifies the group leader(s), via PM, of join requests to their respective usergroup(s). Also notifies the users the status of their join requests upon moderation.
Details:
Quote:
Basically, this is a continuation of the SEND A PRIVATE MESSAGE TO PUBLIC GROUP LEADERS UPON A JOIN REQUEST plugin by AMYKHAR. Many people were having various errors returned from the plugin, so in my attempt to fix it I kind of did things a little bit different.

Installation:
Quote:
1. Download the attachment and import the product-glpn.xml file via the Product Manager.

2. ???

3. Profit

Support:
Quote:
Officially, this hack is UNSUPPORTED. However, I will attempt to help you as much as possible. Please understand that this plugin was tested within a rather limited environment. Provide as much detail as possible when reporting any unwanted behavior so I (and others) may better assist you.
Version History:
v1.0 - Initial version.
v2.0 - Added ability to notify users the status of their request once moderated. All replies are phrased.
v2.1 - Passed usergroup title to JOINREQUET_NOTIFY_MESSAGE_APPROVED and JOINREQUETS_NOTIFY_MESSAGE_DECLINED phrases (requested by EasyTarget)

* THIS PLUGIN HAS ONLY BEEN TESTED ON USERGROUPS WITH A SINGLE LEADER. I'VE CODED IT TO, THEORETICALLY, SUPPORT MULTIPLE LEADERS. HOWEVER, YOUR MILEAGE MAY VARY.

Show Your Support

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

Comments
  #12  
Old 09-08-2006, 06:16 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MotoUp
With the little disclaimer at the bottom, are you saying it won't work if there is only one leader per usergroup? I have a pretty small board, and I am the only one that will be allowing or denying access...
No, I'm saying I've tested it only with one leader per usergroup. It should support multiple, though.
Reply With Quote
  #13  
Old 09-08-2006, 09:08 PM
Luke Brown256 Luke Brown256 is offline
 
Join Date: Jun 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this send a notification PM even when usergroup join request moderation is done VIA the admin panel?
Reply With Quote
  #14  
Old 09-08-2006, 09:15 PM
MotoUp MotoUp is offline
 
Join Date: Jul 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
No, I'm saying I've tested it only with one leader per usergroup. It should support multiple, though.
My apologies...I should really learn how to read! :laugh:
Reply With Quote
  #15  
Old 09-08-2006, 09:29 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Luke Brown256
will this send a notification PM even when usergroup join request moderation is done VIA the admin panel?
Currently, no. Let me see what I can do.

* EDIT: After checking, there doesn't appear to be any $hook's within the necessary areas in admincp/usergroup.php. So, without modifying the actual PHP file, it cannot be done. Sorry.
Reply With Quote
  #16  
Old 09-09-2006, 12:15 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update.

How about in the automated pms that it tells you which usergroup you were accepted/denied for? And is it possible to find out which forum/s the usergroup has permission to view and include those in the acceptance pm?

ex.
user111, we regret/are pleased to inform you that your request to join the USERGROUP101 usergroup has been denied/accepted.

The usergroup USERGROUP101 has access to the following forums:
forum 1
forum 2

But I guess in some situations that wouldn't be good. (then it would list all the forums they have permission to view instead of the 1 or 2 they have exclusivity for)
Reply With Quote
  #17  
Old 09-09-2006, 01:07 AM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
How about in the automated pms that it tells you which usergroup you were accepted/denied for?
Yea, that I can do. It will be in the next update.

Quote:
Originally Posted by EasyTarget
And is it possible to find out which forum/s the usergroup has permission to view and include those in the acceptance pm?
That's a bit much. I'll see what I can do, but don't expect it anytime soon. :P
Reply With Quote
  #18  
Old 09-09-2006, 01:45 AM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v2.1 updated! The usergroup name is now passed to the accepted/declined message body phrases.
Reply With Quote
  #19  
Old 09-09-2006, 06:12 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update.
Quote:
Originally Posted by magnus
That's a bit much. I'll see what I can do, but don't expect it anytime soon. :P
yeah, after I started thinking about it I think it might be pretty useless unless you could somehow define a forum to identify the group with, otherwise it would list all the other forums they have permission to view and not just the exclusive one.
Reply With Quote
  #20  
Old 09-09-2006, 05:39 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I have been waiting for this!
Reply With Quote
  #21  
Old 10-27-2006, 07:32 AM
SnitchSeeker's Avatar
SnitchSeeker SnitchSeeker is offline
 
Join Date: Sep 2004
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one! Just what I needed for snitchseeker.com fan clubs

*clicks install *
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 02:46 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.04944 seconds
  • Memory Usage 2,313KB
  • Queries Executed 27 (?)
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
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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