![]() |
Displaying ip address of user
Code:
{vb: raw bbuserinfo.ip} Additionally, this doesn't work either: Code:
{vb:rawphrase ip} |
In a plugin (with appropriate hook location), you could use the statement:
PHP Code:
To which template are you trying to add it, and I can help further. :D |
Which hook location would you recommend? As it's for a custom page that I made http://spawnscape614.co.uk/forums/donate/donate.php
|
Quote:
|
The template is a custom template called Donate.
|
Okay, for your plugin, try the hook location "global_start" (since I don't know if there are any custom hook locations associated with this template) and let's try this instead for the PHP code:
PHP Code:
|
Strangely not as logical as it sounds... I even tried (in the template):
PHP Code:
|
What PHP version are you using?
|
5.5.42-cll
|
What I suggested should work...don't know why it's not. Maybe someone else can suggest another solution. :D
|
All times are GMT. The time now is 03:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|