Forum Activity for @ultrajam

SteveX
@ultrajam
01/22/15 05:49:40AM
2,584 posts

Show Googlemaps in profiles and show all profiles on one map.


GoogleMaps

Heres the docs for multi-item maps:
https://www.jamroom.net/ultrajam/documentation/modules/1790/multi-item-multi-marker-maps-eg-gps-location-for-photos-in-jrgallery

Put {debug} into your template to make sure that you have the necessary variables int he template you are doing this in.

Check to see if you have any javascript errors on your page, check that you are passing in the right data for your profiles and that they have mappable data added.
SteveX
@ultrajam
01/21/15 03:48:12PM
2,584 posts

Show Googlemaps in profiles and show all profiles on one map.


GoogleMaps

You haven't mentioned what is going wrong. Plenty of detail on what you have done, thankyou for that, but you forgot to say what is going wrong.

If you can briefley say what the problem is I might be able to help.

musicianband:
Hi,

I have installed Googlemaps module and I am trying to show profile addresses on maps, but it seems that I am skipping something, or I am doing something wrong.

- I am using skin Media Pro 5 - Dark;
- I have updated jrCore and all modules;
- I have performed integrity check;
- I have downloaded and installed successfully Googlemaps module, licensed;
- I have activated Googlemaps module;
- I have visited the APIs Console at https://code.google.com/apis/console and logged in with my Google Account;
- I have activated the Google Maps JavaScript API v3 service;
- I have created a Simple API Browser key for my site in my Google console;
- It looks like this:

API key: xxxxxxxxxxxxxxxxxx
Referers: *yourdomain.com/*
Activated on: Feb 28, 2014 4:13 PM
Activated by: xxxxxxxx@gmail.com – me

- I have completed Global settings for GoogleMaps module as follows:

Google Maps API key: xxxxxxxxxxxxxxxxxx
Default Lat/Lng: 45.941869,24.978284 (valid values)
Default Zoom : 7
Force Static Maps : Force Static Maps
Image Mapping Modules : jrProfile,jrUser

- In Quota Config of GoogleMaps module:

apply to all quotas : yes
allowed on profile : yes
allow user choice of map type : all checked
roadmap
satellite
terrain
hybrid
allow different types of embed : all checked
place
search
directions
view
allow different types of embed : all checked
map width (default 100%)
height (default 300)
center (coordinates)
zoom
maptype (road/satellite)
travel mode (directions)
avoid (directions)
waypoints (directions)
units (directions)
directions
view

- I have saved the settings;
- I have performed Reset Cache;
- I have clicked blue button: Update profile;
- I have clicked "Create new profile";
- I have clicked "Form designer" and entered to "profile/create";
- In the corresponding field for"New field name" I have completed profile_" with "googlemaps" resulting "profile_googlemaps";
- I have created the new field by clicking on " Create New Field";
- I have edited the new field as follows:

label: location
sub label : empty
help : Googlemaps
type : googlemaps
options : empty
default : empty
validation : (string) printable characters and HTML allowed by Quota
minimum : empty
maximum : empty
display groups : (group) Normal Users
required : checked
active : checked

- I have saved the changes by clicking on "Save changes";
- I have switched from right corner, same row with Form designer, from "profile/create" to "profile/settings";
- I have edited an identical field, as follows:

label: location
sub label : empty
help : Googlemaps
type : googlemaps
options : empty
default : empty
validation : (string) printable characters and HTML allowed by Quota
minimum : empty
maximum : empty
display groups : (group) Normal Users
required : checked
active : checked

- I have saved the changes by clicking on "Save changes";
- I have clicked on my profile, from main menu;
- I have clicked blue button: Update profile;
- In "Profile", I have scrolled down to the new field "Location", where the map was showing up, and above it the corresponding field for address input;
- I have typed an address and it was suggested to me the best address match, which I have clicked;
- The map automatically centered to my chosen location;
- I have scrolled down and clicked "Save";
- The address was entered successfully into the database, and I have called it to profile page, below my online / offline status by profile_googlemaps;
- The address text displayed successfully;

I wanted to show also the map with this address on profile page, so I have performed the following actions:

- I have read the documentation, and I tried to search for "/modules/jrProfile/templates/item_detail.tpl" , but "item_detail.tpl" does not exist;
- Instead, there exists the template "item_list.tpl" ("/modules/jrProfile/templates/item_list.tpl" ) which I have tried to edit , by adding just above the footer the following smarty function: {ujGoogleMaps_map name="map" map=$_profile module="jrProfile" height="300"};
- I have saved the template and performed Reset Cache;
- I have clicked on my profile, but the map did not show up;
- I have deleted the smarty function from ("/modules/jrProfile/templates/item_list.tpl" ) saved the template and performed Reset Cache;
- I have looked into the skin folder, and found template "profile_item_detail.tpl", which I have tried to edit , by adding just above the footer the same smarty function: {ujGoogleMaps_map name="map" map=$_profile module="jrProfile" height="300"};
- I have saved the template and performed Reset Cache;
- I have clicked on my profile, but the map did not show up;
- I have deleted the smarty function from "profile_item_detail.tpl", saved the template and performed Reset Cache;

I do not know where I am doing wrong!

I would really appreciate some advice / ideas / solutions regarding this matter.

Thank You!
SteveX
@ultrajam
01/20/15 11:44:59AM
2,584 posts

comment back (tip)


Ning To Jamroom

You could try checking to see if you are the profile owner using jrProfile_is_profile_owner($_profile_id)
{if strlen($_post.option) === 0 && jrProfile_is_profile_owner($_profile_id)}
<br><a href="{$jamroom_url}/{$item.profile_url}#cform">Comment Back</a>
{/if}
SteveX
@ultrajam
01/19/15 02:25:50PM
2,584 posts

New Ning To Jamroom Support Forum


Ning To Jamroom

Strumelia:and I believe deleted his hundreds of coding tips from there when he left.

Deleting knowledge can't be a good idea (I can imagine a scifi plot/circumstance where it might be, but a cms probably isn't that).

Best not to delete knowledge/tips. That's just wasting time.
SteveX
@ultrajam
01/19/15 02:15:46PM
2,584 posts

New Ning To Jamroom Support Forum


Ning To Jamroom

Got to add...

Personally speaking, on occassion I do love a long, long, vaguely confused and confusing thread - sometimes they are the best. But on a daily basis it becomes a grind pretty quickly, especially when it is calculated to flood attention.
SteveX
@ultrajam
01/19/15 02:10:04PM
2,584 posts

New Ning To Jamroom Support Forum


Ning To Jamroom

If any cms anywhere is really using Wrath in order to survive, all users should bail out now and choose another cms instead.

I;d say Jamroom is the best that I have been lucky enough to find, and I love it. Brian and the team are sooooo far from Wrathful. Which is both nice and a requirement.

ning users are very loud though (from recent experience). If there were a hundred ning refugees here on jamroom.net posting long, long, vaguely confused and confusing threads I'd guess that it would have an impact on development - the support requests would all be answered, but there would be much less time for development.
SteveX
@ultrajam
01/19/15 01:43:45PM
2,584 posts

Questions about managing own server


Ning To Jamroom

Similar to you I don't know enough about servers to run one entirely from the command line. It's not so much the command line, I just don't know what to read to keep myself sufficiently informed in order to remain up to date.

So I "outsource" that to webmin/virtualmin (free software with free docs, roughly equivalent to whm/cpanel), and rely on their expertise. There is a learning curve, but the gui and the help and the emails when you need to update are extremely helpful to me and make it possible (for me) to attempt a non-critical unmanaged server or two.

After reading the virtualmin docs and doing a few installs, if you have any doubts at all just go managed until you have confidence in your ability to run it long-term.
updated by @ultrajam: 01/19/15 01:45:07PM
SteveX
@ultrajam
01/18/15 02:43:23PM
2,584 posts

Profile Menu


Jamroom Developers

You need this at the top of your module's language file:
// Profile Menu Entry Name
$lang['menu'] = 'quizzes';
SteveX
@ultrajam
01/17/15 03:25:23PM
2,584 posts

Profile pages show not found


Proxima

Is that cricket?
  122