stoo2000 Posted April 22, 2010 Posted April 22, 2010 Awesome :thumbsup: As I have said before though, the notifications will not be functional until IP.Board has the final stable implementation of notifications complete.
Guest Posted April 29, 2010 Posted April 29, 2010 I was under the impression that this would pull info from the Locations field in the member profile but I guess you have to manually add yourself? Am I missing something?
stoo2000 Posted April 29, 2010 Posted April 29, 2010 I was under the impression that this would pull info from the Locations field in the member profile but I guess you have to manually add yourself? Am I missing something? No it doesn't pull information from there, it requires users to add their own location to the map.
InvisionNutCase Posted April 29, 2010 Posted April 29, 2010 wouldn't want big brother having a direct map to the bat-cave without an RSVP, lol
.Ian Posted May 4, 2010 Posted May 4, 2010 Thanks ! I have a busy week ahead, then I'm hoping to get an updated version out with custom map markers. Any update? ;)
stoo2000 Posted May 4, 2010 Posted May 4, 2010 Any update? ;) Not yet I'm afraid. Mega busy at the moment, could do with some more hours in a day if you know where to get any ?!
stoo2000 Posted May 4, 2010 Posted May 4, 2010 I believe it is in the Conservative manifesto ;) haha, pity I'm not voting then
PBCforum Posted May 5, 2010 Posted May 5, 2010 what a great mod!!! For me is just perfect like it is now :) Maybe when I could add a custom field value after a gruop name of a member to this "cloud" after clicking a marker on the map: After modifying the mapInfoBox :<php> $avatar = IPSMember::buildAvatar( $memberData ); </php><div class='left def'>{$avatar}</div><div class='mapka'><h3><a href='{parse url="showuser={$memberData['member_id']}" template="showuser" seotitle="{$memberData['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$memberData['members_display_name']}</a><span class='ieHide'>{parse template="user_popup" group="global" params="$memberData['member_id'], $memberData['members_seo_name']"}</span></h3><p>{$memberData['prefix']}{$memberData['g_title']}{$memberData['suffix']}</p><p>{$memberData['prefix']}{$memberData['telefon']}{$memberData['suffix']}</p><if test="($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1"><p class='remMarker'><a href='{parse url="module=membermap&action=removeMarker&do={$memberData['member_id']}" base="publicWithApp" template="removeMarker" seotitle="false"}' title='{$this->lang->words['modRemoveMarker']}'>{parse replacement="rep_down"} {$this->lang->words['modRemoveMarker']}</a></p></if></div><br clear='all'/> I got also an ip_address and it works perfectly, but how to add a field with the value from this query: SELECT field_18 FROM pfields_content where member_id=5 (it's the custom profile field - member's telephone number) Any ideas ? Thanks in advance, Jack
stoo2000 Posted May 5, 2010 Posted May 5, 2010 what a great mod!!! For me is just perfect like it is now :) Maybe when I could add a custom field value after a gruop name of a member to this "cloud" after clicking a marker on the map: After modifying the mapInfoBox : <snip> I got also an ip_address and it works perfectly, but how to add a field with the value from this query: SELECT field_18 FROM pfields_content where member_id=5 (it's the custom profile field - member's telephone number) Any ideas ? Thanks in advance, Jack Thanks ! You would need to modify the SQL query to fetch your custom field, you would then need to pass it into the template bit with the other data.
PBCforum Posted May 5, 2010 Posted May 5, 2010 Thanks ! You would need to modify the SQL query to fetch your custom field, you would then need to pass it into the template bit with the other data. Sounds logic, but the problem is "how" because I'm not a programmer... Many thanks anyway!
Mike54 Posted May 5, 2010 Posted May 5, 2010 OK, here's one for you - I uploaded the files, installed the application, set the permissions and inserted the Google API key. I can view the Map page and I see this - I am thinking I'm mere minutes away from success, so I entered my location and I see this - The map is gone. So, I figure maybe it doesn't want to show me my own location, so I logged in with a second admin account and I see the very same thing. So I add the second admin location in a different location and it then indicates 2 users are shown, but there is still no map. I figured I missed a step, so I went back through and checked everything. I wasn't able to see anything I had overlooked, so I removed the application entirely. I re-installed the app, added my location and got the very same results - no map. I logged in with the second admin account, added a second location and then I got a dialog box asking me where I wanted to save the file index.php. I went back and removed the first account's location and tried to re-enter it, whereupon it then asked me where to save index.php. I got busy with another job and couldn't get back to this until this morning. I uninstalled the app, deleted all the files from the server, downloaded a fresh package and tried everything again. And I'm right back where I was yesterday afternoon. The page indicates my location has been added and one user is shown, but there is no map. I'm certainly open to any suggestions...
CameleonPL Posted May 6, 2010 Posted May 6, 2010 Well i got briliant idea, why not add some other types of markers to mark some cool places, pubs, ect. ? Meaning - Special places from specific user - they can be viewed by clicking on user location 2times or other way.... that would be cool !
PBCforum Posted May 6, 2010 Posted May 6, 2010 Thanks ! You would need to modify the SQL query to fetch your custom field, you would then need to pass it into the template bit with the other data. Thanks for the idea stoo - got it working :D<php> $avatar = IPSMember::buildAvatar( $memberData ); $mem = $this->DB->buildAndFetch( array( 'select' => 'field_18', 'from' => 'pfields_content', 'where' => 'member_id= ' . $memberData['member_id'] ) ); </php> <div class='left def'>{$avatar}</div><div class='mapka'><h3><a href='{parse url="showuser={$memberData['member_id']}" template="showuser" seotitle="{$memberData['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$memberData['members_display_name']}</a><span class='ieHide'>{parse template="user_popup" group="global" params="$memberData['member_id'], $memberData['members_seo_name']"}</span></h3><p>{$memberData['prefix']}{$memberData['g_title']}{$memberData['suffix']}</p><p>Tel. {$mem['field_18']}</p><if test="($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1"><p class='remMarker'><a href='{parse url="module=membermap&action=removeMarker&do={$memberData['member_id']}" base="publicWithApp" template="removeMarker" seotitle="false"}' title='{$this->lang->words['modRemoveMarker']}'>{parse replacement="rep_down"} {$this->lang->words['modRemoveMarker']}</a></p></if></div><br clear='all'/> where field_18 could be any field from extra profile field content (thanks to DawPi from forum.invisionize.pl) Once again - it's a great mod - keep it up!!
Mat-Moo Posted May 9, 2010 Posted May 9, 2010 Great mod, members love it... but I noticed a mem.cgi file being written in the cache folder, can this be disabled some how?
PKIDelirium Posted May 10, 2010 Posted May 10, 2010 Sweet, this might get this distinction of being the only third-party app on my board. I used to have a Frappr map, but since it was standalone, hardly anyone used it. Having one tied into the forums would work very well.
stoo2000 Posted May 10, 2010 Posted May 10, 2010 Great mod, members love it... but I noticed a mem.cgi file being written in the cache folder, can this be disabled some how? That's nothing to do with this application, Thats an IP.Board debug helper Sweet, this might get this distinction of being the only third-party app on my board. I used to have a Frappr map, but since it was standalone, hardly anyone used it. Having one tied into the forums would work very well. Awesome :)
stoo2000 Posted May 12, 2010 Posted May 12, 2010 Just a little bit of a teaser update, front end work is complete for custom markers: I've altered slightly from the original plan, markers can be split into groups, each group can have their own colour pin and icon! .Ian 1
.Ian Posted May 13, 2010 Posted May 13, 2010 I've altered slightly from the original plan, markers can be split into groups, each group can have their own colour pin and icon! thank you :D
Wolfie Posted May 13, 2010 Posted May 13, 2010 Just a little bit of a teaser update, front end work is complete for custom markers: I've altered slightly from the original plan, markers can be split into groups, each group can have their own colour pin and icon! Where did you find that place at? Talk about a strange city layout.. :whistle:
.Ian Posted May 14, 2010 Posted May 14, 2010 Where did you find that place at? Talk about a strange city layout.. :whistle: Why is it strange?
Wolfie Posted May 14, 2010 Posted May 14, 2010 Why is it strange?Because it's probably near where he lives. I'm just picking on him. :D
stoo2000 Posted May 14, 2010 Posted May 14, 2010 Because it's probably near where he lives. I'm just picking on him. :D I'd suggest you blame the Romans for that then ;)
Recommended Posts