Page 1 of 1

Obblm new user email link not working behind Dynamic address

Posted: Thu Dec 15, 2016 4:17 pm
by lobosolo
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 ?

Re: Obblm new user email link not working behind Dynamic add

Posted: Mon Dec 19, 2016 12:48 am
by lobosolo
Found my own answer to this, hope it helps someone else in the future.

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"