Lets start with the users IP address
Open includes/functions.php
Find:
Code: Select all
'S_USER_BROWSER' => (isset($user->data['session_browser'])) ? $user->data['session_browser'] : $user->lang['UNKNOWN_BROWSER'],
Code: Select all
'S_USER_IP' => $user->ip,
{S_USER_IP}
This also opens up the possibility to display content to specific IP addresses.
Use this:
Code: Select all
<!-- IF S_USER_IP eq '89.56.45.134' -->Content for specific IP here<!-- ENDIF -->
Now to the user Browser
This one is ready to go. With this code you can display the users Browser anywhere you want in the templates:
{S_USER_BROWSER}
Remember to refresh the template
