Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Proxy to Real IP Conversion Details »»
Proxy to Real IP Conversion
Version: 4.2.0.1, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 01-01-2010 Last Update: 01-03-2015 Installs: 686
DB Changes Uses Plugins Auto-Templates
Code Changes Translations  
No support by the author.


--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

For vBulletin 4.2.x please use the built in reverse proxy detection.
--------------------------------------------------------------------------------


This hack makes the forum always use the members real ip if a proxy is detected, meaning that all existing ip functions should continue to work, basically ignoring the proxy server (other than recording it's presence).

For example ;

* The real ip is displayed in the who's online page.
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy server.
* The real ip is searchable in the admin/mod cp (but not the proxy ip).
* The real ip can be banned by admins.

Note: This hack relies on the proxy server passing the correct http variables to allow detection.
If they are not passed then detection will not work. By definition, annonymous proxies do not pass on these variables.


If a proxy is detected, then a red ip icon is displayed instead of the standard one.

To install, download and unzip the files and follow the instructions in the text file.

This modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.
If you forget these edits, the modification will continue to work for forum posts only (v4.0.4 +).



History:

v4.0.1 : 02-Jan-2010 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 04-Jan-2010 : Added check for invalid alt ip address.
v4.0.3 : 13-Jan-2010 : Minor change to cope better when people forget the class_core file edits.
v4.0.4 : 15-Jan-2010 : Further changes to process forum posts when people forget the class_core file edits.
v4.0.5 : 20-Feb-2010 : Internal update, not released.
v4.0.6 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.7 : 30-Oct-2010 : Style code updated to work when css stored as files.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.x

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.
v4.2.0.1 : 02-Jan-2015 : Updated for Cloudflare Changes.

Show Your Support

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

Comments
  #82  
Old 02-12-2011, 03:11 PM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone reading, Paul M's mods never have problems.
They are the cleanest mods on vb.org.

You just install and they work, end of.

Keep up the good work Paul, and get making some new mods.
Reply With Quote
  #83  
Old 02-12-2011, 08:17 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
This cannot "scramble" anything (whatever that even means).
Quote:
Originally Posted by Fready View Post
For anyone reading, Paul M's mods never have problems.
They are the cleanest mods on vb.org.

You just install and they work, end of.

Keep up the good work Paul, and get making some new mods.
It didn't on my forum.

Code:
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:1) in [path]/includes/functions.php on line 3808
It was definitely an issue with this modification because normal service was resumed the second I uninstalled it.

Shame, because it was a very useful mod for me on 3.8.
Reply With Quote
  #84  
Old 02-12-2011, 09:34 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
It was definitely an issue with this modification because normal service was resumed the second I uninstalled it.
Nope, its an issue with whatever you used to edit the file. Read posts #71, #72 and #74 (previous page).
Reply With Quote
  #85  
Old 02-13-2011, 11:45 AM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Nope, its an issue with whatever you used to edit the file. Read posts #71, #72 and #74 (previous page).
Noticed that - I used notepad.

I attempted a fresh install 3 times. Twice with notepad, once with phpeditor.

It seemed to conflict with something? If you check out my website you'll see I'm not a novice who can't perform one simple template edit. Fully customised and synced CMS....

Anyway - I've used your mods for a while and intend to use a few more of them. Keep up the good work.
Reply With Quote
  #86  
Old 02-13-2011, 01:00 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
It seemed to conflict with something?
Nothing is conflicting, you are corrupting the first line of class_core.php as your error clearly shows you.

Quote:
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:1) in [path]/includes/functions.php on line 3808
Reply With Quote
  #87  
Old 02-13-2011, 02:14 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I kind of wish Internet Brands would pay Paul M for this modification and make it standard in every release. I say kind of, because I'm sure they'd mess it up.
Reply With Quote
  #88  
Old 02-13-2011, 02:54 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DAMINK View Post
Registration denied, this forum runs an active policy of not allowing spammers. Please contact us via the "Contact Us" page link if you believe this is in error

Does this error relate to this plugin?
Seems no one can register to my forum now.
Even after uninstalling and deleting the mod??
Your error is from the vbStopForumSpam mod.
Reply With Quote
  #89  
Old 02-13-2011, 05:49 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Nothing is conflicting, you are corrupting the first line of class_core.php as your error clearly shows you.
That was one of several errors. Will dig rest up and post later.

[Edit] In fact, given the pedantic nature of your replies, I'd rather not waste any time. I'll leave that to someone else to work out what it conflicts with.
Reply With Quote
  #90  
Old 02-13-2011, 06:33 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
That was one of several errors. Will dig rest up and post later.

[Edit] In fact, given the pedantic nature of your replies, I'd rather not waste any time. I'll leave that to someone else to work out what it conflicts with.
Suit yourself. If you cant accept the facts when pointed out, your problem, not mine.
Reply With Quote
  #91  
Old 02-13-2011, 06:48 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Facts?

Well, this mod broke my forum. When I install it, the forum breaks. When I uninstall it, it works. It's that simple.

Untick 'Supported' and replace with "Arsy, pedantic & rather than try and get to the bottom of the issue, will actively place blame on anything other than mod";

Quote:
Originally Posted by Paul M View Post
You must have made a mistake in your edit.
Quote:
Originally Posted by bflop View Post
I just installed this on 4.0.3 and it doesn't seem to be working. Will an updated version be available? Thanks.
Quote:
Originally Posted by Paul M View Post
This works fine on 4.0.3 so no, an update wont be available.
Quote:
Originally Posted by SuperTaz View Post
Any word on this issue? ^^^
Quote:
Originally Posted by Paul M View Post
Only that its an issue with your editing of the file.
Quote:
Originally Posted by DAMINK View Post
Interesting.
Then i will have to say this does not work.
I did exactly as above and my forum errored.
I removed the extra curly bracket and it was back up?
Dunno. Uninstalled until more is known about this i guess.
Quote:
Originally Posted by Paul M View Post
If that were the case, this thread would be full of posts about a fault.

Im afraid I would say its down to a mistake being made by yourself.
Quote:
Originally Posted by Paul M View Post
The editor you are using is corrupting the file, you need to use a proper text editor (notepad would be fine).
Quote:
Originally Posted by Vikingant View Post
I am getting the same probems. I crashed when I first tried. I tried again and the ACP worked fine but the rest of the site although still essentially functioning was all over the place.

I guess I am just not meant to use this mod


Edit to add: We are changing the file /includes/class_core.php right? Just making sure there isnat another instance somewhere I should be looking for. I did see one under /mgc_cb_evo/classes/class_core.php. Might that be upsetting it?
Listen to feedback, stop being so defensive, consider for a moment it's not the ineptness of the person performing the simple file edit and get of the pedestal.x
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 04:43 PM.


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.06300 seconds
  • Memory Usage 2,326KB
  • 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_code
  • (18)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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