The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IP Address Needed In printthread.php
Can somebody tell me how to hack the printthread.php to allow IP addresses next to the username?
I think it has something to do with $post[ip]. My visitors would like to print the posts with the IP addresses on them. Thanx in advance! |
#2
|
||||
|
||||
Try this:
$post[ipaddress] |
#3
|
|||
|
|||
Hello Logician,
Thanks for trying to help me. Could you be a little more specific about where in the printthread I would put $post[ipaddress]? I tried many times, but it still doesn't show the IP address during the Print View in printthread.php. Thanks for you or anyone who could help me. printthread.php (Oops! Didn't know I couldn't post code! Thanks) |
#4
|
||||
|
||||
You need to remove that code since it states in the rules you are not allowed to post entire vB files.
Also, use it in templates instead of the file |
#5
|
|||
|
|||
I added $post[ipaddress] to the printthreadbit template as suggested. Thanks Logician and assassingod for the help!
printthreadbit <hr> <i>Posted by $post[username] $post[ipaddress] on $post[postdate] $post[posttime]:</i> <p><b>$post[icon] $post[title]</b></p> <p>$post[message]</p> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|