Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2002, 06:45 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 06-01-2002, 09:09 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 06-02-2002, 09:35 AM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good idea!
I want this too
Reply With Quote
  #4  
Old 06-02-2002, 04:12 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*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 )
Reply With Quote
  #5  
Old 08-11-2002, 11:10 PM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice idea , I'd like their IP too for the enemies that come to my site to steal ideas ***** BBBAAAAAAAAANNNNNNNEDDDD***
Reply With Quote
  #6  
Old 08-11-2002, 11:36 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forgot about this... I might have to make it myself ><
Reply With Quote
  #7  
Old 08-11-2002, 11:48 PM
zootsuit's Avatar
zootsuit zootsuit is offline
 
Join Date: May 2002
Location: CA
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this idea!
Reply With Quote
  #8  
Old 08-12-2002, 01:15 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 )
Reply With Quote
  #9  
Old 08-12-2002, 02:58 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 >_<
Reply With Quote
  #10  
Old 08-12-2002, 03:16 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL @ Boofo

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:13 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.06134 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete