Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DamnComp - MemberMap Details »»
DamnComp - MemberMap
Version: 1.0.4b, by soniceffect soniceffect is offline
Developer Last Online: Feb 2019 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.0 Rating:
Released: 07-11-2012 Last Update: 07-29-2012 Installs: 203
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

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.

Download Now

File Type: zip dc_membermap1.0.4b.zip (22.7 KB, 841 views)

Screenshots

File Type: jpg Selection_001.jpg (79.9 KB, 0 views)
File Type: jpg Selection_002.jpg (73.3 KB, 0 views)
File Type: jpg Selection_003.jpg (73.6 KB, 0 views)
File Type: jpg Selection_004.jpg (50.9 KB, 0 views)
File Type: png Selection_005.png (51.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Beckenbauer, K4GAP, NoMatt3r, tekram

Comments
  #122  
Old 07-14-2012, 09:03 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: getimagesize(http://www.XXXXXXXXXXXXXXX.com/image...&dateline=) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 103

What did I do wrong?
Reply With Quote
  #123  
Old 07-14-2012, 09:09 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soniceffect View Post
User location dartboard!! few ideas we have floating around:
  • Pin other locations
  • Link to users pin within postbit
  • Admin selectable custom profile fields in popup
Ha Funny... this is exactly what I was thinking. Please make it happen.

A link or the ability for the user to update their profile field would also be awesome. :up:

Edit: Also may be allow usergroups to input a message / about / details to be display in pop up.
Reply With Quote
  #124  
Old 07-14-2012, 09:12 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsantana View Post
Warning: getimagesize(http://www.XXXXXXXXXXXXXXX.com/image...&dateline=) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in [path]/includes/class_bootstrap.php(430) : eval()'d code on line 103

What did I do wrong?
Figured this out... Had root password protected because it's a test site...

But now when I set a location it doesn't save it.
Reply With Quote
  #125  
Old 07-14-2012, 09:41 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks like a fantastic mod however i am running vb4.1.11 with a custom skin and some custom mods that would require too much work and £££ just to upgrade as i am limited to my coding skills

Has anyone tested this below vb4.2.0 and got it working ?

I see someone posted they did but without the navbar link which is easy to add so i may try it. Will report back and let you all know

Cheers
Reply With Quote
  #126  
Old 07-14-2012, 09:48 PM
orangefive orangefive is offline
 
Join Date: Nov 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just do it on a test instance first pal if you have one.
Reply With Quote
  #127  
Old 07-14-2012, 10:06 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Tagged
Nominated

Can confirm it works on vb4.1.11 BUT i had to execute a SQL Query as previously stated:

Code:
CREATE TABLE IF NOT EXISTS `dc_membermap` (
  `markerid` int(11) NOT NULL AUTO_INCREMENT,
  `userid` int(11) NOT NULL,
  `desc` text,
  `lat` float(10,6) NOT NULL,
  `lon` float(10,6) NOT NULL,
  PRIMARY KEY (`markerid`),
UNIQUE KEY `idx_user` (`userid`))
Many thanks and works/looks great
Reply With Quote
  #128  
Old 07-14-2012, 10:40 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, The avatar issue for me seems to be, If a user selects an avatar from the Pre-defined Generic Avatars then they do not show

However if a user has a custom avatar uploaded then it shows

Also would it be possible to add the location of a in the pop-up along with other useful data ?

And could it be implemented that the users can not pin the location if said location does not match the IP ?

Basically so a user from say the UK can not select they live anywhere else in the world ?

Cheers again
Reply With Quote
  #129  
Old 07-15-2012, 02:17 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting the following database error when going to the Member map:

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT userid FROM dc_membermap WHERE userid = 3;

MySQL Error : Table 'thebull_CreativX.dc_membermap' doesn't exist
Error Number : 1146
Request Date : Sunday, July 15th 2012 @ 05:14:23 AM
Error Date : Sunday, July 15th 2012 @ 05:14:23 AM
Script : http://creativx.net/forums/dcMembermap.php
Referrer : http://creativx.net/forums/members/t...l?tab=usertags
IP Address : **********
Username : TheBull
Classname : vB_Database
MySQL Version : 5.1.63-cll

Please help. Thanks.

EDIT: OK, I got it working by running the previous mentioned query. But for some reason, it will not let me save my location. It just keeps saying 'Your location has not been set' does not matter how many times I save it.
Reply With Quote
  #130  
Old 07-15-2012, 06:14 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Flawless Victory.

Works great - thanks for the fix!
Reply With Quote
  #131  
Old 07-15-2012, 08:19 AM
qpurser qpurser is offline
 
Join Date: Jul 2011
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for all your hard work.
Even in the Beta version this looks very promising.

Quick question:
Most of my users are from the Minnesota state and really would be nice to zoom into the Minnesota area instead of the World map when loading the page/map.
Can I change some coding in your script that would zoom right into it? If that would work where do I change this.

Thanks
Michael
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:29 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.08222 seconds
  • Memory Usage 2,354KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete