Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: PLAYBOY on January 14, 2011, 11:48:11 PM

Title: Banning without seeing the ip adresses
Post by: PLAYBOY on January 14, 2011, 11:48:11 PM
I dont want my moderators to see anybodies ip adress but i want them to be able to ban them or at least ban their username or something.

So,
Is there a way to make mdoerators not being able to see peoples ip adresses but still can ban them?

1.1.12
Title: Re: Banning without seeing the ip adresses
Post by: Yigal on January 15, 2011, 12:22:16 AM
Have you read this?  Ban List (http://docs.simplemachines.org/index.php?board=63.0;sort=subject)
Title: Re: Banning without seeing the ip adresses
Post by: PLAYBOY on January 15, 2011, 01:02:57 AM
No. Because that is not what i am looking for. I already know how to ban and my moderators also know. I just dont want my moderators to see the peoples ip adresses.
Title: Re: Banning without seeing the ip adresses
Post by: Matthew K. on January 15, 2011, 01:30:51 AM
It's possible, of course.

I suggest you look at Display.template.php and Profile.template.php for a start.
Title: Re: Banning without seeing the ip adresses
Post by: PLAYBOY on January 15, 2011, 08:32:40 PM
Moderators already cant see the ip adresses on the profiles and the posts.
They can see the ip adresses only on the "Add new ban" and "Edit the ban" pages.
Title: Re: Banning without seeing the ip adresses
Post by: Matthew K. on January 16, 2011, 01:42:36 PM
If you can't find it, let me know and I'll find the code for you.

Furthermore - I do believe there is a mod for View IP Permission

But, I would suggest looking at the template for adding a new ban.
Title: Re: Banning without seeing the ip adresses
Post by: PLAYBOY on January 16, 2011, 03:57:53 PM
I guess you didnt pay enough attention.

Guys this message is important

Quote from: PLAYBOY on January 15, 2011, 08:32:40 PM
Moderators already cant see the ip adresses on the profiles and the posts.
They can see the ip adresses only on the "Add new ban" and "Edit the ban" pages.


So im pretty sure display.template.php or profile.template.php is not the issue.

QuoteI would suggest looking at the template for adding a new ban.

I think we are getting close to the source. Where can i find the codes for seeing the ip adress on "Add new ban" and "Edit the ban" pages?
Title: Re: Banning without seeing the ip adresses
Post by: Matthew K. on January 16, 2011, 04:00:04 PM
Or, maybe you just didn't read my last post...check out the template for banning. If you can't find it, let me know and I'll pull the edits for you.
Quote from: PLAYBOY on January 16, 2011, 03:57:53 PM
I guess you didnt pay enough attention.

Guys this message is important

Quote from: PLAYBOY on January 15, 2011, 08:32:40 PM
Moderators already cant see the ip adresses on the profiles and the posts.
They can see the ip adresses only on the "Add new ban" and "Edit the ban" pages.


So im pretty sure display.template.php or profile.template.php is not the issue.

QuoteI would suggest looking at the template for adding a new ban.

I think we are getting close to the source. Where can i find the codes for seeing the ip adress on "Add new ban" and "Edit the ban" pages?
Title: Re: Banning without seeing the ip adresses
Post by: PLAYBOY on January 16, 2011, 11:31:28 PM
No i have read it but I dont even know what to look for in which template file?
Title: Re: Banning without seeing the ip adresses
Post by: TCGDesign on January 17, 2011, 12:49:49 AM
I am trying to look through my Profile.Template.php but cannot find...
it doesn't seem to be located in forum/themes/default...
Title: Re: Banning without seeing the ip adresses
Post by: Aleksi "Lex" Kilpinen on January 17, 2011, 03:24:59 AM
If you really really need to have a way to completely hide IPs from moderators, and still have them to be able to ban people - then perhaps 2.0 is your answer. Set up warnings so that your moderators can effectivily ban people by raising their warning level to a 100%.

This is actually how it is done on this site as well.
Title: Re: Banning without seeing the ip adresses
Post by: PLAYBOY on January 17, 2011, 05:56:53 AM
Thx for the advice but i cant upgrade it to 2.0 yet. It would take 3 days to adjust everything. I think about to wait until there is a stable version.
Title: Re: Banning without seeing the ip adresses
Post by: Matthew K. on January 17, 2011, 04:04:38 PM
2.0 RC4 is a lot better than 1.1.12 in my opinion, regardless of what it's named.