| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  Proxy Detector 
			
			NOTE: I didnt have the patience to wait a day for someone else to do it, lol. So i did it myself https://vborg.vbsupport.ru/showthrea...threadid=38358 The basis for this hack is that when mods/admins click on the link to see the persons IP (assuming they have IPs logged, but only viewable to mods/admins) it will tell them if the person is using a proxy, and if they are it will tell you the real IP of the person. How? Well as some of you may know, most proxys send out an additional header $HTTP_X_FORWARDED_FOR . This gives the real IP of the person. For example, right now I am using rogers default user proxy, my environmental variables would read: $REMOTE_ADDR 66.185.84.198 $HTTP_X_FORWARDED_FOR 24.100.4.29 So, when posting, the php would do something like Code: if ($HTTP_X_FORWARDED_FOR) { 
//insert into sql table etc
}Anyone want to help me with this? I can do the php, but I dont know what vb scripts to edit (or you can just do it all yourself  ) Thanks ^_^ :bunny: (kawaii bunny, hehe) | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			to add to that,  proxy detecter that checks their real IP and if that IP is banned bans them i have alot of lamers that i IP ban and they come back with a proxy to cause trouble | 
| 
			 
			#3  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			If anyone could get me started on what files I would start to look at for this I can do it myself ^^
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			sweet idea ..I would love that feature!!
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			so would i
		 | 
| 
			 
			#6  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			how can i test this on my page? i would like to test a proxy, but not sure how i would do that using ssi, or php
		 | 
| 
			 
			#7  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Eurgh, if anyone is willing to give me a hand, point out where I have to do each thing, or just some general guidance please PM me.
		 | 
| 
			 
			#8  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			This would be good- maybe not ban them, but have a little icon next to their name in the postbit that shows it's a proxy.. (some people use proxys to surf the web when at work- bypasses stupid filters) | 
| 
			 
			#9  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Uh huh Heretic, thats what I was thinking
		 | 
| 
			 
			#10  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			k, so you need something that referes to the IP every time.  the only issue that gets me is how to use the header information, i.e. HTTP_X_FORWARDED_FOR | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |