vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Proxy ip to real ip conversion (https://vborg.vbsupport.ru/showthread.php?t=69295)

Zephyrus 09-15-2005 09:48 AM

Well, theres something I want to enquire about. The older posts, before I installed the proxy to real ip hack, is there anyway to make them detect the proxy and change it into the real ip? Because I've gotten the hack to work, and it detects perfectly, but only new posts after the installation were detected, older posts will still show the proxies.

Paul M 09-15-2005 04:41 PM

Quote:

Originally Posted by ZephNeo
Well, theres something I want to enquire about. The older posts, before I installed the proxy to real ip hack, is there anyway to make them detect the proxy and change it into the real ip? Because I've gotten the hack to work, and it detects perfectly, but only new posts after the installation were detected, older posts will still show the proxies.

No, the ip can only be detected at the time, not after the event.

bhxtyrant 09-27-2005 01:39 PM

Hey guys,I am majorly interested in this hack as i have had problems with spammers using the proxy trick to bypass bans.Can anyone confirm that this hack will work with vB 3.0.7? thanks alot :)

Abe1 09-27-2005 02:01 PM

Quote:

Originally Posted by bhxtyrant
Hey guys,I am majorly interested in this hack as i have had problems with spammers using the proxy trick to bypass bans.Can anyone confirm that this hack will work with vB 3.0.7? thanks alot :)

I used it and it worked.

bhxtyrant 09-30-2005 11:07 AM

Thanks for the reply.I have one question.I am about to install this mod on my forums but when reading the instructions it's fairly vague so just wanted to make sure of something.

Quote:

Step 1.

Run the following SQL code;

ALTER TABLE post ADD proxyip VARCHAR(50) not null AFTER ipaddress;

(Note: if you use table prefixes then remember to change "post" to the correct table name).


Step 2.

Add the following phrase "thread_displayproxyip" (as a Front End Error Phrase, not a Global Phrase) ;

Real IP Address : $postinfo[ipaddress]<br>
$postinfo[hostaddress]<br>
Proxy Server IP Address : $postinfo[proxyip]<br>
$postinfo[proxyhost]
Step 2 is also something i have to add to MYSQL?or is it something i have to add to one of vB's templates?I've used PHPmyadmin pleanty of times but i'm not 100% fluent with it.so just don't want to make any mistakes :)

MickDoneDee 09-30-2005 01:34 PM

Quote:

Originally Posted by bhxtyrant
Step 2 is also something i have to add to MYSQL?or is it something i have to add to one of vB's templates?I've used PHPmyadmin pleanty of times but i'm not 100% fluent with it.so just don't want to make any mistakes :)

Go to your Phrase Manager in the Admin contol panel. In the Phrase Manager select Phrase Type: Front-End Redirect Messages. Click Add New Phrase.
Paste thread_displayproxyip in the Varname text box.

Paste:

Real IP Address : $postinfo[ipaddress]<br>
$postinfo[hostaddress]<br>
Proxy Server IP Address : $postinfo[proxyip]<br>
$postinfo[proxyhost]

in the Text text box. Click Save.

bhxtyrant 09-30-2005 01:48 PM

Ah ok,thanks alot for the explanation MickDoneDee :)

osariase 09-30-2005 03:21 PM

ok I have a problem serious one nobody can open or respond to a thread on the site everytime u click on post or reply u get this error message below:

Parse error: parse error, unexpected $ in /home/naijawor/public_html/includes/functions_newpost.php on line 1268

can someone please help thanks

Paul M 09-30-2005 03:27 PM

You have made a mistake in either step 4 or step 5.

Start with an unhacked copy of functions_newpost and redo those steps.

osariase 09-30-2005 03:39 PM

that was quick response thanks man i'm checking that now I will let you know please stand by, I appreciate it


All times are GMT. The time now is 10:07 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.02510 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
  • (4)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