Bug In Activation E-mail (Bugs)

by smurfy, Friday, July 04, 2014, 17:34 (3584 days ago)

Can you help. There seems to be a bug on the activation e-mail.

Please look at the url in the activation e-mail:

Hi lady bird,
welcome to the forum!

To activate your account please follow this link:
http://www.littleforum.netindex.php?mode=register&id=2&key=Dii9WMMTcq4hP0bWHrSh


After the .net there should be a / ? How do I correct this?

I thought it strange that no one was registering on my forum :crying:

Bug In Activation E-mail

by smurfy, Friday, July 04, 2014, 17:51 (3584 days ago) @ smurfy

Can you help. There seems to be a bug on the activation e-mail.

Please look at the url in the activation e-mail:

Hi lady bird,
welcome to the forum!

To activate your account please follow this link:
http://www.littleforum.netindex.php?mode=register&id=2&key=Dii9WMMTcq4hP0bWHrSh


After the .net there should be a / ? How do I correct this?

Yahoo Auge I have resolved it myself by adding a / to this bit of code "/index.php?

// send e-mail with activation key to new user:
$lang['new_user_email_txt'] = str_replace("[name]", $new_user_name, $lang['new_user_email_txt']);
$lang['new_user_email_txt'] = str_replace("[activate_link]", $settings['forum_address']."/index.php?> mode=register&id=".$new_user_id."&key=".$activate_code, $lang['new_user_email_txt']);

Not bad for someone who doesn't have a clue about any coding, at all... I guess it was luck on my part :clap:


I thought it strange that no one was registering on my forum :crying:

Avatar

Bug In Activation E-mail

by Micha ⌂, Friday, July 04, 2014, 21:37 (3583 days ago) @ smurfy

Hi,

$settings['forum_address']

Just add a / to the variable forum_address in your database table settings.

regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Bug In Activation E-mail

by smurfy, Friday, July 04, 2014, 22:28 (3583 days ago) @ Micha

Hi,

$settings['forum_address']


Just add a / to the variable forum_address in your database table settings.

That works. Thank you Micha, you're a genius :ok:

regards
Micha

RSS Feed of thread