[2.0.20] Admin Email notification on New Registration

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
23
85%
Very Good
1
4%
Good
2
7%
Fair
0
No votes
Poor
1
4%
 
Total votes: 27

kpidlisk
Registered User
Posts: 1
Joined: Mon Mar 19, 2007 8:08 pm

Re: [2.0.20] Admin Email notification on New Registration

Post by kpidlisk »

Hmm when i try to download the file it says This page is an ex-parrot, perhaps you should use the search?
can some1 give me a dirct link to the file. Thx!

JointComms
Registered User
Posts: 29
Joined: Mon Jun 24, 2002 5:59 pm
Location: Windsor, CANADA

Re:

Post by JointComms »

ycl6 wrote: Sorry JointCommsm,

This MOD is designed to notify admins on new registrants, but it doesn't allow admins and non-admins to activate newly registered members. By default, only admin can activate members if that setting is chosen.

~Mac

Thanks anyway Mac. I guess I'll just have to bite the bullet and do the activation.

User avatar
raipe
Registered User
Posts: 96
Joined: Sun May 28, 2006 1:14 pm

Re: [2.0.20] Admin Email notification on New Registration

Post by raipe »

I just installed 1.06 version, but IP does not show, only '()' there.
I tried to use other formats from other mods i have (admin userlist, log ip address on registration), but i didnt get any addresses with them either.


Any ideas?

User avatar
45ish
Registered User
Posts: 81
Joined: Sun Nov 26, 2006 6:38 am
Location: usa canada uk - where ever the english language takes me!
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by 45ish »

Hi,
does this notification send any additional information about the new registrant? (such as his IP number)?

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by ycl6 »

You should be able to get these info:

Code: Select all

----------------------------
{L_USERNAME}: {USER_NAME}
{L_EMAIL}: {USER_EMAIL}
{L_IP_ADDR}: {USER_IP}
{L_PROFILE}: {USER_PROFILE}
----------------------------
Taken from notify_admin_new_reg.tpl included in the MOD

~Mac

diex
Registered User
Posts: 7
Joined: Mon Jul 16, 2007 2:29 pm

Re: [2.0.20] Admin Email notification on New Registration

Post by diex »

Hello, Nice mod, I just installed and everything is working except NO IP.

The IP line in the email I receive is:

IP Address: ()

This what I get for every user registering.. Any ideas, I love and need this feature as I am being irratated by some spammer.

Thanks!

diex
Registered User
Posts: 7
Joined: Mon Jul 16, 2007 2:29 pm

Re: [2.0.20] Admin Email notification on New Registration

Post by diex »

Acutally, I was looking at the code and see:

Code: Select all

$registrant_ip = decode_ip($user_ip);
$registrant_hostname = htmlspecialchars(gethostbyaddr($registrant_ip));
Is decode_ip($user_ip); a built in function in phpbb? Whatever it is, I dont think its working.

:?

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by ycl6 »

The function can be found here:

includes/functions.php

Code: Select all

function decode_ip($int_ip)
{
	$hexipbang = explode('.', chunk_split($int_ip, 2, '.'));
	return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]);
}
Edit: I'll check this MOD again on 2.0.22 again these few days.

~Mac

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by ycl6 »

Hi all,

I just tested this MOD on 2.0.22 and it is working alright. :)

~Mac

Domi
Registered User
Posts: 1
Joined: Thu Aug 09, 2007 1:42 pm

Re: [2.0.20] Admin Email notification on New Registration

Post by Domi »

Hi,

this mod is great but I have a small problem :

all is installed perfectly but in the ACP, no text is display in the zone but the place is reserved, the radio are present and the control to enter the username too BUT if I clic on submit and I go back to the ACP (with 'Click Here to return to General Configuration), the texts is displayed correctly; I have seen another user who has posted the same problem but no solution was given ....

Image

PS: I use phpbb 2.0.22

Any help please ?
Thanks in advance,
Domi.

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by ycl6 »

Can you give bigger/clearer screen shots, showing both the missing pic and the correct pic, thanks

~Mac

Apolloneos
Registered User
Posts: 46
Joined: Sat Nov 25, 2006 6:58 pm
Location: Hellas
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by Apolloneos »

How can we set more than one person to take the email?

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by ycl6 »

Apolloneos wrote:How can we set more than one person to take the email?
See the instruction in the add-on folder

~Mac

Apolloneos
Registered User
Posts: 46
Joined: Sat Nov 25, 2006 6:58 pm
Location: Hellas
Contact:

Re: [2.0.20] Admin Email notification on New Registration

Post by Apolloneos »

ycl6 wrote:See the instruction in the add-on folder

~Mac
Thanks, I hadn't seen it.

diyum
Registered User
Posts: 2
Joined: Thu Aug 23, 2007 9:38 am

Re: [2.0.20] Admin Email notification on New Registration

Post by diyum »

Hi,

I did all the necessary changes and except this one...

#-----[ SQL ]------------------------------------------
#
# Remember to change the table prefix used on your database
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'notify_admin_new_reg', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'notify_admin_new_reg_userid', '2' );


Sorry, i need some help on this.. i am a newbie :(

how to change the table prefix.

Thanks in advance

Diyum

Post Reply

Return to “[2.0.x] MOD Database Releases”