vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Group Leader PM Notification (https://vborg.vbsupport.ru/showthread.php?t=126047)

magnus 09-06-2006 09:00 PM

Group Leader PM Notification
 
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.

magnus 09-07-2006 05:13 PM

Post reserved. For what? Who knows. Could be pie, could be cake. Stay tuned.

Luke Brown256 09-07-2006 05:47 PM

excellent mod idea, i really think that should be a default thing but oh well lol.
*install*

EasyTarget 09-08-2006 07:35 AM

thanks, installing.

Hornstar 09-08-2006 11:49 AM

I used to have this installed, but then after a while I got too many pms a day lol, but it is something that is really good when you have under 20 join requests a day.

but I remember from expierence it would have been better if it would pm them back saying if they were accepted or declined etc.

magnus 09-08-2006 12:06 PM

Quote:

Originally Posted by hornstar1337
I used to have this installed, but then after a while I got too many pms a day lol, but it is something that is really good when you have under 20 join requests a day.

but I remember from expierence it would have been better if it would pm them back saying if they were accepted or declined etc.

I like that idea. Give me 20 minutes. :)

KevNJ 09-08-2006 03:35 PM

how do you make public joinable groups ?

MotoUp 09-08-2006 03:39 PM

Try this...

http://www.vbulletin.com/forum/showthread.php?t=176331

magnus 09-08-2006 04:34 PM

Updated!

The new version (2.0) now adds the ability to notify users the outcome of their join requests. All replies phrased to assist in customization.

Enjoy. :)

MotoUp 09-08-2006 05:05 PM

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...

magnus 09-08-2006 05:16 PM

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.

Luke Brown256 09-08-2006 08:08 PM

will this send a notification PM even when usergroup join request moderation is done VIA the admin panel?

MotoUp 09-08-2006 08:15 PM

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:

magnus 09-08-2006 08:29 PM

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. :(

EasyTarget 09-08-2006 11:15 PM

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)

magnus 09-09-2006 12:07 AM

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

magnus 09-09-2006 12:45 AM

v2.1 updated! The usergroup name is now passed to the accepted/declined message body phrases. :)

EasyTarget 09-09-2006 05:12 AM

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.

Snake 09-09-2006 04:39 PM

Thanks. I have been waiting for this! :D

SnitchSeeker 10-27-2006 06:32 AM

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

*clicks install *

ricker 11-17-2006 08:47 PM

Thank you so much! I can't believe this isn't built in yet. you rock!

Abe Babe 12-10-2006 09:11 PM

This is definately what my group leaders were requesting. :)

However, I'd like to report a small bug. One of my group leaders has a "<" character in their username which causes the following error to occur:

Quote:

Fatal error:

* The following users were not found:
1. Mew Mew &lt
2. 3

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763
The user who applied then doesn't appear in the Join Requests, even if just checking the queue in the usual way or through the admin CP.

magnus 12-11-2006 10:50 AM

Quote:

Originally Posted by Abe Babe (Post 1135957)
This is definately what my group leaders were requesting. :)

However, I'd like to report a small bug. One of my group leaders has a "<" character in their username which causes the following error to occur:



The user who applied then doesn't appear in the Join Requests, even if just checking the queue in the usual way or through the admin CP.

Thanks for pointing that out, I'll work up a fix. :)

KURTZ 12-11-2006 02:44 PM

very simply and usefull hack!

thx :)

just INSTALLED!

Snake 12-14-2006 12:53 AM

Quote:

Originally Posted by Abe Babe (Post 1135957)
This is definately what my group leaders were requesting. :)

However, I'd like to report a small bug. One of my group leaders has a "<" character in their username which causes the following error to occur:



The user who applied then doesn't appear in the Join Requests, even if just checking the queue in the usual way or through the admin CP.

LMAO so it's you, eh SY! ;)

Rebecca217 01-03-2007 12:33 PM

Beautiful! Thank you! :D

Rebecca

JimmDaBimm 04-23-2007 12:25 AM

yeah thats just what ive missed in the vb Usergroup options Thanks !

But one Question...whrere can i configurat this? I didnt find any options or somethin

magnus 04-23-2007 09:13 AM

Quote:

Originally Posted by JimmDaBimm (Post 1233743)
yeah thats just what ive missed in the vb Usergroup options Thanks !

But one Question...whrere can i configurat this? I didnt find any options or somethin

There are no configuration options. Messages will automatically be sent to those marked as Usergroup Leaders.

JimmDaBimm 04-23-2007 11:42 AM

ah ok...then i have to check the phrases 'cause ive a german board ;D.

Btw :it works fine :>

m1thr0s 04-30-2007 04:47 AM

very useful for classroom forums with instructors too lazy or preoccupied to check their UserCP's!!!

should be standard, I agree. I don't suppose there's a reverse hack anywhere that also notifies joinees upon accepted/denied...

thanks for thinking into the nooks and crannies...very useful.

magnus 04-30-2007 01:05 PM

Quote:

Originally Posted by m1thr0s (Post 1238032)
very useful for classroom forums with instructors too lazy or preoccupied to check their UserCP's!!!

should be standard, I agree. I don't suppose there's a reverse hack anywhere that also notifies joinees upon accepted/denied...

thanks for thinking into the nooks and crannies...very useful.

As of version 2.0:
Quote:

v2.0 - Added ability to notify users the status of their request once moderated. All replies are phrased.
There user is notified via PM of their request outcome. Either accepted or denied. ;)

FatalBreeze 06-19-2007 04:00 AM

Now That's a must built-in hack in every version of vB :)

TigerWare 08-26-2007 06:06 PM

Installed on 3.6.8 - Very nice indeed. I'm just setting up a joinable group on my board and really wanted notifications and returning accept/deny messages. Pity this is not done by default in vb... Highly useful Modification. :up:

Kitara79 09-13-2007 07:28 AM

Just installed on 3.6.8. Works perfect! Thanks!

This functionality should indead be a standard. I really was shocked when I found out that groupleaders are not notified about new requests.

dotJoel 09-15-2007 11:44 PM

Excellent Mod, thankyou.

bulbasnore 09-19-2007 11:13 PM

We're testing this on 3.6.7_pl1. I was able to send a test request to a single leader group.
My second request was to a multiple user group, and I was going to come back and report if it worked but...

Code:

Fatal error:
    * Exalted_Leader has exceeded their stored private messages quota and can not accept further messages until they clear some space.

Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 765

Of course, we don't let anyone be called exalted leader, but it was a name with an underscore in the middle.

I'm going to tell this guy to clear his box and try again, but I though that error might be interesting anyway.

You rock.

RaZor Edge 09-25-2007 03:39 AM

Quote:

Originally Posted by bulbasnore (Post 1342795)
We're testing this on 3.6.7_pl1. I was able to send a test request to a single leader group.
My second request was to a multiple user group, and I was going to come back and report if it worked but...

Code:

Fatal error:
    * Exalted_Leader has exceeded their stored private messages quota and can not accept further messages until they clear some space.
 
Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 765

Of course, we don't let anyone be called exalted leader, but it was a name with an underscore in the middle.

I'm going to tell this guy to clear his box and try again, but I though that error might be interesting anyway.

You rock.

I also had this kind of error with a leader not accepting pm...

magnus 09-27-2007 12:49 AM

I would be interested to know any updates to this. I'm going to throw this up in a sandbox and test it with the same conditions to see what results I get.

Thanks.

Kiint 10-30-2007 08:58 PM

I was just looking in the admin control panel for a notify by pm option and was shocked when i couldn't find it...then I found your mod....Great work, works just fine :)

As all the others have said, This should be in the default installation of vBulletin

deezelpope 10-30-2007 09:16 PM

<i>I totally agree...it should be default! </i>


All times are GMT. The time now is 04:01 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
  • Page Generation 0.02273 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete