The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is there one?
|
|
#2
|
||||
|
||||
|
what do you want to do? you can enable usergroups to view IP addresses by default
|
|
#3
|
||||
|
||||
|
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)
|
|
#4
|
|||
|
|||
|
Quote:
php include didn't work so I tried this Code:
<if condition="$_SERVER['REMOTE_ADDR']==myiphere">showthis<else />showthis2</if> |
|
#5
|
||||
|
||||
|
Did you enclose your ip in (single) quotes ?
|
|
#6
|
|||
|
|||
|
Quote:
thanks manHere is the working code if anyone wants to do something similar Code:
<if condition="$_SERVER['REMOTE_ADDR'] == 'myiphere'">showthis<else />showthis2</if> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|