The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
show ipaddress
Hi,
how do i display the user ip address or guest ip address in the forum pages e.g. your ipaddress is xxx.xxx.xxx I dont know whether this can be done via plugin/hook? but i really need it. i have tried the usual: PHP Code:
i would also like to be able to add this ip info as a hidden custom field in my payment buttons, but this button is also available to unregistered guests so it is not necessarily a memberinfo(ipaddress) function i am after but rather currentbrowser(ipaddress). please anyone? thanks |
#2
|
||||
|
||||
Use the constant: IPADDRESS.
|
#3
|
|||
|
|||
hi dismounted, well when i try:
PHP Code:
PHP Code:
|
#4
|
||||
|
||||
It is a constant - you cannot use these directly in templates. You will have to assign a variable to the constant.
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|