So I have the latest Naf Obblm software setup on my personal web server. My server is accessible through a dynamic dns service and when a new user registers, my emails all go out correctly except for the link to my site in the email.
The email link is to my servers Dns name but not to the link that I want users to enter through. Is there a way to hard code that link in the email ?
Obblm new user email link not working behind Dynamic address
Moderator: TFF Mods
- lobosolo
- Rookie
- Posts: 15
- Joined: Sat Sep 15, 2012 1:11 pm
- lobosolo
- Rookie
- Posts: 15
- Joined: Sat Sep 15, 2012 1:11 pm
Re: Obblm new user email link not working behind Dynamic add
Found my own answer to this, hope it helps someone else in the future.
look at modules\registration\class_registration.php
look at modules\registration\class_registration.php
$message = EMAIL_MESSAGE.$this->username.", ".$this->email."\n"."http://".$_SERVER["SERVER_NAME"]."/handler.php?type=registration&form=activate";
Replace
"http://".$_SERVER["SERVER_NAME"]."/handler.php?type=registration&form=activate"
with
"http://www.yourwebsite.html/handler.php?type=registration&form=activate"
Reason: ''