Support Forums - Classified Ads Script Osclass

General osclass questions => General discussion => Topic started by: Anthony Marshall on February 23, 2021, 10:57:28 PM

Title: User IP in Email Templates
Post by: Anthony Marshall on February 23, 2021, 10:57:28 PM
Is there any kind of {USER_IP} tag that can be used in email templates?

I want to see the IP of a person who is either registering or sending emails through the website email system

Any ideas?
Title: Re: User IP in Email Templates
Post by: Anthony Marshall on February 24, 2021, 12:58:38 AM
I figured it out. It involves changing the oc-includes/osclass/classes/EmailVariables.php file and the email templates themselves. it's actually very easy

If anyone wants to know how I did it just reply