Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 442
0 Users 3 Guests Online

Showing The Users Ip As an ADmin In Profile.

This is just an addon to get the ip and to make it an little more useful.


So, in members.php find
PHP Code
1
2
Sex: $user[sex]


And underneath add
PHP Code
1
2
3
4
5
6
7
8
9
10
11
)";
   if ($logged[userlevel] == 6)
   {
      echo("IP:$user[ip]");
   }
   else
   {
      echo("");
   }
echo("



That's it done. lol.


Thanks to me. lol.....


Cyrus Wu
cyruswu
Author:
Views:
2295
Rating:
Posted on Sunday 17th August 2008 at 01:28 PM
jambomb
jambomb
?
Posted on Saturday 16th August 2008 at 12:46 PM
jambomb
jambomb
so how can i make this work ?!?!?
Posted on Sunday 20th April 2008 at 12:22 AM
cyruswu
cyruswu
Then yo need to put an update command for the ip.
Posted on Saturday 19th April 2008 at 03:56 PM
ShadowMage
ShadowMage
Try:
Code

ALTER TABLE `members` ADD `ip` VARCHAR( 15 ) NOT NULL default '0';
Posted on Saturday 19th April 2008 at 12:59 PM
cyruswu
cyruswu
Yes, i posted a tutorial on that and it was declined.
Posted on Wednesday 9th April 2008 at 05:53 PM
Dalez
Dalez
Yeah don't you need to add IP table in your MySQl table?
Posted on Sunday 30th March 2008 at 05:49 PM
cyruswu
cyruswu
Apparantly the 2nd part of it was declined for some reason.
Posted on Tuesday 22nd January 2008 at 09:05 PM
MrArmstrong
MrArmstrong
Hrm?
Posted on Sunday 20th January 2008 at 12:05 AM
MrArmstrong
MrArmstrong
Whats The code to acctually make it work?
Posted on Monday 31st December 2007 at 05:46 PM
DanielXP
DanielXP
You don't need the following code

PHP Code
1
2
3
else{
echo("");
}