phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

I want all registered users to see IP's


 
Search this topic... | Search MOD Requests... | Search Box
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Author Message
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Wed Jul 21, 2010 1:35 am 
Post subject: I want all registered users to see IP's

Hi!

I want all registered users to see IP's.
I think it's in viewtopic.php, but I've looked around a few times and couldn't find the "hot spot". icon_confused.gif

_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
Acaria
Board Member



Joined: 20 Feb 2009

Posts: 238



PostPosted: Wed Jul 21, 2010 4:34 am 
Post subject: Re: I want all registered users to see IP's

Sylver Cheetah 53 wrote:
I want all registered users to see IP's.


I would likely not do this if I were you. If you do want do go on with this, you should at least gives users the option to hide their IP address.

I don't think you're fully aware of the things people can do with those few numbers.
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Wed Jul 21, 2010 11:24 am 
Post subject: Re: I want all registered users to see IP's

Thank you for your kind advice. The thing is this: Now, my forum is mostly based on FIFA championship, wich is played by direct IP, so we have to give our IPs. But there are some nasty players who are took 2 or even 3 squads, posting from different accounts, but on the same ip. icon_mad.gif I can't verify all the time this thing, but if all users could see it, there would be some who would say to me who is cheating.
I know it is not very good to give up ip numbers, but the majority have dinamic ips. Also, like I was saying earlyier, we are forced to give our ip's or lese we can't play...

I'll open right now once again viewtopic.php and if I find what I'm looking for, I'll post it here, if maybe someone else wants it... icon_wink.gif

_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 428
Location: Qu├ębec


flag
PostPosted: Wed Jul 21, 2010 5:28 pm 
Post subject: Re: I want all registered users to see IP's

I don't recommend it either, but since you're aware of it and your users are giving their IPs away anyway, you'd be looking at these lines:

CHANGE THIS
Code:
   if ( $is_auth['auth_mod'] )
   {
      $temp_url = "modcp.$phpEx?mode=ip&" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&" . POST_TOPIC_URL . "=" . $topic_id . "&sid=" . $userdata['session_id'];
      $ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
      $ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';

      $temp_url = "posting.$phpEx?mode=delete&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;sid=" . $userdata['session_id'];
      $delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
      $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
   }
   else
   {
      $ip_img = '';
      $ip = '';

      if ( $userdata['user_id'] == $poster_id && $is_auth['auth_delete'] && $forum_topic_data['topic_last_post_id'] == $postrow[$i]['post_id'] )
      {
         $temp_url = "posting.$phpEx?mode=delete&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;sid=" . $userdata['session_id'];
         $delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
         $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
      }
      else
      {
         $delpost_img = '';
         $delpost = '';
      }
   }

TO THIS
Code:
   $temp_url = "modcp.$phpEx?mode=ip&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;" . POST_TOPIC_URL . "=" . $topic_id . "&amp;sid=" . $userdata['session_id'];
   $ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
   $ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';

   if ( $is_auth['auth_mod'] )
   {
      $temp_url = "posting.$phpEx?mode=delete&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;sid=" . $userdata['session_id'];
      $delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
      $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
   }
   else
   {
      if ( $userdata['user_id'] == $poster_id && $is_auth['auth_delete'] && $forum_topic_data['topic_last_post_id'] == $postrow[$i]['post_id'] )
      {
         $temp_url = "posting.$phpEx?mode=delete&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;sid=" . $userdata['session_id'];
         $delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
         $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
      }
      else
      {
         $delpost_img = '';
         $delpost = '';
      }
   }


That's where your start; I haven't tested it but it makes sense. I would however at least add a condition to check if the user is logged in, something like

Code:
   if ( $userdata['user_id'] == ANONYMOUS )
   {
      $ip_img = '';
      $ip = '';
   }
   else
   {
      $temp_url = "modcp.$phpEx?mode=ip&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;" . POST_TOPIC_URL . "=" . $topic_id . "&amp;sid=" . $userdata['session_id'];
      $ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
      $ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';
   }

   if ( $is_auth['auth_mod'] )
......


But non-mods still won't be allowed in modcp.php. How you deal with that is up to you: change how the authentication is done in modcp, create a separate page for IP using modcp's "ip" case, with its own template and without forgetting to change the link in viewtopic, etc.


I will add this, however: Your players can still cheat easily. Since they already go through the trouble of logging from multiple accounts, they can just keep doing that while staying behind a different proxy for each. They will be using different accounts from different IPs, so your problem won't be solved and your users' IPs will be exposed.
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 224


flag
PostPosted: Thu Jul 22, 2010 4:37 am 
Post subject: Re: I want all registered users to see IP's

wow, I never thought I would see this request. I spend a lot of time telling people to stop worrying about who sees what IP.

The only thing you can find out from an IP address is the town and ISP.
and quite often that is not even correct.

right now, if I go to some of the sites that check the IP I am coming from, it shows a town that is a about 150 miles from me.

like you said, most of your users have dynamic IPs so how can you use that for a way to keep track of anything to start with.


robert
Back to top
Citrix
Board Member



Joined: 19 Feb 2012

Posts: 42



PostPosted: Thu Feb 23, 2012 4:56 pm 
Post subject: Re: I want all registered users to see IP's

Sylver Cheetah 53 wrote:
Hi!

I want all registered users to see IP's.
I think it's in viewtopic.php, but I've looked around a few times and couldn't find the "hot spot". icon_confused.gif
This is not a good idea.
A hacker can register to your site, then he can see all the IPs. Why do you want to make it easier for him to harrass your members?
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 224


flag
PostPosted: Fri Mar 09, 2012 11:09 pm 
Post subject: Re: I want all registered users to see IP's

Citrix wrote:
Sylver Cheetah 53 wrote:
Hi!

I want all registered users to see IP's.
I think it's in viewtopic.php, but I've looked around a few times and couldn't find the "hot spot". icon_confused.gif
This is not a good idea.
A hacker can register to your site, then he can see all the IPs. Why do you want to make it easier for him to harrass your members?

curious how you think someone can harrass someone by knowing their IP ( at the time of posting)?

my current IP is 184.79.97.18
what can you do with that? can you find me? or anything at all about me?

robert
Back to top
Jim_UK
Board Member



Joined: 19 Nov 2008

Posts: 551
Location: North West UK


flag
PostPosted: Sat Mar 10, 2012 7:17 pm 
Post subject: Re: I want all registered users to see IP's

Only that you live just off Rankin Highway in the City of Midland.

Jim
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 224


flag
PostPosted: Sat Mar 17, 2012 12:49 am 
Post subject: Re: I want all registered users to see IP's

see that is what I mean, I do not live anywhere near midland texas, I live about 30 miles south of waco texas, out in the country.

but let's say that you could find what city and maybe even what street I live on with my IP, so what?

people just get to paranoid about this stuff. stop basing things on what you see on tv.

for instance, they still show the cops trying to make people stay on the phone for extended periods of time so they can trace the call.

ever hear of 911? when you call 911 they know exactly where you are instantly. if you are calling from a cell phone they may not know exactly but they will know within a very small area instantly.

there I go on my soapbox again.

Image link

robert
Back to top
Jim_UK
Board Member



Joined: 19 Nov 2008

Posts: 551
Location: North West UK


flag
PostPosted: Thu Jan 17, 2013 7:40 am 
Post subject: Re: I want all registered users to see IP's

Personally I would edit it directly in the database as I would with any item in the config.

Jim
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0285 seconds using 16 queries. (SQL 0.0017 Parse 0.0009 Other 0.0260)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo