Forum Activity for @ultrajam

SteveX
@ultrajam
10/26/14 05:46:39PM
2,584 posts

Connect with jrEmbed?


GoogleMaps

A difference in behaviour - on the site where it works the tag does not appear in the timeline. On the other site, the unparsed tag appears in the timeline.
SteveX
@ultrajam
10/26/14 05:40:46PM
2,584 posts

Connect with jrEmbed?


GoogleMaps

Actually I can see a difference, the site where it is working has only one quota. The site where the tag isn't parsed has two quotas, although jrEmbed is allowed for the quota on both sites.

The listener runs on one site, but not on the other. Any idea why that might be?
SteveX
@ultrajam
10/26/14 05:31:03PM
2,584 posts

Connect with jrEmbed?


GoogleMaps

Hey Michael, can you let me know when you try to use this.

I have one site where the jrEmbed tag is parsed, and one where it isn't parsed. Both sites are identical as far as I can see, both are set up the same with Google (although that should make no difference on the parsing), skins are the same, jrEmbed is the same, same versions of everything.

Does it work for your site?
SteveX
@ultrajam
10/26/14 01:21:03PM
2,584 posts

Connect with jrEmbed?


GoogleMaps

There isn't currently a tab interface, but you can add a map using a jrEmbed tag in ujGoogleMaps 1.0.4.

***Edit - This documentation (with screenshots!!!) can now be found here:
https://www.jamroom.net/ultrajam/documentation/modules/2055/using-the-tinymce-jrembed-function

First you need to enable the Google Maps Embed API in your Google control panel. Unlike the Javascript API, an API key is compulsory. It is the same API key as the javascript API, you just need to enable the service with Google. The API is simpler than the rest of the module (you can't do complex custom maps), but there are no usage limits imposed.

Then you can use:
Quote: [jrEmbed module="ujGoogleMaps" location="happyraft shikoku japan"]
The location parameter is required.
This is using the default "place" mode.

There are 3 other modes:
1. Directions
Quote: [jrEmbed module="ujGoogleMaps" mode="directions" origin="Oslo Norway" destination="Helsinki Finland" avoid="tolls|highways" maptype="satellite" travel_mode="bicycling"]
The mode, origin and destination parameters are required, the following are optional.

travel_mode can be one of driving, walking, bicycling, transit or flying
avoid will avoid tolls, ferries and/or highways. Multiple values separated by pipe e.g. avoid=tolls|highways
units specifies either metric or imperial, default is determined by the origin country of the query.
waypoints specifies one or more intermediary places to route directions through between the origin and destination. Multiple waypoints can be specified by using the pipe character (|) to separate places (e.g. Berlin,Germany|Paris,France). You can specify up to 20 waypoints.

2. Search
Quote: [jrEmbed module="ujGoogleMaps" mode="search" search="record stores in Seattle"]
The mode and search parameters are required, the others are optional.

Search mode displays results for a search across the visible map region. It's recommended that a location for the search be defined, either by including a location in the search term (record+stores+in+Seattle) or by including a center and zoom parameter to bound the search.

3. View
Quote: [jrEmbed module="ujGoogleMaps" mode="view" center="-33.8569,151.2152" zoom="18" maptype="satellite"]
The mode and center parameters are required, the others are optional.



Optional Parameters which can be used in all views:

center defines the center of the map view. It accepts a comma-separated latitude and longitude value (such as 37.4218,-122.0840). Note: center is required for the view mode.

zoom sets the initial zoom level of the map. Accepted values range from 0 (the whole world) to 21 (individual buildings). The upper limit can vary depending on the map data available at the selected location.

maptype can be either roadmap (the default) or satellite, and defines the type of map tiles to load.

language defines the language to use for UI elements and for the display of labels on map tiles. Note that this parameter is only supported for some country tiles; if the specific language requested is not supported for the tile set, then the default language for that tileset will be used. By default, visitors will see a map in their own language.

region defines the appropriate borders and labels to display, based on geo-political sensitivities. Accepts a region code specified as a two-character ccTLD (top-level domain) value.

width the width of the map. Default 100%.


height the height of the map. Default 400.
updated by @ultrajam: 10/26/14 03:08:13PM
SteveX
@ultrajam
10/26/14 08:43:17AM
2,584 posts

Ampps on mac, additional configuration info


Installation and Configuration

Ahh, it would be, but...
Jamroom runs, but there is something else missing, but I can't find what it is.

Form saves (create blog, update blog, etc) don't work. No errors in any log I can find.
Quote: a system level error was encountered trying to validate the form values: error: Internal Server Error

I guess this is the problem Sweet was having here:
https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/12466/ampps


Quote: 127.0.0.1 - - [26/Oct/2014:14:04:57 +0000] "POST /core/form_validate/__ajax=1 HTTP/1.1" 200 8 "http://demo7.ultrabubble.com/blog/create" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Firefox/33.0"
127.0.0.1 - - [26/Oct/2014:14:04:57 +0000] "POST /blog/create_save/__ajax=1 HTTP/1.1" 500 - "http://demo7.ultrabubble.com/blog/create" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Firefox/33.0"

updated by @ultrajam: 10/26/14 08:43:43AM
SteveX
@ultrajam
10/26/14 03:48:42AM
2,584 posts

Ampps on mac, additional configuration info


Installation and Configuration

Just updated my local dev server and found a couple of things that you need to do to get Jamroom (5.2.12) running on Ampps (2.5) on Mac (Yosemite).

***Edit*** Installing Jamroom on Ampps on Mac is now documented here:
https://www.jamroom.net/ultrajam/documentation/guides/2146/installing-ampps-locally-on-mac-os-x

Installing Ampps on Mac is easy, you just drag it to the Apps directory, but it won't run Jamroom until you do the following tweaks to the default configuration:

1. Enable ctype and iconv extensions:
In the Ampps control panel, click PHP, then Php Extension.
Enable ctype.so and iconv.so, then save.

2. Enable mod_deflate:
In the Ampps control panel, click Apache, then Configuration.
In the configuration file, search for mod_deflate, and uncomment the following line.
LoadModule deflate_module modules/mod_deflate.so
Then save.

Restart Apache from the Ampps control panel. You should now be able to run Jamroom.

Note: The above is true for php5.5, not sure about other versions. There is currently a Yosemite bug in ampps, to upgrade to php5.5 you need to start apache from the command line rather than from the control panel. The other php versions will then appear in Ampps control center > PHP > Change php version.
This is the command to paste into Terminal:
sudo /Applications/AMPPS/apache/bin/httpd -k start
(stop apache first if it is already running)

It's a Mac, so one more thing: System check will show that ffmpeg is not working. For each Jamroom site you have installed you can replace the file /modules/jrCore/tools/ffmpeg with the relevant download from here: http://ffmpegmac.net/
You will find your sites in /Applications/AMPPS/www/

***Edit - I've updated the info above, so you can ignore the thread below.
updated by @ultrajam: 12/04/14 04:02:54PM
SteveX
@ultrajam
10/25/14 03:56:10AM
2,584 posts

Connect with jrEmbed?


GoogleMaps

Hi Michael,

Yes it would be useful, let me take a look at this over the weekend and see if it's possible
SteveX
@ultrajam
10/23/14 02:23:52PM
2,584 posts

Woh way too many fields


GoogleMaps

gary.moncrieff:
Ok, what happens is this.

If you try to change the original location field in events module to googlemaps type, add a new event, edit the form again all these fields are added.

Means adding to events will be a bit more involved as you don't really want two location fields.

Ah, yes. You need to create a googlemaps field, not change the core location field to be googlemaps.

If I were you I'd keep the location field so that the address or venue name still show for the gig.

Then label the NEW event_googlemaps field "Map" and the help "Please enter an address if you want a map to show in your listing".
SteveX
@ultrajam
10/23/14 02:19:03PM
2,584 posts

Woh way too many fields


GoogleMaps

I don't think it can be a freak occurrence. Is there another module which might be interfering?

I've just tried this on a fully updated site which has never had events added before. It created only the one field in the Form Designer (both on the create and update forms).

I then created an event and added a googlemaps address in the single field, and checked back to the form designer and there is still only a single field.
SteveX
@ultrajam
10/23/14 02:09:44PM
2,584 posts

JrComments Request


Suggestions

For me it improves readability on both slashdot and theguardian.

I am more likely to read an "important" (important or hilarious) top level comment in the first hundred or two of top level comments than in the first thousand or two of unnested comments.

Slashdot hides threads according to user "votes", theguardian hides nested comments after the first few, you need to click to read the rest of the thread, they only do one level of nesting.

I wasn't keen on theguardian's transition to threaded comments at first, but it does actually work better for me. Sure, I miss some great comments because I don't open a nested thread, but there are usually thousands of comments on articles I am interested in - time is the main factor in determining whether I see all the interesting comments or not. I run out of time, rarely read more than 2 pages of comments.

So collapsing threads does actually get me reading more of the comments - I am ignoring nested comments rather than scanning them, I am scanning top level comments rather than (usually) less relevant responses to a comment. Now that I am used to the system I can tell more or less if I want to click to open a thread for further reading

Slashdot (with it's community modded closing of threads and multiple levels of nesting) seems to work for me as well. I click to open less threads than on the guardian, tend to rely on the community reputation modding thing.
updated by @ultrajam: 10/23/14 02:12:09PM
  137