vBulletin Mods

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

DamnComp - MemberMap
by soniceffect
12 Jul 2012 20:21

6 Attachment(s)
ABOUT
After moving over from xenforo the one thing I was missing on my forum was a membermap. This is a map where your users can pin their location so that others can see where people are. This modification does just this.


FEATURES
Admin Settings:

Enable Membermap - Globally switches membermap and associated tabs off
Allowed Usergroups - Which usergroups can see the membermap
Can Edit - Which usergroups can add/edit markers on the map



User Functions

Add/Edit marker by drag drop on map
Add/Edit marker by searching for location by text
Online users show different colour
Popup bubble on markers with avatar and profile link
Live user search

INSTALL

Upload all files in the upload folder to your forum directory leaving their structure intact, then import the product file. If you are using a custom skin, please ensure you also add the dcmembermap image folder to your own misc directory within images

PLEASE NOTE THIS MODIFICATION IS IN BETA STAGE. SUPPORT WILL BE GIVEN ONLY TO THOSE WHO SPECIFY INSTALLED.

Changelog:
13 July 2012 - Updated failed installer
14 July 2012 - Beta 1.1 Release. Fixes missing avatars and removed unused column from database which may be causing installation issues.
14 July 2012 - Beta 2 Released. Infomation box has now been replaced so that css can be edited if required. Prefix added to install code to fix issues with install. Various other minor fixes.
15 July 2012 - Beta 3 Released - Installer prexif code amended. Who's online now fixed to show members online within map area. Avatars set from admin set avatars now working. Various other minor fixes.
17 July 2012 - 1.0.0 final Released - Final phrases added so the product is now fully phrased.
18 July 2012 - 1.0.1 Released - Phrase added for breadcrumb text, support for umlauts and other utf8 characters.
20 July 2012 - 1.0.2 Released - All phrases now utf encoded for foreign language support, avatar creation changed to reduce query and remove problems, missing table prefix added, new settings added for default longitude/latitude/zoom level.
29 July 2012 - 1.0.3 Released - Security update
29 July 2012 - 1.0.4 Released - Fixed what I previously broke due to being half asleep. That will teach me!
30 July 2012 - 1.0.4b Released - Quick fix for markers not updating correctly.

ProFifaLeagues 12 Jul 2012 20:59

Will Install when i get home Nice work mate thank you

Krusty1231 12 Jul 2012 23:00

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT U.username as username,
U.userid as userid,
MM.lat as lat,
MM.lon as lon,
IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid,
U.avatarrevision,
AV.avatarpath,
NOT ISNULL(CAV.userid) AS hascustomavatar,
CAV.dateline AS avatardateline,
CAV.width AS avwidth,
CAV.height AS avheight,
U.lastactivity

FROM _vbdc_membermap AS MM
LEFT JOIN _vbuser AS U ON U.userid = MM.userid
LEFT JOIN _vbavatar AS AV ON (AV.avatarid = U.avatarid)
LEFT JOIN _vbcustomavatar AS CAV ON (CAV.userid = U.userid);

MySQL Error : Table 'jerry_forum._vbdc_membermap' doesn't exist
Error Number : 1146
Request Date : Thursday, July 12th 2012 @ 05:59:39 PM
Error Date : Thursday, July 12th 2012 @ 05:59:40 PM
Script : http://www.XXXXXX/forum/dcMembermap.php
Referrer : http://www.XXXXXX/forum/forum.php
IP Address : XX.XX.XX.XXX
Username : Jerry
Classname : vB_Database
MySQL Version : 5.5.23-55

soniceffect 12 Jul 2012 23:07

Did you get any errors when you installed?

EDIT: Issue with installer, sorting now an will reupload

Krusty1231 12 Jul 2012 23:11

None. It installed fine....

soniceffect 12 Jul 2012 23:20

1 Attachment(s)
This one will work. Updating main package in a min

EDIT: Main package now updated also. If you have already installed, please uninstall the product and reinstall with the latest one. The old one wasnt creating tables correctly. Sorry guys

Please ensure you click on INSTALL if you add :)

orangefive 12 Jul 2012 23:35

Hi - installed but cant see a marker to drag.

soniceffect 12 Jul 2012 23:37

You need to add a marker first by clicking an area on the map. Please click installed

soniceffect 12 Jul 2012 23:39

Quote:

Originally Posted by orangefive (Post 2347424)
Hi - installed but cant see a marker to drag.

Ah sorry now I understand .. Are you running this on a custom skin? If so you will need to add the image files into your own image directory.

misc/dcmembermap is the folder. You will need to ensure that the folder dcmembermap is within the skin folder of the skin you are using as well.

CoZmicShReddeR 12 Jul 2012 23:55

I think some are used to the one that grabs your IP... Is it possible to set it to choose a user info box color to match web design and html mockup color scheme.. For instance my theme is dark and the user names are white...

Need a fix it shifts the theme/style over to the left
http://www.cozworld.com/dcMembermap.php

Anyways thanks for making something simple to hook up! :)

soniceffect 13 Jul 2012 00:03

Quote:

Originally Posted by CoZmicShReddeR (Post 2347432)
I think some are used to the one that grabs your IP... Is it possible to set it to choose a user info box color to match web design and html mockup color scheme.. For instance my theme is dark and the user names are white...

Need a fix it shifts the theme/style over to the left
http://www.cozworld.com/dcMembermap.php

Anyways thanks for making something simple to hook up! :)

Seems to be the social icons which are making it shift over for some reason. Will take a look at this tomorrow unless Jos (BlueWolf_) gets to it first. 1am here and head losing it a little LOL

Thankyou for the feedback. Please could you click installed m8 :)

voglermc 13 Jul 2012 01:48

Can this use a member profile field to set a marker? Would be a nice feature for the future

Mr_Running 13 Jul 2012 03:04

Excellent :)

Currently my Avatar is not displaying? All I see is the default no avatar image
It would be nice to have it fully Phrased ....example: I would like to change Member Map

ProFifaLeagues 13 Jul 2012 06:45

No Avatars Show up for us but otherwise Easy install and Working great Thank you Sir!

soniceffect 13 Jul 2012 08:00

Quote:

Originally Posted by voglermc (Post 2347459)
Can this use a member profile field to set a marker? Would be a nice feature for the future

Not something I have planned tbh as I have tried it before and its far from accurate. For example if I geocode Rochdale which is where I am in the UK I end up in Rochdale in the US. I would have to type rochdale,uk which is not IMO very user friendly.

Quote:

Originally Posted by Mr_Running (Post 2347468)
Excellent :)

Currently my Avatar is not displaying? All I see is the default no avatar image
It would be nice to have it fully Phrased ....example: I would like to change Member Map

The modification is fully phrased unless I missed somewhere.

Quote:

Originally Posted by ProFifaLeagues (Post 2347492)
No Avatars Show up for us but otherwise Easy install and Working great Thank you Sir!

Will have a look at the avatar problem when I get home from work tonight. Thankyou for the complement


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

Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.