View Single Post
  #237  
Old 01-26-2007, 10:48 PM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Every post has an IP address associated with it and stored in the post table in the database. The field is labelled ipaddress. Without this hack that IP address could be a proxy IP which could not be used to ban someone because it's not their real IP address.

If you have Admin rights to your forum you can see a blue PC icon in the postbit area of every post near the triangle icon used to report the post. Hovering the mouse over the icon will reveal the IP address. Without the hack installed this IP address could be a real address or a proxy IP address.

After the hack is installed, a post using a proxy IP address will show a reddish icon instead of the blue one. The IP address that appears when the mouse hovers over it is the real IP address - not the proxy IP address. The real IP address should be used when banning the IP address of an unwanted user like a spammer.

To check if anyone has posted with a proxy IP address you can run this query:

SELECT `post`.`proxyip` , `post`.`postid`
FROM post
ORDER BY `post`.`proxyip` DESC

If you have admin rights the query can be run from the admin cp.

Import & Maintenance -> Execute SQL Query

In the edit box of the manual query section paste the above query and click Continue. If some of your members have posted using a proxy IP you should get some results like:

proxyip .................postid
85.158.137.195 ....122709
85.158.137.195 ....127575
85.12.72.2 ..........118743
85.12.72.2 ..........118744
85.12.72.2 ..........118745
85.12.72.2 ..........119307
85.12.72.2 ..........121896
85.12.72.2 ..........121898
85.12.72.2 ..........122090

Use any postid to find that post and it should display a reddish PC icon in the postbit area. That confirms the hack is working properly. This hack has been very helpful to ban spammers and other unwanted posters from my forum.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01163 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete