Quote:
Originally Posted by SirAdrian
If you want the IP address of the user currently viewing, it's $_SERVER['REMOTE_ADDR'] or the constant IPADDRESS. (you really have to tell us more to get any help lol)
|
Yes I know that. I just wondered if there was a vbulletin variable for it. As I can't seem to include php code into the default vb templates.
php include didn't work so I tried this
Code:
<if condition="$_SERVER['REMOTE_ADDR']==myiphere">showthis<else />showthis2</if>
However, that resulted in an error :/