Obblm new user email link not working behind Dynamic address

However you play online - Java, Vassal, Email, Cyanide etc - talk about it here.
This is also the place for discussing the various tools for managing leagues, teams and so on.

Moderator: TFF Mods

Post Reply
User avatar
lobosolo
Rookie
Rookie
Posts: 15
Joined: Sat Sep 15, 2012 1:11 pm

Obblm new user email link not working behind Dynamic address

Post 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 ?

Reason: ''
User avatar
lobosolo
Rookie
Rookie
Posts: 15
Joined: Sat Sep 15, 2012 1:11 pm

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

Post 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"

Reason: ''
Post Reply