w0w Posted June 23, 2015 Report Posted June 23, 2015 Hi, I'm new in revive, is there a way to record the ip address of the visitors to new db table? Thanks Quote
Erik Geurts Posted June 23, 2015 Report Posted June 23, 2015 IP addresses of individual visitors are not stored. Quote
w0w Posted June 24, 2015 Author Report Posted June 24, 2015 Okay. Is it okay to rename the asyncjs.php to something like asyncjs-mod.php? I would like to add a code on that file so that i have a way to record the ip address to my database? my invocation code something like this: <ins data-revive-zoneid="49" data-revive-id="7cde8ae9882487d0b4ef208ea3c071bc"></ins> <script async src="http://myrevivedomain.com/revive/www/delivery/asyncjs-mod.php?bid=14"></script> I added "bid" parameter which is the affiliate id in url. and then from asyncjs-mod.php get the ip and save it into the database. I would like to ask if there will be no problem renaming and adding parameters in asyncjs.php? Thanks Quote
andrewatfornax Posted June 24, 2015 Report Posted June 24, 2015 I would like to ask if there will be no problem renaming and adding parameters in asyncjs.php? No, it should be fine to hack the source of Revive Adserver if you want to / have a need to. Just be aware that you may have to repeat that with every upgrade, so offload as much of your custom work as you can into new files that you can just copy over when it's time to upgrade, and keep the changes to the core files as small as you can, to make life easier later on. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.