Users IP in postbit
#1
In my old forum I could show the users IP in the posts to administrators.
Now I wanne know if it is also possible to add here the users ip in the postbit, this ip address must be showed only to admins. A member or guest may not see it.

example

Posts: 3,00
Group: Administrators
Joined: Jun 2007
Status: Offline
ipaddress:
[Image: bannermybb.jpg]
Reply
#2
The attachment returns the IP when they posted.

Upload in your pluginfolder and Activate.


Attached Files
.php   ipp.php (Size: 790 bytes / Downloads: 117)
Reply
#3
Thanks,

only 1 small error, it showed like this

UserIP: 81.204.76.230Warning Level

Warming level is from another plugin but it is on the same line as ip
[Image: bannermybb.jpg]
Reply
#4
Aint an error, it works properly on the standard MyBB installation.
Open the plugin and add a <br /> at the end ...
Reply
#5
Use that Wink


Attached Files
.php   ipp.php (Size: 794 bytes / Downloads: 91)
Reply
#6
aorgun Wrote:Use that Wink

He probably can modify it himself, and use the correct one; <br /> not <br>
Reply
#7
THANKS it works for the full 100%
[Image: bannermybb.jpg]
Reply
#8
LeX- Wrote:
aorgun Wrote:Use that Wink

He probably can modify it himself, and use the correct one; <br /> not <br>
i hate / Toungue
Ok, he'll choose one...

spinning Wrote:THANKS it works for the full 100%
nope Wink
Reply
#9
I changed it to <br />, for me it does not gave any problem with <br>, but perhaps after a update it will so I changed it.
So once again thanks for creating this plugin.
[Image: bannermybb.jpg]
Reply
#10
Well if you have / then you need to change your doctype to HTML. It won't be XHTML valid then. It's the proper way as XHTML is basicly XML.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)