PDA

View Full Version : Email notification of usergroup join requests


efoo
25 Aug 2004, 02:23
I put this together to help my board usergroup leaders keep track of incoming join requests, and thought it might be useful to others.

I just added some code to profile.php immediately above the line "// insert the request":



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



This is rather quick and dirty, but it does seem to work well for our purposes. Perhaps others can improve on it.

Milorad
25 Aug 2004, 08:00
this is really cool, but for my purposes would be better if it could send a PM

Would someone consider a modification to this to make that happen?

Thanks for this efoo, really useful submission!

Phalynx
25 Aug 2004, 09:32
Nice work!

´ÀÉ`SÌLVÉR´ÀÉ`
25 Aug 2004, 09:34
nice.. looks like i might have some use for this

scoheb
22 Oct 2004, 20:08
Is there a way to get the Forums complete url instead of hard-coding it?

SH

Makador
23 Oct 2004, 13:46
Very nice, I was searching for something like that.

KoalaMama
04 May 2006, 17:24
Forgive me if this is a silly question - I'm new! But can I add this code at one of the vB hooks? And if so, which one should I be using? Thanks!

cocjh1
14 Nov 2006, 18:03
Has anybody considered writing this as a plug-in for 3.6??

Note, I had to slightly modify the above code to work on 3.6...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

itsalltropical
05 Jan 2007, 19:35
Has anybody considered writing this as a plug-in for 3.6??

Note, I had to slightly modify the above code to work on 3.6...

[/php]

This code is exactly what I need. I have vBulletin 3.6.4 for a few weeks now. I am a novice so is there a way to put userid and usergroup in the text of the email? I see that ugl.userid and ugl.usergroupid are defined so how would I put that in the text of the email. Please include all <>, "", etc 'cause I am a novice.

I agree this should be a standard option in vBulletin, but I am so thankful as a newbie you guys offer these hacks! Thanks.

P.S. I have no idea why my text changed to green. I tried to change it back to blackhttp://www.vbulletin.org/forum/images/icons/icon11.gif