vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Check Guest IP In Who's Online (https://vborg.vbsupport.ru/showthread.php?t=39295)

Neo 06-01-2002 06:45 AM

Check Guest IP In Who's Online
 
How this would work is that when a guest comes online their ip is checked against that database to see is that guest has been to the site before. it would show a little image by the ip address to show that aswell as when that image is click stats popup show info on it... like if that ip could be a users ip and so on... anyone what to try this?

Logician 06-01-2002 09:09 PM

Nice idea.. Though I wouldnt suggest checking the db against IP, it wouldnt give a successful result (dynamic ips) and besides it would add an unnecassary SQL query load (not a very fast one either) to your MYSQL server.

On the other hand, vbulletin already tags your visitors (guest or members) if they can accept cookies and checking this cookie would give much successful results. It would be easier to code the hack too.

Regards,
Logician

Ps. I dont volunteer for the hack though, just gave my 2 cents hehe

inetd 06-02-2002 09:35 AM

good idea!
I want this too :)

Neo 06-02-2002 04:12 PM

*bump* Yeah I mean I would like to know how keeps coming back to my site ( I have enemies that would like to steal all my ideas and they come to my site all the time so I would like to know thier IP ) :)

xxxsaint 08-11-2002 11:10 PM

very nice idea , I'd like their IP too for the enemies that come to my site to steal ideas ***** BBBAAAAAAAAANNNNNNNEDDDD***

Neo 08-11-2002 11:36 PM

I forgot about this... I might have to make it myself ><

zootsuit 08-11-2002 11:48 PM

I love this idea!

Boofo 08-12-2002 01:15 AM

Wow, deja vu! I am always having problems with users coming to my site and trying to steal Neo's ideas, too. This would be a great hack to stop that. ;)

Quote:

Originally posted by Neo
*bump* Yeah I mean I would like to know how keeps coming back to my site ( I have enemies that would like to steal all my ideas and they come to my site all the time so I would like to know thier IP ) :)

[D]Vincent 08-12-2002 02:58 AM

Vincent]Couldn't you make a new table called guest and then add guestip or something and add something like this into functions:

PHP Code:

if ($bbuserinfo[usergroupid] == 0) {
 if (
$ip == $DB_site->query("SELECT guestip FROM guest WHERE $guestip == $bbuserinfo[guestip]") {
  
$guestvisits $guestvisits 1;
 } elseif (
$ip != $DB_site->query("SELECT guestip FROM guest") {
  
$DB_site->query("INSERT INTO `guest` (`guestip`) VALUES ('$ip')");
  
$guestvisits 1;
 }


But I know pretty much nothing about MySQL so I doubt that will work >_<

Neo 08-12-2002 03:16 AM

LOL @ Boofo :p

And I believe guest ips are already logged I just need to find a way to track them ;\

zootsuit 08-12-2002 05:49 AM

Are they logged?

I had no idea. I wonder where in the database they would be...

AcadNut 01-26-2003 03:16 PM

Did this idea die ??

We could use it as well.

USAMustangs.com 04-13-2007 03:36 AM

this would be a good hack.

nickypoooo 10-09-2007 03:17 AM

Great idea

bigcurt 10-09-2007 07:25 PM

Wowww this is old :P.


All times are GMT. The time now is 11:31 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.01948 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete