vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Send a Private Message to Public Group Leaders Upon a Join Request (https://vborg.vbsupport.ru/showthread.php?t=83086)

amykhar 06-13-2005 10:00 PM

Send a Private Message to Public Group Leaders Upon a Join Request
 
I'm still surprised this isn't built in yet. What this mod does is to send a private message to all of the leaders of a public group, letting them know that somebody wants to join the group.

To install:
Add a new phrase: (obviously, change the url to go to your board ;) )
group_memberships_message
Code:

Text:
A request has been made to join the public group: {1}, of  which you are a leader.
You may validate the user here

Then, upload the plugin and turn it on. Easy as pie. Enjoy and thanks to Kirby for his tutorial on how to send private messages.

mOdEtWo 06-14-2005 09:43 PM

Very nice.

M1th 06-14-2005 10:39 PM

Could reduce the number of query insertions by sending to multiple users at once:

Have a look at this: :)

https://vborg.vbsupport.ru/showpost....48&postcount=7

No need to use the while loop for the $pmdm->set then. :)

amykhar 06-14-2005 11:52 PM

Quote:

Originally Posted by M1th
Could reduce the number of query insertions by sending to multiple users at once:

Have a look at this: :)

https://vborg.vbsupport.ru/showpost....48&postcount=7

No need to use the while loop for the $pmdm->set then. :)

OK. I'll play with it later.

Gryphon 07-21-2005 05:43 PM

My private messages were showing <br> from new lines in the phrase, also trying to make the link click-able it was showing html instead of parsing bbcode, so I had to make a change to do_parse in the plugin. Attached is my minor edit and my phrase.

amykhar 07-21-2005 05:59 PM

Thank you :)

timelord726 07-22-2005 10:43 PM

Ridiculous that this hasn't been made a standard feature yet. Thank you very much, incredibly simple yet unbelievably useful hack.

amykhar 07-22-2005 11:15 PM

My pleasure. If I get time, I'll add in a feature so that users are notified via PM when they are accepted or denied.

FD929 07-30-2005 12:33 AM

Is there any way to hyperlink the url? I've tried bbcode, html, and just plain hoping the software would automatically parse. Is it possible?

amykhar 07-30-2005 02:01 AM

Read post 5.


All times are GMT. The time now is 06:16 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.01138 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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