Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Hide the IP of Super Admins (now it hides it at the online list as well) Details »»
Hide the IP of Super Admins (now it hides it at the online list as well)
Version: 1.00, by borbole borbole is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.2 Rating:
Released: 02-23-2010 Last Update: 05-28-2010 Installs: 142
DB Changes Uses Plugins
Translations  
No support by the author.

This mod will hide the real Ip of the SuperAdmin in posts, in the MOD CP when searching for ip''s. After you install it, go to Settings-Options-Message Posting and Editing Options. And all the way to the bottom you will see 3 settings for the mod. You can enable and disable it, you can also enter a bogus ip for SuperAdmin which then will be displayed instead of the real ip. This is ideal for privacy. By default it affects those Super Admins whose userid is 1. If your userid is not 1 then enter at the third mod settings your own userid.

Things to consider 1: This mod it will hide the real ip of Superadmins for all the posts made before, present and all the time that the mod will be installed.

2: When you uninstall the mod, the past posts made from before, will still hide the ip of the superadmin. Whereas the posts made after the uninstall of the mod, will display the real ip of SuperAdmin normally.


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/vb/showt...f-Super-Admins

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 06-21-2011, 06:26 PM
tareqbd tareqbd is offline
 
Join Date: May 2011
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #73  
Old 08-19-2011, 03:47 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
  #74  
Old 01-25-2012, 01:38 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #75  
Old 04-28-2012, 09:21 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The paid version can be found at this link:

http://www.forumservices.eu/vb/showt...f-Super-Admins
  #76  
Old 08-14-2012, 09:18 PM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #77  
Old 08-15-2012, 11:38 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ideal Web Tech View Post
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.
  #78  
Old 08-16-2012, 10:46 AM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #79  
Old 06-25-2013, 04:52 AM
crouzmind's Avatar
crouzmind crouzmind is offline
 
Join Date: Feb 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the xml file ? its show me no file uploaded .
  #80  
Old 10-27-2013, 05:20 PM
shakir1401 shakir1401 is offline
 
Join Date: May 2013
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant see any file uploaded,so how to install this mod?
  #81  
Old 10-28-2013, 09:44 AM
afreddoss afreddoss is offline
 
Join Date: Oct 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the file oeo?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:03 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.04893 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete