Display banners on the splash page and automatically login users who click on a banner

You may want to set up a hotspot which works the following way: on the splash page there are banners, hotspot users have to click on to a banner to log in which leads them to the advertisers’ website. Here is how to do it:

  1. Upload your banner under Customize > Skins > MANAGE IMAGES > Upload an Image. You can also use an image from your own server, however in this case you must be sure that your domain name is added to the allowed list in the router.
  2. Place the following code the template you wish to display the ad (it will only work if you are putting it into the same template as the login form, for example in case of FREE BASIC you need to put in template “main_combined_autologin.inc.html“):
    <a href='autologin.php?chal={CHALLENGE}&uamip={UAMIP}&uamport={UAMPORT}&nasid={NASID}&mac={MAC}&skin_id={SKIN_ID}&pwd={PWD}&operator={OPERATOR}&location_id={LOCATION_ID}&desturl=http://www.destinationURL.com' border='0'><img src='/skinimages/youroperatorname/image.jpg'></a>

    Be sure to replace the following in this code:

    http://www.destinationURL.com – with the URL where you want to send users (advertiser site)

    youroperatorname – your operator username (all lowercase)

    image.jpg – image name you have uploaded

  3. Go to Manage > Locations > click on name > Modify Hotspot Data & Settings > Splash Page Settings > Redirect URL after Successful Login > enter:

    USERURL

    then Save.

    Screen Shot 2015-06-03 at 6.29.45 PM

This link will display the ad and will auto login the user once he/she clicks on the image and displays the advertiser site.

2 4
Tagged:

Leave A Comment?