vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Hide the IP of Super Admins (now it hides it at the online list as well) (https://vborg.vbsupport.ru/showthread.php?t=236785)

borbole 03-14-2010 03:10 PM

You are welcome :)

borbole 03-23-2010 01:13 PM

Quote:

Originally Posted by capy (Post 2003210)
I can still see my IP.. running 4.0.2 PL1. I am user id 1. u have enabled the program in Settings-Options-Message Posting and Editing Options.

Can I see a screenshot of the mod setting in your acp?

capy 03-24-2010 07:01 PM

sure.
http://fpv.no/bilder/1.png
http://fpv.no/bilder/2.png
http://fpv.no/bilder/3.png

New Joe 03-25-2010 03:13 AM

Quote:

Originally Posted by borbole (Post 1990989)

Remove the following line at the mod''s xml file and test it at a test forum and see if that works. As I don''t use vb 3.8X and please let me know how it will go.

Code:

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />

Yep worked fine, thanks

New Joe 03-25-2010 03:42 AM

One BIg thing I noticed is that, yes it hides the ip of all your posts But when you click on 'Who's on line' your (the Super Admin) ip is still shown, it's not hidden, maybe something you could try to change.

borbole 03-25-2010 03:27 PM

Quote:

Originally Posted by New Joe (Post 2009808)
One BIg thing I noticed is that, yes it hides the ip of all your posts But when you click on 'Who's on line' your (the Super Admin) ip is still shown, it's not hidden, maybe something you could try to change.

That was meant to hide it from being logged when posting only.

Thank you for letting me know that it works with the 3x

New Joe 03-26-2010 04:36 AM

So do you think it could hide the ip on the 'who's on line' borbole?
That would make this a super super Mod if it could.

borbole 03-26-2010 08:09 AM

Quote:

Originally Posted by New Joe (Post 2010380)
So do you think it could hide the ip on the 'who's on line' borbole?
That would make this a super super Mod if it could.

I think that exeeds the funcionality of this mod and it would be best to require it as a separate mod. It shouldn''t be too hard to do it. Hopefully someone will create it for you.

Datok 04-26-2010 02:36 AM

Thank you...

Used it on 3.8.5...

borbole 04-26-2010 01:03 PM

You are welcome.

borbole 05-12-2010 12:48 PM

The 3x version is released here:

https://vborg.vbsupport.ru/showthread.php?t=242356

fluidswork 05-13-2010 04:53 PM

Great...............

Arae 05-25-2010 01:25 PM

Can I change the IP of other members??

Example, 3 Admins? I want to hide all their IP's.

Boofo 05-25-2010 01:31 PM

borbole, when you run the query, why not check if the user is the superadmin before running the query so it doesn't run every time?

borbole 05-29-2010 12:26 AM

Quote:

Originally Posted by Arae (Post 2043163)
Can I change the IP of other members??

Example, 3 Admins? I want to hide all their IP's.

No, this is only for the Super Admin.

Quote:

Originally Posted by Boofo (Post 2043166)
borbole, when you run the query, why not check if the user is the superadmin before running the query so it doesn't run every time?

Thank you for the reminder Boofo :) Now the mod is updated.

FReeSTER 06-03-2010 03:02 AM

is not working at all in my page

chanvl 06-03-2010 01:37 PM

Still show IP at who is online :-s

borbole 06-03-2010 01:41 PM

Quote:

Originally Posted by El Intocable (Post 2047422)
is not working at all in my page

Did you enable it and enetered the settings properly? Can I see a screenshot of the mod''s settings at your Acp?

Quote:

Originally Posted by chanvl (Post 2047647)
Still show IP at who is online :-s

That has nothing to do with my mod. Please read the description of the mod at the very first post.

DeadRabbit 08-10-2010 03:39 AM

Is there anyway we could edit the xml to change it to admins id not superadm?

borbole 08-10-2010 11:21 AM

Quote:

Originally Posted by DeadRabbit (Post 2081594)
Is there anyway we could edit the xml to change it to admins id not superadm?

That is for a single user only and not for a whole group. Where it says Enter here the id of super admin, replace 1 with the id of whomever you want to change the ipaddress.

promet 08-10-2010 05:11 PM

works on 4.0.5 installed and confirmed.

thanks mate.

The Executioner 08-30-2010 01:49 PM

Maybe I missed it somewhere in this thread....but can ya add more then one IP to the list...
I.E..1,5,2444??

I know you mentioned only SuperAdmins...but I have 3 Supers listed in the config file.

Also..I have this installed...works great...and instead of a fake IP..I used the words..."++++ Off"..lol

borbole 08-30-2010 02:50 PM

Quote:

Originally Posted by promet (Post 2081804)
works on 4.0.5 installed and confirmed.

thanks mate.

You are welcome.

Quote:

Originally Posted by The Executioner (Post 2091564)
Maybe I missed it somewhere in this thread....but can ya add more then one IP to the list...
I.E..1,5,2444??

I know you mentioned only SuperAdmins...but I have 3 Supers listed in the config file.


Also..I have this installed...works great...and instead of a fake IP..I used the words..."++++ Off"..lol

If I will get some more free time later on I will look into it.

whitedd 09-09-2010 11:22 PM

is it posible to make this mod to working with 4 superadmins.
...i hope so that many forums have more than one superadmin...

whitedd 09-11-2010 09:30 PM

yes or not?!

borbole 09-12-2010 01:26 PM

Quote:

Originally Posted by whitedd (Post 2096007)
is it posible to make this mod to working with 4 superadmins.
...i hope so that many forums have more than one superadmin...

Atm not. But use my other mod to hide the ip of the admin group and/or any other group.

https://vborg.vbsupport.ru/showthread.php?t=250258

aspen1018 09-14-2010 01:46 PM

Great idea; however to me it seems worthless because you just have to go to "who's Online" to see the IP

or am I missing something here

BadgerDog 11-05-2010 03:22 PM

Quote:

Originally Posted by borbole (Post 2091599)

If I will get some more free time later on I will look into it.

If you had some time to permit this to be turned ON for multiple user ID's, that would be great for us. :up:

Thank you ... :)

Regards,
Badger

borbole 12-25-2010 11:02 AM

After a request from a customer of mine I expanded it to hide the ip of Super Admin at the online list as well. The expanded version can be found at my forum but it is paid:

http://www.forumservices.eu/showthre...he-online-list

borbole 04-13-2011 01:31 PM

Quote:

Originally Posted by madkidz (Post 2184043)
Can I add more than one super admin with this hack, or is it only one id that can be hiden?

As it is now it hides only one id but it would be a small change to add multiple id's.

tareqbd 06-21-2011 06:26 PM

Not works with vbulletin 4.1.3! :( is there any sollution.

OK, It's working. I have 3 admins in forum. I want to hide all 3 admins ip from moderators. Can I! please help.

James T Brock 08-19-2011 03:47 PM

This mod and the 3.8 version both add one additional query for EVERY post you have on a page. So if you normally have 15 queries per thread view and your forum is set to show 30 posts per page then when you view a page you will see that 45 queries are ran each time!! One query per posts in-order to change the IP if it matches the IP set in the admin panel.

You can check and confirm this yourself by going into your config.php file and turning debug mode on and then viewing a thread.

To fix this the query should ONLY be run after the superadmin writes a post and not for every single thread view. Is that possible?

FReeSTER 01-25-2012 01:38 AM

How can I change this to work with 2 super admins?
this will be great if it let you hide the userids you want to hide

borbole 04-28-2012 09:21 PM

The paid version can be found at this link:

http://www.forumservices.eu/vb/showt...f-Super-Admins

Ideal Web Tech 08-14-2012 09:18 PM

Just to let everybody including the author know, this addon is extremely bad to use due to how its coded. It executes 1 query per post shown on the showthread page and the query is the exact same query with not a single alteration. Which if you want to use the query method like you are it can be done using only one query if you use a different hook since, as using the query on showthread_start would still yield the same results but using 1 query for the whole page. This query also only touches the post table, when the IP also gets saved into the user table on login for use in the admincp/modcp. This addon as it stands could be improved significantly by just fixing the fact it uses 1 query per post shown if nothing else. I mean think about it if you show 50 posts per page that would mean that same query gets run 50 times for each thread loaded that has reached the posts per page limit. Also with the hooks thats currently used the same problem exists on private messages which don't even show IP's. Also this query also run's even when there isn't a single post from the user who's IP is being hid. Honestly if you are going to use the query method it would make the most sense to overload and save a bogus IP at post creation time. This would prevent the need to waste 1 query per thread view, decreasing the total queries ran overall to hide the IP's. I believe it should be possible to overload the IP and save the bogus one without even requiring a query if done at post save time. The only issue with this is it wouldn't effect posts made before the addon was installed.

Also so you know IP's are viewable from posts, visitor messages, blogs, whos online, group discussions, admincp user editor, and modcp user editor, as well as the Search IP Address's tool (located in the admincp/modcp, also there is no hook in this tool so the only way to hide IP's there is a file edit, or else running a query to clear out the IP in the user table). Which basically means this addon doesn't even hide every IP so anybody who really cares to get your IP can get it pretty easily if you have ever posted a visitor message or participated in a group discussion. If the user who's IP is being hidden isn't a staff member it is then also possible to get their IP from the Search IP Address's tool as well (vbulletin only stores IP's in the user table for non staff members).

We have a private addon that hides IP's for selected users from every single page vBulletin has that can show an IP (besides the Search IP Address's tool as mentioned above), and it does this without using a single query, but leaves the IP's intact in the database in case you ever actually need them. So it is possible to accomplish hiding staff IP's without using a single query with almost no processing power being used.

I would imagine that IP's are also visible from the CMS article entries, but we don't use the CMS on any of our company sites to check quickly to verify for a fact that they are shown there as well.

- Brian

borbole 08-15-2012 11:38 AM

Quote:

Originally Posted by Ideal Web Tech (Post 2356986)
Just to let everybody including the author know, this addon is extremely bad to use due to how its coded. It executes 1 query per post shown on the showthread page and the query is the exact same query with not a single alteration. Which if you want to use the query method like you are it can be done using only one query if you use a different hook since, as using the query on showthread_start would still yield the same results but using 1 query for the whole page. This query also only touches the post table, when the IP also gets saved into the user table on login for use in the admincp/modcp. This addon as it stands could be improved significantly by just fixing the fact it uses 1 query per post shown if nothing else. I mean think about it if you show 50 posts per page that would mean that same query gets run 50 times for each thread loaded that has reached the posts per page limit. Also with the hooks thats currently used the same problem exists on private messages which don't even show IP's. Also this query also run's even when there isn't a single post from the user who's IP is being hid. Honestly if you are going to use the query method it would make the most sense to overload and save a bogus IP at post creation time. This would prevent the need to waste 1 query per thread view, decreasing the total queries ran overall to hide the IP's. I believe it should be possible to overload the IP and save the bogus one without even requiring a query if done at post save time. The only issue with this is it wouldn't effect posts made before the addon was installed.

Also so you know IP's are viewable from posts, visitor messages, blogs, whos online, group discussions, admincp user editor, and modcp user editor, as well as the Search IP Address's tool (located in the admincp/modcp, also there is no hook in this tool so the only way to hide IP's there is a file edit, or else running a query to clear out the IP in the user table). Which basically means this addon doesn't even hide every IP so anybody who really cares to get your IP can get it pretty easily if you have ever posted a visitor message or participated in a group discussion. If the user who's IP is being hidden isn't a staff member it is then also possible to get their IP from the Search IP Address's tool as well (vbulletin only stores IP's in the user table for non staff members).

We have a private addon that hides IP's for selected users from every single page vBulletin has that can show an IP (besides the Search IP Address's tool as mentioned above), and it does this without using a single query, but leaves the IP's intact in the database in case you ever actually need them. So it is possible to accomplish hiding staff IP's without using a single query with almost no processing power being used.

I would imagine that IP's are also visible from the CMS article entries, but we don't use the CMS on any of our company sites to check quickly to verify for a fact that they are shown there as well.

- Brian


Thanks for your dramatic novel.

This is in the free version which is not supported. The premium version does not add any queries at all in the showthread page and it hides the ip everywhere.

Ideal Web Tech 08-16-2012 10:46 AM

It doesn't matter that this is a free version there is no excuse for running the exact same query for each post shown in the thread, so basically you stated you are intentionally leaving the code in an extremely bad state to try and force people to buy the pro version to get something that won't trash their server with an insane amount of queries.

Plus your pro version only mentions online list, posts and mod cp, meaning that it does not infact hide IP's everywhere, or else your post for the pro version is outdated.

crouzmind 06-25-2013 04:52 AM

where is the xml file ? its show me no file uploaded .

shakir1401 10-27-2013 05:20 PM

i cant see any file uploaded,so how to install this mod?

afreddoss 10-28-2013 09:44 AM

where is the file oeo?


All times are GMT. The time now is 03:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02328 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete