vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=244236

jay5r 27 Jan 2011 16:06

Just wanted to say thanks to Shawn. We PM'd and he suggested I didn't have the database installed correctly. I deleted the files, reinstalled and it works great now.

Quote:

Originally Posted by digitalpoint (Post 2154571)
What's the URL you have it installed at?

Quote:

Originally Posted by jay5r (Post 2154562)
Like Boofo I'm getting the following error...

Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 128
Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 133
Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 152

But unlike Boofo, I'm logged in and there are users on the site (73 members, 410 guests)...

Any idea what the problem is?



jay5r 28 Jan 2011 13:50

I installed it and users seem to like it. How hard would it be to modify? About 70% of my users want their screen names to show when you scroll over or click on their pin. Another 13% want to be able to opt out. Ideally I'd like screen names to show by default (being able to click to their member page would be incredible) and there be the option to set a persistent cookie that could either hide the screen name or completely opt-out.

digitalpoint 28 Jan 2011 19:53

You couldn't do the opt-out with a cookie, would need to be something stored in the database since user A viewing it would need to know the opt-out setting for user B. It wouldn't be *terribly* hard for a programmer to do for you.

RustedBucket 15 Feb 2011 23:37

Hey Shawn, any chance of making this work using membergroups?

digitalpoint 16 Feb 2011 03:24

what do you mean exactly?

Valerio 25 Feb 2011 03:40

Hello
I ask to my host to install the module and it did straight away, so i proceed with the installation and the result was:

Quote:

Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 100

Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 128

Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 133

Warning: Invalid argument supplied for foreach() in [path]/usermap.php on line 152

Warning: geoip_record_by_name() [function.geoip-record-by-name]: Required database not available at /var/lib/GeoIP/GeoIPCity.dat. in [path]/usermap.php on line 158
I ask to my host and he reply:

Quote:

hello,

Unfortunately the database it is requesting is not free: http://www.maxmind.com/app/products it is $370/site license.

The other issue is if you cannot specify where the database is located from within the script to reference a file from within your account files and directories rather than the backend server files and directories you will need to upgrade to a VPS or dedicated server.

Please let us know if there is anything else we can assist you with.
so?

TeknoSounds 25 Feb 2011 05:21

Ask them to use/install the LITE version:

http://www.maxmind.com/app/geolitecity

Valerio 25 Feb 2011 23:31

Fantastic, it work, Thank you digital point :up:

I open a ticket, and my host download the database in a folder into the root and change the path of php.

I'm very happy about that host.

The map visualize only the realtime users connected right?

Do you think it will be possible to add the nickname of the registered users to the map so when i click on a pin it appear the username of the registered user?

digitalpoint 26 Feb 2011 00:23

No sorry... Too many privacy issues.

Boofo 26 Feb 2011 01:17

Shaun, is there a way to suppress the foreach errors that show up if a guest clicks the link and no users are logged in?

Boofo 28 Feb 2011 11:11

I take it by your silence either that is a "no" or not worth your time fixing?

traen 28 Feb 2011 12:57

Can you disable it for certain usergroups or is it a all or nothing ordeal?

Boofo 28 Feb 2011 13:10

Quote:

Originally Posted by traen (Post 2167822)
Can you disable it for certain usergroups or is it a all or nothing ordeal?

There is no settings for that. It only works if there are logged in users. But I have a user logged in the other day and she got the errors and an empty map. She logged on later and it was fine.

digitalpoint 01 Mar 2011 07:11

Quote:

Originally Posted by Boofo (Post 2166960)
Shaun, is there a way to suppress the foreach errors that show up if a guest clicks the link and no users are logged in?

Yeah, would be simple enough to wrap it in some logic to prevent it from foreaching if there are none to foreach.

Not a *huge* priority though to be honest. The percentage of forums that have no users on (guests, registered or spiders) I would guess might be like 1 in 1,000 (MAYBE). Then on top of it, the first page that a user starts their session at is the user map page... probably another 1 in 1,000 chance. So yeah... it obviously could happen, but the chances of everything (no users, spiders, etc.), then the first user hitting the user map page as their first page seems rather low.

I'll do it in the next version, but not going to bother with a version just for that.

Boofo 01 Mar 2011 07:57

Any idea when the next version might be coming then?

Also, The errors showed up for a user that was logged in using Safari. When she logged out and back in later, she didn't get the errors. So it also seems to happen sporadically under certain conditions.


All times are GMT. The time now is 11:30.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.