vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=231873)

Paul M 02-13-2011 07:40 PM

Quote:

Originally Posted by Bacon Butty (Post 2162257)
Facts?

Yes, Facts.

Quote:

Originally Posted by Bacon Butty (Post 2162257)
stop being so defensive

People (including you) screw up the edit, mostly its not their fault, its their editor thats at fault. Most people accept this, fix it, and all is ok. You decide to be argumentative and try to make out its the fault of the mod. If pointing out you are wrong is being "defensive" then so be it.

Quote:

Originally Posted by Bacon Butty (Post 2162257)
consider for a moment it's not the ineptness of the person performing the simple file edit and get of the pedestal

I dont need to consider it, after 6+ years I know the reason is a bad edit. It isnt the mod, if it were id know [and fix it] - the FACT is that if you do it all correctly, it works every time. Simple as that. Hell, it'll even work for posts [only] without the edit. I suggest you stop making foolish claims.

onehost 02-13-2011 11:17 PM

I have been having the same class core errors everyone else is having.
I have tried 3 different editors with zero success. looks nice if it worked,
but I just do not have time to nurse this by having to look for a special editor....

Paul M 02-13-2011 11:34 PM

Quote:

Originally Posted by onehost (Post 2162336)
I have been having the same class core errors everyone else is having.
I have tried 3 different editors with zero success. looks nice if it worked,
but I just do not have time to nurse this by having to look for a special editor....

Im starting to get somewhat tired of people making false posts, so Im just going to remove them in future.

For the last time, it works fine and "everyone else" is not having an issue, just those who use an editor that breaks the file (something that seems to be more common in recent times, no doubt due to more modern text editors adding the BOM by default). If you dont want to spend time finding one that works then thats fine, your choice, but dont go making false accusations about other peoples work.

onehost 02-14-2011 12:06 AM

Quote:

Originally Posted by Paul M (Post 2162342)
Im starting to get somewhat tired of people making false posts, so Im just going to remove them in future.

For the last time, it works fine and "everyone else" is not having an issue, just those who use an editor that breaks the file (something that seems to be more common in recent times, no doubt due to more modern text editors adding the BOM by default). If you dont want to spend time finding one that works then thats fine, your choice, but dont go making false accusations about other peoples work.

I guess you can take it how you like. There is nothing false about what I
said, and at no point did I ever accuse your mod being the problem. I explained
how I tried to solve the issue by using 3 editors, did not work...I am not
blaming your mod, and i actually understand what you are saying about
how the error is produced by saving the file, and the save produced not
so desirable results...but my attempts to cure the problem by using 3
different editors have failed, and I have to move on...

and to be honest, I would just rather ban the proxies, then convert them...
other then from govt/school/work, etc...the only legit reason for a proxy is to hide...
or to bypass so that you can hide yourself either way....I just can not think of any
legit reasons why proxies should even exist...

I have two members on my forum that seem to appear on the forum at almost the
same time together...and guess why, they hide behind proxies, why? I know for
a fact that one of them is a spammer...he is scared to post because he knows
I will kick him off...I am still not so sure why he even hangs around....those
two members do not contribute anything to the forum at all....but they
keep logging on and doing nothing....There is mostly one reason for a
proxy, and most of the time it does not turn out to be a very good reason.

once again, i am not blaming your mod....

OldSchoolDSL 02-14-2011 12:20 AM

I personally use NotePad++ (its freeware and small) to edit any and all my PHP files.
http://notepad-plus-plus.org

I would think that if you still have a problem with this modification AFTER using NotePad++ ... Either you copy & pasted the code incorrectly or there is an outside conflict with something you already have installed.

Paul M's modification seems to work with the majority of those who apply it and as suggested... It could be your editor.

Try using NotePad++ to not only edit the file, but to copy & past from the directions.

onehost 02-14-2011 12:39 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2162367)
I personally use NotePad++ (its freeware and small) to edit any and all my PHP files.
http://notepad-plus-plus.org

I would think that if you still have a problem with this modification AFTER using NotePad++ ... Either you copy & pasted the code incorrectly or there is an outside conflict with something you already have installed.

Paul M's modification seems to work with the majority of those who apply it and as suggested... It could be your editor.

Try using NotePad++ to not only edit the file, but to copy & past from the directions.

Thanks

Ill give it a whirl when I have more free time.

Bacon Butty 02-14-2011 03:57 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2162367)
I personally use NotePad++ (its freeware and small) to edit any and all my PHP files.
http://notepad-plus-plus.org

I would think that if you still have a problem with this modification AFTER using NotePad++ ... Either you copy & pasted the code incorrectly or there is an outside conflict with something you already have installed.

Paul M's modification seems to work with the majority of those who apply it and as suggested... It could be your editor.

Try using NotePad++ to not only edit the file, but to copy & past from the directions.

Thanks mate - I use NotePad myself. It's a very simple edit, one I repeated numerous times on a fresh file with two different editors (notepad and phpeditor) to check I wasn't losing the plot. It didn't work & it wasn't the edit or the editor. Odd. But thanks for the suggestion, it may come in handy for someone.

OldSchoolDSL 03-05-2011 07:47 PM

For those of us who do simply copy & paste code... I did notice a small type error (if you want to call it that).

For example

PHP Code:



Should not end with a space at the end of it.

If you are simply coping and pasting, please be sure to remove the little space (think I found 2) at the end of the code.

I'm not sure if I've done a good example of explaining this.

I think Paul M has done a wonderful job at developing this modification.

Tested and working

4.1.2

Paul M 03-05-2011 09:41 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2169933)
Should not end with a space at the end of it.

Why ?

Quote:

Originally Posted by OldSchoolDSL (Post 2169933)
If you are simply coping and pasting, please be sure to remove the little space (think I found 2) at the end of the code.

There really is no reason to do this - PHP doesnt care about spaces (or tabs). :)

OldSchoolDSL 03-05-2011 10:57 PM

Quote:

Originally Posted by Paul M (Post 2169963)
Why ?



There really is no reason to do this - PHP doesnt care about spaces (or tabs). :)

That has not been my own experience. But I could be explaining it wrong.


All times are GMT. The time now is 11:46 AM.

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.01327 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_php_printable
  • (10)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