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)
-   -   Major Additions - DamnComp - MemberMap (https://vborg.vbsupport.ru/showthread.php?t=285479)

soniceffect 07-11-2012 10:00 PM

DamnComp - MemberMap
 
1 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 07-12-2012 07:59 PM

Will Install when i get home Nice work mate thank you

Krusty1231 07-12-2012 10:00 PM

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 07-12-2012 10:07 PM

Did you get any errors when you installed?

EDIT: Issue with installer, sorting now an will reupload

Krusty1231 07-12-2012 10:11 PM

None. It installed fine....

soniceffect 07-12-2012 10:20 PM

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 07-12-2012 10:35 PM

Hi - installed but cant see a marker to drag.

soniceffect 07-12-2012 10:37 PM

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

soniceffect 07-12-2012 10:39 PM

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 07-12-2012 10:55 PM

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 07-12-2012 11:03 PM

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 07-13-2012 12:48 AM

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

Mr_Running 07-13-2012 02:04 AM

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 07-13-2012 05:45 AM

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

soniceffect 07-13-2012 07:00 AM

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

orangefive 07-13-2012 07:44 AM

Quote:

Originally Posted by soniceffect (Post 2347426)
You need to add a marker first by clicking an area on the map. Please click installed

will try your suggestion - now marked installed. will feed back. cool mod by the way!!

soniceffect 07-13-2012 07:47 AM

Quote:

Originally Posted by orangefive (Post 2347503)
will try your suggestion - now marked installed. will feed back. cool mod by the way!!

Hi m8,
Need to read the comment after that. You are quite right in saying to need to drag it. The problem is (Im assuming) that you are on a custom skin and havent got the images in the misc directory of your skin.

DannyV 07-13-2012 08:11 AM

Installed here.
The map is working, but after trying 3 times or so, the location I set isn't remembered.
I click "save location" every time, but eacht time I go to the map again, I get the message "You haven't set your location yet!"

Is it also possible to somewhere edit what the height of the map will be?
Ans since, I'm asking anyway :D, where can I change the background of the avatar popup ?

soniceffect 07-13-2012 08:23 AM

Quote:

Originally Posted by DannyV (Post 2347509)
Installed here.
The map is working, but after trying 3 times or so, the location I set isn't remembered.
I click "save location" every time, but eacht time I go to the map again, I get the message "You haven't set your location yet!"

Is it also possible to somewhere edit what the height of the map will be?
Ans since, I'm asking anyway :D, where can I change the background of the avatar popup ?

That quite odd as I cant replicate that problem here. Are you getting any errors when you click on save location? Are you logged in at the time?

The popup colouring etc is something I am looking at tonight so pls bare with me on that. The height of the window you should be able to change from the dcmembermap.css template

orangefive 07-13-2012 08:42 AM

wicked! put them into my modded styles misc and now working, avatars are not displaying though.

DannyV 07-13-2012 09:10 AM

Quote:

Originally Posted by soniceffect (Post 2347511)
That quite odd as I cant replicate that problem here. Are you getting any errors when you click on save location? Are you logged in at the time?

The popup colouring etc is something I am looking at tonight so pls bare with me on that. The height of the window you should be able to change from the dcmembermap.css template


I re-uploaded the files, all working fine now.
Thanks on the tip for the mapheight. Adjusted now.

I know it's not in the scope of a membersmap, but would it be possible if certain membergroups can place "general" marks on the map. So locations that have anything to do with the community?

orangefive 07-13-2012 09:58 AM

this is an ace mod already, keeping my eye on this - well done!!

soniceffect 07-13-2012 09:59 AM

Quote:

Originally Posted by DannyV (Post 2347517)
I re-uploaded the files, all working fine now.
Thanks on the tip for the mapheight. Adjusted now.

I know it's not in the scope of a membersmap, but would it be possible if certain membergroups can place "general" marks on the map. So locations that have anything to do with the community?

Not possible at present, however it is something that I have in mind for a future update.

DannyV 07-13-2012 10:10 AM

No worries, was just wondering.
It's a really nice mod. Thanks for that.
Nominated for MOTM.

soniceffect 07-13-2012 10:22 AM

Quote:

Originally Posted by DannyV (Post 2347528)
No worries, was just wondering.
It's a really nice mod. Thanks for that.
Nominated for MOTM.

Cheers for the vote of confidence :) Very much appreciated

Vick98 07-13-2012 10:30 AM

For some reason my avatar isn't showing on the popup bubble. Any suggestions?

soniceffect 07-13-2012 10:34 AM

Quote:

Originally Posted by Vick98 (Post 2347535)
For some reason my avatar isn't showing on the popup bubble. Any suggestions?

Aware of some problems with avatars which I am looking into tonight. Please could I have link to your site so I can determine the cause?

Vick98 07-13-2012 10:49 AM

I only have it set for registered users and members. Do you want me to change it for this test?
Link: http://www.clansks.com/dcMembermap.php

Thank you for the quick reply.

ProFifaLeagues 07-13-2012 11:02 AM

Could it maybe to do with some of us using the database to store images and some sites using the file system maybe?
Just a quick thought when I was looking this morning I will have a try and move mine and see if any changes arise

BadgerDog 07-13-2012 11:06 AM

Is this a 4.20 mod only, or will i work with 4.1.3?

We've been using Digitalpoint's User Map up to now, but this looks interesting ... :up:

Thanks for your efforts ... :)

Regards,
Doug

Mr_Running 07-13-2012 11:07 AM

1 Attachment(s)
Quote:

Originally Posted by soniceffect (Post 2347495)
The modification is fully phrased unless I missed somewhere.

I have played around with it some more and one Button I was looking to change was the

Update Your Location and next to it the phrase You haven't set your location yet!
I did a search for this phrase and changed it but it did not change it here.

I would also like to change the Page Title Member Map

Cheers, :)

orangefive 07-13-2012 11:10 AM

Quote:

Originally Posted by soniceffect (Post 2347536)
Aware of some problems with avatars which I am looking into tonight. Please could I have link to your site so I can determine the cause?

Hello - mines the same www.thewoollybacks.co.uk

soniceffect 07-13-2012 11:14 AM

Quote:

Originally Posted by Vick98 (Post 2347537)
I only have it set for registered users and members. Do you want me to change it for this test?
Link: http://www.clansks.com/dcMembermap.php

Thank you for the quick reply.

yeah please.. and no problem :)

soniceffect 07-13-2012 11:17 AM

Quote:

Originally Posted by orangefive (Post 2347546)
Hello - mines the same www.thewoollybacks.co.uk

Cheers

soniceffect 07-13-2012 11:21 AM

Quote:

Originally Posted by orangefive (Post 2347546)
Hello - mines the same www.thewoollybacks.co.uk

No access on there m8 even for registered member

Quote:

Originally Posted by Mr_Running (Post 2347544)
I have played around with it some more and one Button I was looking to change was the

Update Your Location and next to it the phrase You haven't set your location yet!
I did a search for this phrase and changed it but it did not change it here.

I would also like to change the Page Title Member Map

Cheers, :)

No problem, will take a look at these once Im back from work tonight for ya.

Vick98 07-13-2012 11:23 AM

Quote:

Originally Posted by soniceffect (Post 2347547)
yeah please.. and no problem :)

Done...temporarily.

soniceffect 07-13-2012 11:29 AM

Quote:

Originally Posted by Vick98 (Post 2347551)
Done...temporarily.

Cheers. Looks like an issue with avatars when stored in the database. Will have a look into this tonight also and get a fix out

Vick98 07-13-2012 11:34 AM

Quote:

Originally Posted by soniceffect (Post 2347552)
Cheers. Looks like an issue with avatars when stored in the database. Will have a look into this tonight also and get a fix out

Thank you.

Mr_Running 07-13-2012 11:56 AM

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

Quote:

Originally Posted by soniceffect (Post 2347495)
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.

How about profile field id set / displayed in the popup bubble. :)

soniceffect 07-13-2012 12:01 PM

Quote:

Originally Posted by ProFifaLeagues (Post 2347540)
Could it maybe to do with some of us using the database to store images and some sites using the file system maybe?
Just a quick thought when I was looking this morning I will have a try and move mine and see if any changes arise

Quote:

Originally Posted by BadgerDog (Post 2347543)
Is this a 4.20 mod only, or will i work with 4.1.3?

We've been using Digitalpoint's User Map up to now, but this looks interesting ... :up:

Thanks for your efforts ... :)

Regards,
Doug

Quote:

Originally Posted by Mr_Running (Post 2347557)
How about profile field id set / displayed in the popup bubble. :)

This however, is planned for the next version :)


All times are GMT. The time now is 01:06 PM.

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.03430 seconds
  • Memory Usage 1,848KB
  • 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
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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