Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Delete IPs within a certain interval Details »»
Delete IPs within a certain interval
Version: 1.03, by Patria Patria is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.5 Rating:
Released: 02-01-2007 Last Update: 03-15-2008 Installs: 22
Additional Files  
No support by the author.

Description:

The script deletes the IP adresses within the following tables: adminlog, moderatorlog, post, threadrate, user. It doesnt remove the banned IPs (vBulletin Options, User Banning Options, Banned IP Addresses).

Installation:

1) Upload deleteip.php to /includes/cron

2) Login into your AdminCP

3) Go to Scheduled Tasks, Add New Scheduled Task

Varname: deleteip
Title: Delete IPs
Description: Delete IPs within a certain interval.
Log Phrase: Delete IPs

Set Interval.

Filename: ./includes/cron/deleteip.php
Product: vBulletin

Update Instructions:

Replace the file deleteip.php.

History:

Version 1.01: Cron Logging - log_cron_action() added.
Version 1.02: Speed Improvement - Significantly faster without the conditionals.
Version 1.03: Added conditionals again to decrease the database load.

Show Your Support

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

Comments
  #12  
Old 03-25-2007, 04:57 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome. do you have any idea how i can make this work for 3.5.4? i tried and i get errors
Reply With Quote
  #13  
Old 03-31-2007, 10:41 PM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by salata View Post
awesome. do you have any idea how i can make this work for 3.5.4? i tried and i get errors
What kind of errors?
Reply With Quote
  #14  
Old 04-01-2007, 02:39 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Patria View Post
What kind of errors?
thanks for responding. Its ok now, i wasnt able to get it to work. But i figured out how to delete them manually just by putting a query in, so i'll just stick with that. i didnt want to complicate things, as this was made for 3.6. great mod though!! i'll be using this for another board i am a admin at
Reply With Quote
  #15  
Old 04-08-2007, 01:21 PM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by salata View Post
thanks for responding. Its ok now, i wasnt able to get it to work. But i figured out how to delete them manually just by putting a query in, so i'll just stick with that. i didnt want to complicate things, as this was made for 3.6. great mod though!! i'll be using this for another board i am a admin at
Dont forget to press install (Mark as Installed).
Reply With Quote
  #16  
Old 04-22-2007, 12:49 PM
Masala4india Masala4india is offline
 
Join Date: Jun 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you please tell the manual way to delete the IP addresses coz i want to see how many IP's are stored.
Reply With Quote
  #17  
Old 04-25-2007, 06:10 PM
Sparticus_V2 Sparticus_V2 is offline
 
Join Date: Jan 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is a question, I used this to delete the logs off all the proxy servers that had been used... But just to save time i deleted all intervals, and i figured the true IPs should start showing up as the members logged in... But now no IPs store in the user info section and I want them to, I deleted the Cron, what else must i do? I NEED TO KNOW THE IPs!!
Reply With Quote
  #18  
Old 04-26-2007, 06:54 PM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Masala4india
Could you please tell the manual way to delete the IP addresses coz i want to see how many IP's are stored.
Execute the following lines via PhpMyAdmin for example.

PHP Code:
UPDATE adminlog SET ipaddress ''
UPDATE moderatorlog SET ipaddress ''
UPDATE post SET ipaddress ''
UPDATE threadrate SET ipaddress ''
UPDATE user SET ipaddress '' 
Quote:
Originally Posted by Sparticus_V2
here is a question, I used this to delete the logs off all the proxy servers that had been used... But just to save time i deleted all intervals, and i figured the true IPs should start showing up as the members logged in... But now no IPs store in the user info section and I want them to, I deleted the Cron, what else must i do? I NEED TO KNOW THE IPs!!
If you want to delete the IPs except the IPs in the user info section you should remove the following line:

PHP Code:
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "user SET ipaddress = ''"); 
from the deleteip.php.
Reply With Quote
  #19  
Old 04-26-2007, 08:25 PM
Sparticus_V2 Sparticus_V2 is offline
 
Join Date: Jan 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if i have already run it, and the IPs are no longer comming back, what can i do to have the IPs start being collected agin in the Database?
Reply With Quote
  #20  
Old 04-27-2007, 04:28 AM
Patria Patria is offline
 
Join Date: Apr 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sparticus_V2 View Post
if i have already run it, and the IPs are no longer comming back, what can i do to have the IPs start being collected agin in the Database?
You dont need to do something because vB logs the IPs. The plugin only remove the IPs within the specified interval. If you want get the IPs from the User Info dialog back you need to restore you database backup (in detail it would be enough to restore the user table).
Reply With Quote
  #21  
Old 04-27-2007, 03:35 PM
accessdeniedzzz accessdeniedzzz is offline
 
Join Date: Feb 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnaks,
we still need sush addons for users privacity
Reply With Quote
Reply

Thread Tools

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 08:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04828 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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