I have a website that was developed using Smarty. I'm quite familiar with php, but I can't seem to figure this out. When a post is added to the DB, I'm trying to include the IP address. The IP field already exists, but I can't figure out where to modify the script that will pull the visitors IP address and record it. If you are familiar with Smarty, I need your help. I won't be able to give you access to the site due to sensitive information, but I can send you the necessary script page as necessary. If you are familiar with Smarty, you should know where the change needs to be made. Let me know if you can help. Thanks.
I'm used to smarty, however i'll be needing a copy of the full script since you're website is separated into actions/templates/templates_c and the db structure, if you're ok with that.