Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Proxy Detector v3.1 - for Posts and WOL Details »»
Proxy Detector v3.1 - for Posts and WOL
Version: 1.00, by mtha mtha is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 02-07-2004 Last Update: 06-20-2004 Installs: 68
DB Changes
 
No support by the author.

############################################
# Hack Name: Proxy Detector v3.1
# Orgiginal hack by Takara and Stadler (for vB 2.0)
# Modified for vB 3.0.1 and Addon by HacNho
# Compatibility to vB 3.0.x
# Date: 06.20.04
############################################
# History:
# Version 3.1: (update 06.20.04)
# 1. Display ProxyIP in WhoIsOnline list (in UserAgent section)
#
# Version 3.0:
# 1. Compatibility to vB 3.0 RC4
# 2. Admin with "adminpermission" will see the "ProxyIP when overmouse if the IP is not shown
# 3. Proxy IP will be displayed with IP address in show IP page
#
# # Version 2.0 ...
# # Version 1.0 by Takara and Stadler (for vB 2.x)

###########################################
# Description: This is little hack detects via the Environmental Variable
# HTTP_X_FORWARDED_FOR if the user is using a proxy. Most proxys give out this
# variable. If it is it will display it out for you, and allow you to view the
# real IP of the person, and proxy IP when you click the link (in Post or Who'sOnline).
#
# Files Edited: 5 - includes/init.php
# - Files edited for proxyIP in posts: 2- includes/functions_newpost.php, postings.php
# - Files edited for proxyIP in WOL: 2- includes/sessions.php, online.php
# Templates Modified for proxyIP in posts: 2 - postbit_ip_show, postbit_ip_hidden
# Templates Modified for ProxyIP in WOL: 1 - whosonlinebit
# SQL Query to run: 2 (add proxyip in post and session table)
# Phrase to add: thread_displayproxyip

#
# Remember to backup your files and DB before making any changes!
############################################

INSTALL: HN-ProxyDetextor-301.txt (8.9 KB)

Upgrade from version 3.0 or only install ProxyDetector for WOL:
HN-ProxyDetextor-WOL.txt (11.5 KB) - Update 06.20.04

Upgrade from version for vB beta7 to version 3.0HN-ProxyDetextor-upgrade-b7-RC4.txt (3.5 KB)

SCREENSHOTS:
proxydetected.jpg (7.8 KB)
proxyip-WOL.gif (10.1 KB)



*NEW: version 3.1 will save and show proxyIP in Who is Online page.
In order to see proxy, you need to turn "UserAgent" on:
http://YourDomain/Yourforum/online.php?ua=1


Remember to click

Show Your Support

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

Comments
  #32  
Old 03-04-2004, 02:39 PM
M1th's Avatar
M1th M1th is offline
 
Join Date: Jul 2002
Location: UK
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant remember exactly when, but floris released something similar to this a couple of weeks ago.
Reply With Quote
  #33  
Old 03-05-2004, 06:13 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NexVision
can anyone help me not sure wut i did wrong i followed the reworded directions above and still nothing its not decoiphering the actual IP I have vb3 rc4
no one can help without information. How can I know what you did wrong, if you only say it doesnt work in your board?

btw, if proxy is not detected (and not all proxy is detected, only most of them are), it should look normal, as if nothing happened :P

Quote:
Cant remember exactly when, but floris released something similar to this a couple of weeks ago.
Are you refering to this one?
https://vborg.vbsupport.ru/showthread.php?t=59738


It's nice, but I dont know much about that ALT_IP function doing, and as I stated at the begining, the original hack for this one belongs to Takara and Stadler (HERE for vB 2.0)
Reply With Quote
  #34  
Old 03-05-2004, 06:19 AM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
no one can help without information. How can I know what you did wrong, if you only say it doesnt work in your board?

btw, if proxy is not detected (and not all proxy is detected, only most of them are), it should look normal, as if nothing happened :P
see thats just it i dont think i did wut would you need to see to tell
Reply With Quote
  #35  
Old 03-05-2004, 08:55 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NexVision
see thats just it i dont think i did wut would you need to see to tell
means you are having problems or not? is that a question?

things you can test:

- open post table (in phpMyAdmin, for example), and sort by proxyip, see if you have any IP in there
SELECT * FROM `post` WHERE 'proxyip' !='';

If there're some IPs in there, means you did record the proxy IPs. otherwise, it could either be none of the new posts posted under any ip or your proxy function doesnt work.

MAKE SURE that you did all the changes in the files correct.
- add any IP into some post that you can check, using phpMyAdmin, and see if it shows up in your testing post

good luck



it's hard to help, without information, you know. if you do everything correct, it should work properly.
Reply With Quote
  #36  
Old 03-05-2004, 09:29 PM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
means you are having problems or not? is that a question?

things you can test:

- open post table (in phpMyAdmin, for example), and sort by proxyip, see if you have any IP in there
SELECT * FROM `post` WHERE 'proxyip' !='';

If there're some IPs in there, means you did record the proxy IPs. otherwise, it could either be none of the new posts posted under any ip or your proxy function doesnt work.

MAKE SURE that you did all the changes in the files correct.
- add any IP into some post that you can check, using phpMyAdmin, and see if it shows up in your testing post

good luck



it's hard to help, without information, you know. if you do everything correct, it should work properly.
sorry for not being to much help I think I followed the directions exactly however I really know nothing about this stuff and im just learning this is wut I see i tried to run the query again and it tells me duplicate entry
Reply With Quote
  #37  
Old 03-05-2004, 09:38 PM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i did some more looking and it shows me a proxy ip for 2 users on the last page of the post table so i guess i ++++ed up on the templates somewhere
Reply With Quote
  #38  
Old 03-06-2004, 09:05 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NexVision
ok i did some more looking and it shows me a proxy ip for 2 users on the last page of the post table so i guess i ++++ed up on the templates somewhere
check that post id + thread ID to go with it. View that post, and click on IP, see if it call the new template.


also, check this part in postings.php

PHP Code:
// Begin proxyip hack - HacNho
if ($postinfo[proxyip] != ''
{
eval(
print_standard_error('thread_displayproxyip'10));
}
else 
{
eval(
print_standard_error('thread_displayip'10));
}
// End proxyip hack - HacNho 
and phrase thread_displayproxyip. Make sure the phrase property is correct
Reply With Quote
  #39  
Old 03-06-2004, 01:37 PM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I checked all those things now when I go to a post where the user is behing a proxy i get the following message pic 1

so I did a phrase search and got this pic 2
Reply With Quote
  #40  
Old 03-06-2004, 06:06 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NexVision
ok I checked all those things now when I go to a post where the user is behing a proxy i get the following message pic 1

so I did a phrase search and got this pic 2
Go to Search in Phrases, search for proxy
Make sure that the thread_displayproxyip is belong to
Front-End Error Messages Phrases catalogue

Otherwise, remove that phrase, and add again, under FRONT-END ERROR MESSAGES



bwt. is this your post?
https://vborg.vbsupport.ru/showpost....4&postcount=27

seems like you installed floris' ALT_IP hacks? remember, this one is different. I didnt play with the other one, so I dont know if there's any conflict.
Reply With Quote
  #41  
Old 03-06-2004, 06:16 PM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
Go to Search in Phrases, search for proxy
Make sure that the thread_displayproxyip is belong to
Front-End Error Messages Phrases catalogue

Otherwise, remove that phrase, and add again, under FRONT-END ERROR MESSAGES



bwt. is this your post?
https://vborg.vbsupport.ru/showpost....4&postcount=27

seems like you installed floris' ALT_IP hacks? remember, this one is different. I didnt play with the other one, so I dont know if there's any conflict.
yes that was my post and adding that to my front-end error message worked I didnt realize that the alt ip hack was installed my partner may have done it ill search for that hack and remove it thank you for all the help sorry im such a noob
Reply With Quote
Reply


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 07:17 AM.


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.06617 seconds
  • Memory Usage 2,325KB
  • 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_php
  • (8)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
  • (4)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