The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Displaying ip address of user
Code:
{vb: raw bbuserinfo.ip} Additionally, this doesn't work either: Code:
{vb:rawphrase ip} |
#2
|
||||
|
||||
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. |
Благодарность от: | ||
Duckface |
#3
|
|||
|
|||
Which hook location would you recommend? As it's for a custom page that I made http://spawnscape614.co.uk/forums/donate/donate.php
|
#4
|
||||
|
||||
I edited my post above...to which template are you trying to add the user's IP?
|
#5
|
|||
|
|||
The template is a custom template called Donate.
|
#6
|
||||
|
||||
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:
|
#7
|
|||
|
|||
Strangely not as logical as it sounds... I even tried (in the template):
PHP Code:
|
#8
|
|||
|
|||
5.5.42-cll
|
#9
|
||||
|
||||
What PHP version are you using?
|
#10
|
||||
|
||||
What I suggested should work...don't know why it's not. Maybe someone else can suggest another solution.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|