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 - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

digitalpoint 09-12-2011 05:09 PM

It shouldn't display differently regardless of the user. Are you able to confirm it yourself?

Janmaat 09-14-2011 09:27 AM

Yes!

After I have removed usergroup id# 6 from the settings in ACP to be shown as Admin on the user map, the user map is now showing only yellow pins (guests) and white pins (bots) but no green pins (registered users).

Lpspider 09-19-2011 01:51 PM

This plugin only works for currently active users, correct? Is there another mod (or an easy way to modify this) that would allow users to confirm their location and treat it as a quasi-permanent member map

grey_goose 10-13-2011 09:49 PM

Looks like a cool mod -- but my map is blank?

http://nwod.org/forum/usermap.php

digitalpoint 10-13-2011 09:53 PM

Are you sure? This is what I see at the URL...

https://vborg.vbsupport.ru/external/2011/10/43.png

datoneer 10-13-2011 11:30 PM

Ok here is my problem,
Linux Systems Administrator from hostgator told me this:
I've added the Net_GeoIP PHP module for you.

But still when i open user map i see this

Fatal error: Call to undefined function geoip_record_by_name() in /home/datoneer/public_html/usermap.php on line 100

digitalpoint 10-13-2011 11:52 PM

It's not installed then.

grey_goose 10-14-2011 12:09 PM

Quote:

Originally Posted by digitalpoint (Post 2256932)
Are you sure? This is what I see at the URL...

[high]* grey_goose scratches head and goes to ponder what foul trickery is at play
[/high]

Thanks :)

Dave Hybrid 10-22-2011 02:09 PM

Hi Shawn,

Any way to show this on forumhome?

Thanks, Dave.

Dave Hybrid 10-22-2011 03:01 PM

Code:

$forumusers = $db->query_read_slave("
    SELECT userid, usergroupid, ipaddress AS host, '' AS useragent, IF(usergroupid IN(" . iif($vbulletin->options['digitalpoint_usermap_admins'], $db->escape_string($vbulletin->options['digitalpoint_usermap_admins']), 0) . "), 1, IF(userid > 0, 2, 3)) AS sortorder
    FROM " . TABLE_PREFIX . "user AS user
    ORDER BY sortorder
    LIMIT 5000" . "
");

One other thing, I'm using the above code for registered users, is it also possible to have the pins link to the members profile, rather than Google Earth?


All times are GMT. The time now is 10:47 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.01458 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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