vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Convert Users IP, to FLAG (https://vborg.vbsupport.ru/showthread.php?t=222989)

TimberFloorAu 09-11-2009 09:38 PM

Convert Users IP, to FLAG
 
Essentially, I would like to display flag somewhere ( who knows where ) of our members, based on their IP.

Even if this is just for mods to view, is this to complex and server intensive to add ?

We currently can view users IP, on their posts ( as is standard ) for admins and mods, but wondered if there was a :display flag script.

If this is dooable and isnt to server intensive is it viable to roll it out across the board?

--------------- Added [DATE]1252708947[/DATE] at [TIME]1252708947[/TIME] ---------------

Found this so far:

http://vanillaflash.com/ipv1/ip_demo.html

http://flashden.net/item/visitor-ip-flag-display/45893

Lynne 09-11-2009 09:51 PM

I'm sure it is doable. How server intensive it would be is up to how it is coded. If you run the code on every page to see which country they are from, then it could be pretty server intensive. If you just check when they first open a session and store it in a new column in the user table, then it would hardly cause any problem for your server at all.

TimberFloorAu 09-11-2009 09:58 PM

Quote:

Originally Posted by Lynne (Post 1883382)
I'm sure it is doable. How server intensive it would be is up to how it is coded. If you run the code on every page to see which country they are from, then it could be pretty server intensive. If you just check when they first open a session and store it in a new column in the user table, then it would hardly cause any problem for your server at all.

Yeah thats what I was thinking, perhaps someone could code this lol. It is byond me but would be bloody useful for when we have users signing up, ..

Indeed if it displayed 2 flags.

1st flag is their timezone they alleged to have signed up from ( perhaps a time zone auto complete feature based on IP ) !

2nd flag is the country ip

Then store in member info profile, so that as mods we can ascertain if they are bogus at first glance.

Ste

--------------- Added [DATE]1252711160[/DATE] at [TIME]1252711160[/TIME] ---------------

Ok looking into this, can you tell me what phrase is used to display IP to admins in postbit please.

< buggered if I can find it lol


All times are GMT. The time now is 03:36 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.01045 seconds
  • Memory Usage 1,718KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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