vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Use real ip when proxy server is detected. (https://vborg.vbsupport.ru/showthread.php?t=95198)

Paul M 11-13-2005 11:59 PM

Actually they work fine together apart from the display aspects in the postbit, if you install this hack, and then disable the product, it will still to the proxy > ip conversion, and use/record the real address, what it won't do is store/use the proxy address.

In fact, I *think* that if you have the latest version of this hack installed and fully active, if you then just manually disable the Proxy to Real IP (2) plugin, they should co-exist nicely.

dieselpowered 11-14-2005 12:18 AM

I assume to upgrade you just import product and allow overwrite?

Paul M 11-14-2005 12:20 AM

Quote:

Originally Posted by xtremeoff-road
I assume to upgrade you just import product and allow overwrite?

Yes. Only the product has changed, not the file edits.

dieselpowered 11-14-2005 12:32 AM

Quote:

Originally Posted by Paul M
Yes. Only the product has changed, not the file edits.

That is what I thought, but just wanted to make sure :)

Thanks as always Paul!!

biggjoe 11-14-2005 01:52 AM

Paul;

Thanks for the tip. Yes, as I outlined in my post, they both can co-exist...it's just the UI side that's not totally compatible. However, I'm glad that all I have to do is just disable the 'Proxy to Real IP (2) plugin' instead of the entire hack...which is pretty cool.

Any word on a future update that fixes the UI issue?

Thanks again for the hack!

J.

Quote:

Actually they work fine together apart from the display aspects in the postbit, if you install this hack, and then disable the product, it will still to the proxy > ip conversion, and use/record the real address, what it won't do is store/use the proxy address.

In fact, I *think* that if you have the latest version of this hack installed and fully active, if you then just manually disable the Proxy to Real IP (2) plugin, they should co-exist nicely.

dieselpowered 11-14-2005 02:28 AM

Sorry, I think I have turned a bit stupid now...

Do I need to uninstall the old one before importing the new or is the system intelligent enough to over write the old?

Thanks!

Paul M 11-14-2005 03:31 AM

Do exactly as you asked before ;

Quote:

Originally Posted by xtremeoff-road
I assume to upgrade you just import product and allow overwrite?


Paul M 11-14-2005 03:34 AM

Quote:

Originally Posted by biggjoe
Any word on a future update that fixes the UI issue?

Not really, it's not that important, it's only the displaying of the red image that you lose, all the functionality is there, the same url is still called when you click it.

If you really want you could edit the ipinfo link into the postbit_proxyip template and turn Plugin 2 back on.

dieselpowered 11-14-2005 02:19 PM

Thanks Paul...not sure why I always doubt myself when I know the answer. Guess I was thinking that it would then create two plugins if I did not uninstall the previous.

Thanks again sir!

aciurczak 11-14-2005 05:21 PM

Uninstalled. Got a few database errors this morning with a link to class_core.php; a day after I modded class_core.php for this hack.

Quote:

Database error in vBulletin :


mysql_connect(): Lost connection to MySQL server during query
/xxx/xxx/xxx/forums/includes/class_core.php on line 273


MySQL Error :
Error Number :
Date : Monday, November 14th 2005 @ 01:56:22 PM
Script : http://www.xxxxxx.com/forums/forumdisplay.php?f=5
Referrer : http://www.xxxxxxx.com/forums/index.php
IP Address : 24.4.xxx.xxx
Username :
Classname : vb_database


All times are GMT. The time now is 07:36 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.01156 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete