User Panel

Welcome, Guest.
Please login or register.

 
 
 

Did you miss your activation email?

 Who's Online

  • • Users: 0
  • • Guests: 21

 Theme Changer

 Recent Posts

ABC Story
Last Poster: Yigal | September 08, 2009, 12:47:13 AM

hello everyone
Last Poster: smithtrd | July 24, 2010, 10:41:17 PM

Latest post/ Active Topics
Last Poster: Deezel | June 14, 2010, 02:19:38 PM

Announcement to all previous Donors!
Last Poster: hadesflames | July 25, 2010, 08:56:32 PM

Dream Portal Custom Theme: Vis Verde
Last Poster: Jerry | January 27, 2010, 06:18:51 AM

Author Topic: [Mod] Hide ip stuff for users  (Read 1191 times)

0 Members and 1 Guest are viewing this topic.

Offline Costa

  • Friend
  • *
  • Posts: 846
  • Gender: Male
  • Don't feed the trolls...
    • In4tek!
[Mod] Hide ip stuff for users
« on: March 06, 2010, 03:31:26 PM »
This will hide the ip stuff for users who don't have permission to view that

Author: Costa
Type: Feature Enhancement
Latest version: 1.03
Compatible with: 2.0 RC2

Screenshot




Support & comments
If you have a problem with this mod, want to comment, or have any question, please post to the modification support topic and I will reply as soon as possible.

-Costa
Se amanhã não houver amor nem amizade
Quero que saibam que vos amo de verdade
Se amanhã partir e o destino me levar
No meu coração terão sempre lugar

Offline Dismal Shadow

  • Apprentice
  • Public Relations
  • *
  • Posts: 241
  • Gender: Male
  • This wretched world does not reward endeavor
    • The Two Worlds
Re: [Mod] Hide ip stuff for users
« Reply #1 on: March 07, 2010, 06:30:38 AM »
Again this should be default in SMF, and I see no reason for user to have ip in their post. IP should be for admin/moderator to see which is why I use this mod. Thank you.

Offline Costa

  • Friend
  • *
  • Posts: 846
  • Gender: Male
  • Don't feed the trolls...
    • In4tek!
Re: [Mod] Hide ip stuff for users
« Reply #2 on: March 07, 2010, 10:49:41 AM »
Yep, I think that too.

-Costa
Se amanhã não houver amor nem amizade
Quero que saibam que vos amo de verdade
Se amanhã partir e o destino me levar
No meu coração terão sempre lugar

Offline Arantor

  • Former Assistant Developer
  • Friend
  • *
  • Posts: 18
  • Gender: Male
  • Dreamy
Re: [Mod] Hide ip stuff for users
« Reply #3 on: March 07, 2010, 01:27:54 PM »
You know why it's left there for regular users?

It's there so they know it's logged and the icon is actually a link to help text about it ;)

Offline Costa

  • Friend
  • *
  • Posts: 846
  • Gender: Male
  • Don't feed the trolls...
    • In4tek!
Re: [Mod] Hide ip stuff for users
« Reply #4 on: March 07, 2010, 05:43:10 PM »
It's there so they know it's logged and the icon is actually a link to help text about it ;)
You know how many people ask why their IP is visible :P

-Costa
Se amanhã não houver amor nem amizade
Quero que saibam que vos amo de verdade
Se amanhã partir e o destino me levar
No meu coração terão sempre lugar

Offline Dismal Shadow

  • Apprentice
  • Public Relations
  • *
  • Posts: 241
  • Gender: Male
  • This wretched world does not reward endeavor
    • The Two Worlds
Re: [Mod] Hide ip stuff for users
« Reply #5 on: March 07, 2010, 10:39:58 PM »
It's there so they know it's logged and the icon is actually a link to help text about it ;)
You know how many people ask why their IP is visible :P

-Costa
Hahaha, pwned.

Offline Arantor

  • Former Assistant Developer
  • Friend
  • *
  • Posts: 18
  • Gender: Male
  • Dreamy
Re: [Mod] Hide ip stuff for users
« Reply #6 on: March 08, 2010, 06:22:16 AM »
It's there so they know it's logged and the icon is actually a link to help text about it ;)
You know how many people ask why their IP is visible :P

-Costa

Yes, because while the idea is good, like a number of things the execution was bad. Where does it suggest it's actually clickable?

And Dismal, I'm hardly pwned by this.

Offline ccbtimewiz

  • Operations Manager
  • Project Leader
  • *
  • Posts: 1,242
  • Gender: Male
    • My Personal Site
Re: [Mod] Hide ip stuff for users
« Reply #7 on: March 08, 2010, 01:47:38 PM »
It's there so they know it's logged and the icon is actually a link to help text about it ;)
You know how many people ask why their IP is visible :P

-Costa

Yes, because while the idea is good, like a number of things the execution was bad. Where does it suggest it's actually clickable?

And Dismal, I'm hardly pwned by this.

If that was the case, it should just say "Logged" like everyone else and have their IP in the help pop-up.
ccbtimewiz
Dream Portal Project Manager

Offline Dismal Shadow

  • Apprentice
  • Public Relations
  • *
  • Posts: 241
  • Gender: Male
  • This wretched world does not reward endeavor
    • The Two Worlds
Re: [Mod] Hide ip stuff for users
« Reply #8 on: March 10, 2010, 02:43:38 AM »
Any change for RC3?  :P

Offline Costa

  • Friend
  • *
  • Posts: 846
  • Gender: Male
  • Don't feed the trolls...
    • In4tek!
Re: [Mod] Hide ip stuff for users
« Reply #9 on: March 10, 2010, 08:33:47 AM »
I think not. There are minor changes to the display.template.php in RC3. So the will work without problems in RC3. I only need to update the info file on it-

-Costa
Se amanhã não houver amor nem amizade
Quero que saibam que vos amo de verdade
Se amanhã partir e o destino me levar
No meu coração terão sempre lugar

Offline Dismal Shadow

  • Apprentice
  • Public Relations
  • *
  • Posts: 241
  • Gender: Male
  • This wretched world does not reward endeavor
    • The Two Worlds
Re: [Mod] Hide ip stuff for users
« Reply #10 on: July 15, 2010, 12:19:39 AM »
Find:
Code: [Select]
<a href="', $scripturl, '?action=', !empty($message['member']['is_guest']) ? 'trackip' : 'profile;area=tracking;sa=ip;u='. $message['member']['id'], ';searchip=', $message['member']['ip'], '">', $message['member']['ip'], '</a> <a href="', $scripturl, '?action=helpadmin;help=see_admin_ip" onclick="return reqWin(this.href);" class="help">(?)</a>';
Replace:
Code: [Select]
<a href="', $scripturl, '?action=', !empty($message['member']['is_guest']) ? 'trackip' : 'profile;area=tracking;sa=ip;u=' . $message['member']['id'], ';searchip=', $message['member']['ip'], '">', $message['member']['ip'], '</a> <a href="', $scripturl, '?action=helpadmin;help=see_admin_ip" onclick="return reqWin(this.href);" class="help">(?)</a>';
Can someone move this to Small Official Mod Support?
« Last Edit: July 15, 2010, 12:22:53 AM by Delita Heiral »