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)

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 12:47 PM.

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.01078 seconds
  • Memory Usage 1,757KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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