vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - LOGECT IP Address Detector (https://vborg.vbsupport.ru/showthread.php?t=276727)

LOGECT 01-09-2012 11:00 PM

LOGECT IP Address Detector
 
1 Attachment(s)
Info: By using this hack your visitors can see theirs IP Address on footer.

Screenshot:

https://vborg.vbsupport.ru/external/2012/01/52.jpg

Installation:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

To set options:

Go to: vBulletin Options > LOGECT - IP Address Detcetor

Versions:
v1.0 First rel
v1.1 Code optimized and back link removed.

Disasterpiece 01-10-2012 02:04 PM

Wow... a backlink for like... 2 lines of code? No way I'm installing this.

PHP Code:

ob_start();
$logect_ip $_SERVER['REMOTE_ADDR'];
$php_include ob_get_contents();
ob_end_clean();
vB_Template::preRegister('footer',array('logect_ip' => $logect_ip)); 

can be reduced to:
PHP Code:

vB_Template::preRegister('footer',array('logect_ip' => $_SERVER['REMOTE_ADDR'])); 

the output buffer thing is just completely useless and adds unnecessary process to your mod.

also lol @ 2 vB_TemplateParser for placing just a link into the footer... are you serious about this? :D

TheSupportForum 01-10-2012 03:02 PM

i would not suggest this product

1) it has external advertising when clicking on IP address it links to http://www.logect.com/

2) you need to be aware of the law before revealing someones IP address on there site, potentially what this mod does it a link track, http://www.logect.com/ will track its IP address as its a referral from your own website

OldSchoolDSL 01-10-2012 03:23 PM

@ LOGECT

In my opinion, everything you release is basically spam.

Your other (previous) modifications were complete dependent on your site as everything actually loaded on your site (see translation modifications).

OldSchoolDSL 01-10-2012 03:24 PM

Quote:

Originally Posted by simonhind (Post 2286024)
i would not suggest this product

1) it has external advertising when clicking on IP address it links to http://www.logect.com/

2) you need to be aware of the law before revealing someones IP address on there site, potentially what this mod does it a link track, http://www.logect.com/ will track its IP address as its a referral from your own website

Which I think violates the terms :eek:

reported (the mod, not your post)

TheSupportForum 01-10-2012 03:30 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2286038)
Which I think violates the terms :eek:

reported (the mod, not your post)

done the same, yes i also think it violates the terms

LOGECT 01-10-2012 05:35 PM

Quote:

Originally Posted by Disasterpiece (Post 2285997)
Wow... a backlink for like... 2 lines of code? No way I'm installing this.

PHP Code:

ob_start();
$logect_ip $_SERVER['REMOTE_ADDR'];
$php_include ob_get_contents();
ob_end_clean();
vB_Template::preRegister('footer',array('logect_ip' => $logect_ip)); 

can be reduced to:
PHP Code:

vB_Template::preRegister('footer',array('logect_ip' => $_SERVER['REMOTE_ADDR'])); 

the output buffer thing is just completely useless and adds unnecessary process to your mod.

also lol @ 2 vB_TemplateParser for placing just a link into the footer... are you serious about this? :D

Thanks for the feed back dear Disasterpiece, i will update the code and remove that back link :)

LOGECT 01-10-2012 05:37 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2286036)
@ LOGECT

In my opinion, everything you release is basically spam.

Your other (previous) modifications were complete dependent on your site as everything actually loaded on your site (see translation modifications).

Stop using and copying my mod if you think that is a spam!

Boofo 01-10-2012 05:41 PM

1 Attachment(s)
How about this? Logged In and Logged Out. And it checks for proxies.

Disasterpiece 01-10-2012 05:46 PM

Good to see that you finally got to your senses. It might still be somewhat overpowered to use a product for something you could accomplish with templatevars, but at least it's fairplay without the unnecessarily blown-up code and the backlink.

//e: @boofo: that actually looks damn nice. I just can't think of any use case where a user might want to see that kind of information (since he already knows which browser/os he's using, but still. :up:


All times are GMT. The time now is 03:21 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.02913 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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