Add ip addresses to CZUser Info V5.0 UNIVERSAL

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Add ip addresses to CZUser Info V5.0 UNIVERSAL
EMcom
CZ Newbie
 Codezwiz Site Donator
EMcom has been a member for over 19 year's 19 Year Member
Gender: Female
Status: Offline
Joined: Mar 23, 2005
0.00 posts per day
Posts: 12
Points: 858
   
Hi--

I just installed the CZUser Info V5.0 UNIVERSAL on my Platinum 7.6 site last night & I've been searching for a way to include visitor & member ips in it. I thought this would have been covered, but a search of this site using 'ip address user info' brought up nothing to help me.

Thanks for your time.

Larissa



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
You can attach your block and I will do it for you. Try to explain what you want but don't get to crazy on me. icon_eek.gif




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
EMcom
CZ Newbie
 Codezwiz Site Donator
EMcom has been a member for over 19 year's 19 Year Member
Gender: Female
Status: Offline
Joined: Mar 23, 2005
0.00 posts per day
Posts: 12
Points: 858
   
Really? That's so nice of you, thanks. I'd really like my visitors & users to realize that I'm capable of tracking everyone at my site... we've had problems with troublemakers before, but who hasn't, right? Anyway, I'd like it to show the ip address under the greeting & username:

Good evening EMcom
Your ip is xxx.xxx.xxx

If you really wanna go nuts & it doesn't take much effort, I'd also love you forever if you could include os, browser info, & anything else that would make their minds boggle, lol. Don't worry about it if it's a p.i.t.a.

I just tried to attach the file, but it said that .php isn't allowed, so I'm just gonna upload it as a text document.

Thanks again for this. It's a refreshing change from the attitudes at most other sites. You rule.



Attached Files
codewiz.txt (16.42 KB, Downloaded: 5250 Time(s))


Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
You might want to delete the bottom two they return alot of info an it may mess up your blocks. If it does just delete these two (two instances):


   $content .= "<br />Your Host: ".gethostbyaddr($_SERVER['REMOTE_ADDR'])."\n";
   $content .= "<br />Your Browser: ".get_browser()."\n";



Attached Files
EMcom.zip (4.18 KB, Downloaded: 5262 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
Colossus610
CZ Super Newbie
Colossus610 has been a member for over 19 year's 19 Year Member
usa.gif illinois.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2005
0.00 posts per day
Posts: 35
Points: 1,667
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Actually I have been looking for the exact same thing, as funny as it may seem. I've had it with looking for javascripts that supported some ancient browser but nowadays?
And I don't know enough about PHP yet to do this with the client-side browser detection and stuff(see, I even know what I'm looking for!!!)
So could I just maybe have a greedy little glance at some of that code too pretty please?
(I have also been considering inserting some of that into my siggy on one site I'm a member of and a little admin. Just to throw people off their rocker.



Back to top Reply with quote
#6   re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
EMcom
CZ Newbie
 Codezwiz Site Donator
EMcom has been a member for over 19 year's 19 Year Member
Gender: Female
Status: Offline
Joined: Mar 23, 2005
0.00 posts per day
Posts: 12
Points: 858
   
Thanks! I can't believe how fast you did that! Wow. Someone's gonna be getting a donation this month. icon_wink.gif I'll go try it out right now.

Larissa



Back to top Reply with quote
#7   Re: re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   


Originally posted by Colossus610 @ Fri May 06, 2005 1:46 am:

Actually I have been looking for the exact same thing, as funny as it may seem. I've had it with looking for javascripts that supported some ancient browser but nowadays?
And I don't know enough about PHP yet to do this with the client-side browser detection and stuff(see, I even know what I'm looking for!!!)
So could I just maybe have a greedy little glance at some of that code too pretty please?
(I have also been considering inserting some of that into my siggy on one site I'm a member of and a little admin. Just to throw people off their rocker.


The code I added is 3 lines feel free to use them:


   $content .= "<br />Your IP: ".$_SERVER['REMOTE_ADDR']."\n";
   $content .= "<br />Your Host: ".gethostbyaddr($_SERVER['REMOTE_ADDR'])."\n";
   $content .= "<br />Your Browser: ".get_browser()."\n";




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
EMcom
CZ Newbie
 Codezwiz Site Donator
EMcom has been a member for over 19 year's 19 Year Member
Gender: Female
Status: Offline
Joined: Mar 23, 2005
0.00 posts per day
Posts: 12
Points: 858
   
Good stuff! Just what I wanted! Now off I go to donate & look at your other scripts!



Back to top Reply with quote
#9   re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
Colossus610
CZ Super Newbie
Colossus610 has been a member for over 19 year's 19 Year Member
usa.gif illinois.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2005
0.00 posts per day
Posts: 35
Points: 1,667
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Hey I appreciate it a lot, man i'm lazy, but I actually did notice something......
What's up with the your server time?
I posted my request at ~1:30 or so CST but it states
#5. Fri May 06, 2005 4:46 pm re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
but when you quoted me it states
Originally posted by Colossus610 @ Fri May 06, 2005 1:46 am:
Makes ya go hmmm....yet another annoying little thing to look into?
then it goes back to
#8. Fri May 06, 2005 4:54 pm re: Add ip addresses to CZUser Info V5.0 UNIVERSAL

Sorry

BTW, thanks again for the help and shouldn't you be in bed at 2 a.m.?



Back to top Reply with quote
#10   re: Add ip addresses to CZUser Info V5.0 UNIVERSAL
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 56
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.08 posts per day
Posts: 643
Points: 57,200
   
im using this but dont works for guests icon_neutral.gif
$content .=" Your IP is ";
   $content .=$ip = $_SERVER['REMOTE_ADDR'] ;




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum