Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: TheDisturbedOne on December 05, 2008, 03:38:40 PM

Title: Remove "Logged" and IP Image
Post by: TheDisturbedOne on December 05, 2008, 03:38:40 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1532)

Remove "Logged" and IP Image
By: TheDisturbedOne (http://www.disturbedmb.com)

What this MOD will do:
This MOD will remove the "Logged" text and the IP image in posts.  Members will NOT be able to see their IP in posts.  Admins will still be able to see it though.

For 1.1.x only.
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on December 05, 2008, 05:39:56 PM
So this mod will stop all but admins seeing IPs in posts?
Global mods etc wont be able to see them?
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on December 05, 2008, 11:14:14 PM
Correct.
Just like most other forum software.
Title: Re: Remove "Logged" and IP Image
Post by: tyhgdgh on December 08, 2008, 02:34:01 AM
Thanks for this, some of my members that are young are asking me what an IP is, since they can see theres, they ask me "why can't i see others??"
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on December 09, 2008, 09:12:19 PM
You're welcome. :)
Jeez 151 MODs...
Title: Re: Remove "Logged" and IP Image
Post by: MissyNL on January 05, 2009, 03:26:02 PM
thank you for this mod.

I have a board in wich user can anonymous tell there story. Before they saw the ip adress from other members.. and now they dont.

thanks!
Title: Re: Remove "Logged" and IP Image
Post by: MissyNL on January 05, 2009, 03:32:41 PM
hm..... i am the admin.. but i now do not see the IP adress anymore in the post  :-\
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on January 05, 2009, 09:31:30 PM
Quote from: Lafemme on January 05, 2009, 03:32:41 PM
hm..... i am the admin.. but i now do not see the IP adress anymore in the post  :-\
Hmm.  I tested this on a clean install on 1.1.7 and admins could still see it, can you attach your Display.Template?
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on January 05, 2009, 09:53:35 PM
I installed it on a fresh install also, and I as admin couldnt see any IPs.
Your mod removes all the code to display the IP does it not?

Anywho, I couldn't figure it out, so changed it a little.
I repackage the mods instead of doing the manual edits, that way I can uninstall without editing a template.
Here is what I've packaged if you'd like to look.
Its a bit rough, but meh.. Im no coder lol

p.s
will remove on request to avoid confusion
Title: Re: Remove "Logged" and IP Image
Post by: MissyNL on January 06, 2009, 03:39:34 PM
Thanks.. the version of sabre worked :D

The idea is great tho!!!
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on January 06, 2009, 04:39:21 PM
Thanks Sabre™.  I will upload that as the new MOD ASAP.

I made this MOD more as something that I think should be default (as opposed to being a MOD author with this just being my first), I'm not an expert coder ;)
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on January 06, 2009, 05:18:48 PM
Mate my edits are rough!
Where you say  "I'm not an expert coder", I'd reply that I'm not one at all!! lol
I know a little about a little..... thats all.
But if my little edits help, then I'm glad to have been of assistance. But if there is a cleaner way to code it, then please do so :)

I've thought about your idea for awhile, and I'm glad you've given us the option of it.
Thanks mate :)

regards


p.s.
Removed my attachment to avoid any confusion.
Title: Re: Remove "Logged" and IP Image
Post by: MissyNL on January 06, 2009, 06:54:41 PM
here you see... together you have made a wonderfull product :D
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on January 06, 2009, 08:09:00 PM
The edits are fine (as they just allow the admin to see it), but I may remove the IP image for admins, as it gets annoying.

Maybe later.
Title: Re: Remove "Logged" and IP Image
Post by: MissyNL on January 07, 2009, 06:20:30 AM
oh.. oke :D well.. personally i like the image.. but that's everyone there own opinion off course ;)
Title: Re: Remove "Logged" and IP Image
Post by: Kadimi on July 31, 2009, 10:56:34 PM
Could you please make it work for 2.0

Thanks!
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on August 01, 2009, 08:27:08 AM
Yeah when I get some time. The edits aren't that much different though.
Title: Re: Remove "Logged" and IP Image
Post by: Juo on August 01, 2009, 07:14:18 PM
Id also appreciate a version for 2.0 :)
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on August 05, 2009, 06:58:14 AM
Updated to SMF 2.0 RC1.2 for ya TheDisturbedOne :)
I had a couple mins to spare


-- Removed as there is now a version for smf2 --
Title: Re: Remove "Logged" and IP Image
Post by: Costa on August 05, 2009, 07:36:36 AM
Quote from: Sabre™ on August 05, 2009, 06:58:14 AM
Updated to SMF 2.0 RC1.2 for ya TheDisturbedOne :)
I had a couple mins to spare

puts... i submit a package for 2.0 4 days ago... waiting aproval...
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on August 05, 2009, 08:15:56 AM
cool
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on August 05, 2009, 01:22:24 PM
Quote from: Sabre™ on August 05, 2009, 06:58:14 AM
Updated to SMF 2.0 RC1.2 for ya TheDisturbedOne :)
I had a couple mins to spare
You want this MOD? You've done most of the work LOL.
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on August 07, 2009, 05:02:33 PM
lol  Nah mate, I like helping good people out when I can ;)
Title: Re: Remove "Logged" and IP Image
Post by: ricardo35 on August 19, 2009, 05:50:01 AM
I replaced the text.
But it's not working. I have to do anything with the zip file you attached? Cause I don't see any instructions.

Thanks
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on August 19, 2009, 10:45:59 PM
My zip file?
Title: Re: Remove "Logged" and IP Image
Post by: Costa on August 21, 2009, 05:20:01 AM
TheDisturbedOne, I've one mod who does the same as yours, but only for 2.0 RC1.2
Do you mind if i update my mod to work in SMF 1.1.x?

My mod -> http://custom.simplemachines.org/mods/index.php?mod=2046

Farewell
-Costa
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on August 21, 2009, 09:34:47 AM
I don't mind if you use your own code, or credit me and my website in the 1.1.x mod (and use my code).
Title: Re: Remove "Logged" and IP Image
Post by: ricardo35 on August 21, 2009, 11:08:26 AM
Quote from: TheDisturbedOne on August 19, 2009, 10:45:59 PM
My zip file?
Zip file yes.
There is a zip file attached to your mod.
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on August 21, 2009, 11:19:00 AM
Upload it just like any normal MOD, and apply it.
Title: Re: Remove "Logged" and IP Image
Post by: chrishicks on August 24, 2009, 08:05:14 PM
Can someone tell me how I could allow a special group to also view IPs? I want to use this but I have a hidden Moderator group that looks like regular users and they won't be able to access this after I apply.
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on August 24, 2009, 09:19:11 PM
I could put a permission on it, but I won't be able to get to that until atleast a month from now. Really busy lately.
Title: Re: Remove "Logged" and IP Image
Post by: chrishicks on August 27, 2009, 09:14:47 AM
Thanks for the reply. I'm in no rush. Take your time.
Title: Re: Remove "Logged" and IP Image
Post by: falldown on September 29, 2009, 02:23:25 PM
FYI, installs and works fine on 1.1.10 - at least so far...  8)
Title: Re: Remove "Logged" and IP Image
Post by: chriso29 on September 29, 2009, 02:59:08 PM
I can't get it to work on my 1.1.10 but it's on the kani theme. Any tips to get it to work with kani?
thanks
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on September 29, 2009, 03:02:28 PM
Attach that themes display.template.php and I'll have a look.
Title: Re: Remove "Logged" and IP Image
Post by: chriso29 on September 29, 2009, 03:11:33 PM
Thank you, thank you. :)
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on September 29, 2009, 03:19:11 PM
Sabre, don't touch that file, I'll do it.
:P
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on September 29, 2009, 03:19:44 PM
My pleasure :)


EDIT:
Quote from: TheDisturbedOne on September 29, 2009, 03:19:11 PM
Sabre, don't touch that file, I'll do it.
:P

lol  ok.. 

removed
Title: Re: Remove "Logged" and IP Image
Post by: TheDisturbedOne on September 29, 2009, 03:26:40 PM
Sabre likes supporting this MOD. :)

Here you go.
Title: Re: Remove "Logged" and IP Image
Post by: chriso29 on September 29, 2009, 03:29:27 PM
Thank you very much!!! :D
Title: Re: Remove "Logged" and IP Image
Post by: Sabre™ on September 29, 2009, 03:43:04 PM
Quote from: TheDisturbedOne on September 29, 2009, 03:26:40 PM
Sabre likes supporting this MOD. :)

lol  I help anywhere I can
As you show offline, there is no way to know if you're here to assist, without periodically checking your profile :P
Title: Re: Remove "Logged" and IP Image
Post by: TomW on December 30, 2009, 01:14:33 PM
Does this work in 2.0 RC2 ?
Title: Re: Remove "Logged" and IP Image
Post by: TomW on January 09, 2010, 07:40:39 PM
Quote from: TomW on December 30, 2009, 01:14:33 PM
Does this work in 2.0 RC2 ?

Will this mod be upgraded for 2.0 RC2 ?
Title: Re: Remove "Logged" and IP Image
Post by: Delicieux on January 11, 2010, 02:16:21 PM
I'd like to second that question. Would be very awesome!
Title: Re: Remove "Logged" and IP Image
Post by: TomW on March 29, 2010, 10:23:27 PM
RC3 ?
Title: Re: Remove "Logged" and IP Image
Post by: jelence on July 04, 2010, 09:34:05 AM
For RC3 , you can try manually:

Go to Display.template.php and remove piece of code corresponding to one in mode Parse for 1.1.8.

In RC3, it is between:

echo '
</div>
<div class="smalltext reportlinks">';


and

// Are there any custom profile fields for above the signature?
if (!empty($message['member']['custom_fields']))


Sorry, I changed this a while ago, and don't know how original code looks.

Then put there identical piece of code that can be find in Mode Parse as replacement for 1.1.8.
And it should work.
Title: Re: Remove "Logged" and IP Image
Post by: Costa on July 04, 2010, 10:43:07 AM
Quote from: TomW on March 29, 2010, 10:23:27 PM
RC3 ?
http://custom.simplemachines.org/mods/index.php?mod=2046

-Costa
Title: Re: Remove "Logged" and IP Image
Post by: jelence on July 04, 2010, 11:53:23 AM

That is better  :D.

Title: Re: Remove "Logged" and IP Image
Post by: Cal O'Shaw on July 24, 2010, 01:26:04 AM
Any chance you might be able to allow other groups to see the IP?  If you don't want to create a new permission and all the bother of defining it in the admincp, how about riding on the Moderate Board permission?  If the member can moderate the board, they can see the IP.

Admittedly a quick and dirty solution, but if that give some ability to see IPs by our 2nd level admin types, it's better than not being able to restrict our regular members from seeing the IPs.

Grazie,

Cal
Title: Re: Remove "Logged" and IP Image
Post by: njtweb on April 25, 2018, 01:09:06 PM
I see the last post is 2009 for this mod. So I'm assuming there have been a number of version changes to the SMF script since then. I'd like to use this mod on 2.0.14 but even emulating isn't working. 2.0.14 says the package is corrupt. Emulating says not to install. Both files fail the test and only one has a manual change suggestion next to it.

If this doesn't work is there a way to turn these off in admin panel of 2.0.14? I think some people will question what is being logged.

Thanks!
Title: Re: Remove "Logged" and IP Image
Post by: Kindred on April 25, 2018, 01:50:25 PM
this mod is for 1.1.x
it will not work on 2.0.x.

there is no function to turn off those items (by turning them off, you could actually be in violation of letting people be aware that the information is stored and can be tracked)
Title: Re: Remove "Logged" and IP Image
Post by: njtweb on April 25, 2018, 02:11:07 PM
Ok, didn't know that for both responses. Thank you
Title: Re: Remove "Logged" and IP Image
Post by: GigaWatt on April 25, 2018, 09:35:56 PM
There is another mod that does what you're looking for ;).

http://custom.simplemachines.org/mods/index.php?mod=2046

Works in 2.0.15, should also work in 2.0.14 ;).
Title: Re: Remove "Logged" and IP Image
Post by: njtweb on April 26, 2018, 04:17:03 PM
Quote from: GigaWatt on April 25, 2018, 09:35:56 PM
There is another mod that does what you're looking for ;).

http://custom.simplemachines.org/mods/index.php?mod=2046

Works in 2.0.15, should also work in 2.0.14 ;).

Perfect! Thank you very much.