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)

MrsTryst 03-06-2011 03:52 PM

hello,
first of all GREAT mod.
But when i change the class_core.php my DragonByte-Tech shoutbox get messed up.. would appreciate the help.

Thanks

Paul M 03-06-2011 07:12 PM

I think you need to ask DragonByte about that - I dont see how the two could be related, but I dont have it.

australiaforum 03-09-2011 04:37 AM

I had the same problem as with a couple of other people with the funny characters in the file, when using notepad. Using notepad++ everything worked as documented.

Sarteck 05-22-2011 09:37 PM

Paul,

I recently uninstalled this product from my forum, just because I was doing a cleanup of old modifications we don't use anymore. Afterwards, I was getting a database error whenever someone was trying to create a post. The database error said that it had Invalid SQL: "Unknown column 'proxyip' in 'field list'".

Looking through your uninstall code, I do see that there is code to drop this field from the database:
$db_alter->drop_field('proxyip')

However, I would think that dropping the field would be okay, wouldn't it? Do I have something else still trying to insert data into the now-non-existing proxyip field? It's not a vB default field, is it?

For now, as a quick fix, I've just re-added the field to the post table, and everything is back to working as normal. Would like to hear from you, though, if there's something I did wrong, and something I have to fix. X3

Thanks.

Paul M 05-22-2011 10:12 PM

That would suggest you still have a plugin related to this installed (an old version ?).

Sarteck 05-22-2011 11:24 PM

That's what I was thinking, too, but doing a search in my plugins (WHERE phpcode LIKE "%proxyip%") yielded nothing. All my default files were over-written with my recent upgrade to 4.1.3, too, so I know it's not edits to any vB original files... So I guess all that's left is other files that might be "included" by some plugin?

a quick grep -rl "proxyip" * in my web root doesn't reveal any answers, though. :<

Paul M 05-23-2011 12:53 AM

Well something is lingering somewhere, it can only be a plugin, the mod has/had no files.

Sforums 05-23-2011 10:19 AM

Question for Paul:

modification works fine but it shows my real IP to moderators.
How to go around this?

Paul M 05-23-2011 10:28 AM

You dont get around it, thats its purpose. :D

JohnGR 05-23-2011 10:34 AM

Quote:

Originally Posted by Sforums (Post 2199019)
Question for Paul:

modification works fine but it shows my real IP to moderators.
How to go around this?

dont allow moderators to see ip permission :D


All times are GMT. The time now is 10:19 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.01133 seconds
  • Memory Usage 1,735KB
  • 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_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