Check out the SMF Function DB!
Started by azaghul33, July 25, 2020, 04:27:11 PM
Quote from: azaghul33 on July 25, 2020, 04:27:11 PMFirst time user...Is there a way to set the URL in activation emails?I'm running SMF 2.0.17 on my home network on a 192.168.x.y address, but need to advertise my public IP with port number (eg: 250.250.250.250:8080) in the email for people to respond to. Running port forwarding.Under Configuration->Database and Paths->Server Settings I can see Forum URL, which I'd think would do what I want, but cannot get that value to save (eg: 250.250.250.250:8080), it just sticks with the 192.168 address.I've installed again and added my public IP, without success.I've edited Settings.php and changed the $boardurl value, without success.I've added the Email Template Editor, and as a work-around can hard code the public address. ACTIVATIONLINK holds the old URL and the USER u=x variable...which I'm sure there is a separate defined variable for, but don't know the inner workings of SMF.Had a quick search of the forum, but not knowing exactly what to search for...any assistance appreciated.