Forum Activity for @ultrajam

SteveX
@ultrajam
10/28/14 02:52:29AM
2,587 posts

Connect with jrEmbed?


GoogleMaps

michael:First place to check is the ACP -> SYSTEM CORE -> QUOTA CONFIG -> (change to the quota not working) -> Make sure "Convert Embed Tags" is checked.

Thanks Michael, that was the one!
SteveX
@ultrajam
10/27/14 01:04:41PM
2,587 posts

css in elastic skin


Design and Skin Customization

Intro2Music:
Hi Steve, I tried that in the 'style editor' but it isn't it. It's the background colour of the body I want to change, e.g. the blue background on jamroom.net

Mick

Yes, that's the wrapper here on jamroom.net:
#wrapper {
    margin: 0px auto;
    padding: 12px 0px;
    background-color: #0C1634;
}
You can check that using Firefox developer tools - right click on the blue background, select "inspect element", then change the color in the css rules on the right.
SteveX
@ultrajam
10/27/14 12:01:58AM
2,587 posts

css in elastic skin


Design and Skin Customization

Try #wrapper in skins/jrElastic/css/site.css

#wrapper {
    margin:0 auto;
    padding-top:72px;
    background-color:#EEEEEE;
    padding-bottom: 12px;
}
SteveX
@ultrajam
10/26/14 05:46:39PM
2,587 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,587 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,587 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,587 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,587 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,587 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,587 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
  137