How do I remove the IP address in the forum of each member?
Asked in the nicest possible way, why?
In case you were wondering, only admins can see those and they're good for tracking Spamtards.
I don't use it. i removed everything since my forum is a diff niche than most. .....but you can find the bit on Display.template.php
Yes, only admins see this.
ok..and lol @ spamtards..Mick, same here. Im going to look again, I removed something with "ip" and somehow it caused an error, so I just put it back...
You should know by now that you can't just go randomly deleting code from files without actually having SOME idea what you are supposed to be doing....
And you still have not actually explained why you want to remove it.
Sorry man but I can't help you ATM. (On iPhone). It's been over a year since I've seen a fresh display.template.php file but if I remember correctly, there's only 1 instance of the code bit?
Ill help you out if you still want this but later this afternoon. I need to look at a fresh file.
?
http://custom.simplemachines.org/mods/index.php?mod=2046
Try deleting this block of code from Display.template.php.
<img src="', $settings['images_url'], '/ip.gif" alt="" />';
// Show the IP to this user for this post - because you can moderate?
if ($context['can_moderate_forum'] && !empty($message['member']['ip']))
echo '
<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>';
// Or, should we show it because this is you?
elseif ($message['can_see_ip'])
echo '
<a href="', $scripturl, '?action=helpadmin;help=see_member_ip" onclick="return reqWin(this.href);" class="help">', $message['member']['ip'], '</a>';
// Okay, are you at least logged in? Then we can show something about why IPs are logged...
elseif (!$context['user']['is_guest'])
echo '
<a href="', $scripturl, '?action=helpadmin;help=see_member_ip" onclick="return reqWin(this.href);" class="help">', $txt['logged'], '</a>';
// Otherwise, you see NOTHING!
else
echo '
', $txt['logged'];
echo '
Thanx K@.
No sweat! Cheesy seems to be doing what seem, to me, to be rather odd things, to his forum. I'm even wondering if SMF is, really, what he needs, as he seems to want to butcher it, so much. But, hey, it's his forum, so... :)
Lol K@!! Are you bringing me out to the limelight? I don't need SMF but I use it, (all hacked, chopped up) bahahaha!!!!
In all truthness, I use smf because it can do whatever you tell it.
I'd love to know just what he's up to, you know. Just to kinda my curiosity, kinda thing.
Not that I'm a nosy bastard.
Much. ;)
Bahahaha me too me too!
Some kind of super spy site, maybe... ;)
Cheesy may finally tell us when the site is done.
After all, the Showcase board is very inviting. :)
/me would point out that it's possible to sniff all the IP addresses of people who visit a given topic anyway even when you're not an administrator.
What seems to me is, cheese wants to remove the ip text with its ip numbers and the icon.
Seems like Cheesy is making one heck of a unique site.
One that I'd love to see the finished result. :)
Quote from: BurkeKnight on August 26, 2013, 05:51:26 PM
Seems like Cheesy is making one heck of a unique site.
One that I'd love to see the finished result. :)
Honestly there's nothing unique about it from what I've heard so far.
I will definitely let you guys take a look when Im done, yea I have chopped it up just like Mick said and to comment on his "it does whatever I tell it" that is very much true, main reason y I use it and then it's free unlike vBulletin. C'mon, dont we all like freebies?!
P.S.
Arantor is probably one of those old men with no close friends who's sits in the window praying that someone comes to visit. Smile for once sir, you are breathing, dont be so negative all the time...*he probably will be the first to click on the link to my site*
And Kindred,
Im not RANDOMLY removing the code. Ive been planned to remove the code. As I seen no point of it. When you assume, most of the time assumptions are wrong...
Well... I'm 29, with introverted and mild autistic tendencies and I don't go outside because I'm happier when writing code because code, unlike people, won't ever be unpleasant to you, nor will it lie to you or try to do things without thinking about them first. The fact that code also doesn't provide ambiguous subtext or expect to do small talk is just a bonus feature.
Besides, my opinion is completely valid. Everything I have heard about your site is very generic. I have yet to hear about anything you've actually wanted that's unique. It's probably even a general discussion forum of which there are a bajillion already.
Personally, I think those attacks are uncalled for.
1. Arantor did not even say anything with attitude. Just stated that IP's can still be found other ways, and that he did not think you were doing anything extra-ordinary.
2. Kindred was not saying you were, just wanted to remind you to know what you are doing while in the coding. Even I need reminding at times. ;)
Burke,
Arantor is ALWAYS negative towards me.
Quote from: Arantor on August 26, 2013, 05:54:59 PM
Quote from: BurkeKnight on August 26, 2013, 05:51:26 PM
Seems like Cheesy is making one heck of a unique site.
One that I'd love to see the finished result. :)
Honestly there's nothing unique about it from what I've heard so far.
I'm sorry, but I don't see anything negative about that.
He's just stating that so far, there is nothing he'd heard of that is truly unique.
In other words, he's most likely seen same things asked for in the past.
Let's move on.
/me hits the "solved" wotsit.
Assuming, that is, that my suggestion did the trick...