vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Track all Duplicate IP Addresses via Admin CP (https://vborg.vbsupport.ru/showthread.php?t=75416)

m0nde 07-28-2005 10:22 AM

Great hack :up:

- Sid

ZombieAndy 08-16-2005 12:56 AM

how would i give super mods permission to trace duplicate IP's aswell?

loftyasianz 08-16-2005 02:22 AM

i guess you could in the modcp.php file add in the construct for the new option but put a if statement in there something like <if condition="$bbuserinfo['usergroupid']==XX"> where XX is the smod usergroup id so only the smod can see it o.o

Jolten 08-16-2005 04:27 AM

Quote:

Originally Posted by YodaTheCoda
how would i give super mods permission to trace duplicate IP's aswell?

copy dupip.php to the modcp folder.

In the copy of dupip.php

find:
PHP Code:

if (!can_administer('canadminusers')) 

and change to:
PHP Code:

if (!can_moderate('canviewips')) 

in modcp/index.php

find:
PHP Code:

construct_nav_option($vbphrase['search_ip_addresses'], 'user.php?do=doips'); 

immediately ABOVE that line add:
PHP Code:

construct_nav_option("Dup Ips"'dupip.php''<br />'); 

This allows mods to see the duplicate IPS but ONLY if you allow the moderator usergroup to view them (via your usergroup settings in the admincp).

ZombieAndy 08-16-2005 05:56 PM

Quote:

Originally Posted by Jolten
copy dupip.php to the modcp folder.

In the copy of dupip.php

find:
PHP Code:

if (!can_administer('canadminusers')) 

and change to:
PHP Code:

if (!can_moderate('canviewips')) 

in modcp/index.php

find:
PHP Code:

construct_nav_option($vbphrase['search_ip_addresses'], 'user.php?do=doips'); 

immediately ABOVE that line add:
PHP Code:

construct_nav_option("Dup Ips"'dupip.php''<br />'); 

This allows mods to see the duplicate IPS but ONLY if you allow the moderator usergroup to view them (via your usergroup settings in the admincp).

thanks alot jolten its working now :)

NxTek 08-18-2005 05:06 PM

Very odd. My admincp/index.php contains the following -

construct_nav_option($vbphrase['add_new_user'], 'user.php?do=add', '|');
construct_nav_option($vbphrase['dup_ip'], 'dupip.php', '|');

But it doesn't show up. It goes from Add New User to Search for Users.

Jolten 08-20-2005 01:35 AM

Quote:

Originally Posted by NxTek
Very odd. My admincp/index.php contains the following -

construct_nav_option($vbphrase['add_new_user'], 'user.php?do=add', '|');
construct_nav_option($vbphrase['dup_ip'], 'dupip.php', '|');

But it doesn't show up. It goes from Add New User to Search for Users.


Add the phrases indicated in the install instructions.

PyroChixRock 09-20-2005 12:53 AM

thanks! this is a nice mod.

Telegon80 10-19-2005 02:42 AM

nice. is there a version for 3.5.0 already?

Jolten 10-19-2005 04:17 AM

Tamarian ported it for 3.5

https://vborg.vbsupport.ru/showthrea...=Duplicate+Ips


All times are GMT. The time now is 07:42 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.02134 seconds
  • Memory Usage 1,747KB
  • 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
  • (8)bbcode_php_printable
  • (3)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