Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2006, 08:30 PM
MrOnline MrOnline is offline
 
Join Date: Feb 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default userIP vs ipadress

is ther a way to check the userip against the regip ??
like from cookie or something ?
I realy want an popup to show if userip != user.ipadress
Reply With Quote
  #2  
Old 04-22-2006, 08:50 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think you really want this - you would get an awful lot of pop-ups - very few people (if any) will always have the same ip address.
Reply With Quote
  #3  
Old 04-22-2006, 09:03 PM
MrOnline MrOnline is offline
 
Join Date: Feb 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but i realy do want it... because i want to authenticate them with it... to stop users having several users on same account....
Reply With Quote
  #4  
Old 04-22-2006, 09:21 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but I really don't think you fully understand how IP addresses work.

Anyone accessing via Dialup will have a different ip address everytime they connect, and most people who have cable/adsl/dsl/other high speed access will change ip address over time (anything from days to months). What about people accessing from home and work (and friends) ?
Reply With Quote
  #5  
Old 04-22-2006, 09:53 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't forget our AOL users who will change an IPADDRESS on every page.
Reply With Quote
  #6  
Old 04-22-2006, 11:11 PM
MrOnline MrOnline is offline
 
Join Date: Feb 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

they gone be asked on login if they wanna change it, it's only for "paid users" anyway and i do ofcourse understand how it works... not that dumb ..

And this is something i do want, iv'e been looking around for it and figured i could ask in here. I have found the ipadresse in sql but not sure how i can get it changed by the users himself when login in if it's different from the one in user.ipadress

We dont have any aol users and dont want any of them :-)
I've seen this on a site, dont remeber what or where but....
most people here in norway keep same ip for a long periode of time, and this is for "online" event where i want to make sure the user are authenticated and can only be logged in once and from the ip they have in user.ipadress

:banana:
Reply With Quote
  #7  
Old 04-23-2006, 04:16 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not only aol, but several of its subsideraies as well use their proxy system.

Anyway,

If you insist then you will need to probally take out a service request because I don;'t think anyone else wants this, or needs this.
Reply With Quote
  #8  
Old 04-23-2006, 10:07 AM
MrOnline MrOnline is offline
 
Join Date: Feb 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm strange, it's for an "authenticated" service i need it for, not reading the board itself.. Any tip on how i could fix this ? it's the "popup" that ask for change of ip for use of "paid subscriptions" that i have the problem with, the actual script that shall authenticat them vs the user.ipadress i can fix myself.. But not sure how to get IP from user and check vs user.ipadresse if user is a paid subscriber and the user.ipadresss != current ip adresse
Reply With Quote
Reply


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 04:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08817 seconds
  • Memory Usage 2,225KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete