Forum Activity for @ultrajam

SteveX
@ultrajam
10/29/14 05:19:38PM
2,589 posts

Ampps on mac, additional configuration info


Installation and Configuration

Turns out there is a php extension iconv.so which needs to be enabled.

I'll update the first post in the thread with that hard won info :)
SteveX
@ultrajam
10/29/14 04:27:25PM
2,589 posts

Ampps on mac, additional configuration info


Installation and Configuration

This problem is caused by running jrCore_url_string

Specifically this line:
$str = @iconv('UTF-8', 'ASCII//TRANSLIT', substr(trim($string), 0, 128));

If I comment it out and give $str another value I can save items (but of course they then have the wrong url string in the db).
//$str = @iconv('UTF-8', 'ASCII//TRANSLIT', substr(trim($string), 0, 128));
$str = "thiswillgivethewrongurl";

It feels like victory that I pinpointed the line of code causing the problem on my system, but I don't have a clue what to do about it :(

Any idea as to what I need to enable or change in my php ini?

The php.net manual says this:
Quote: You will need nothing if the system you are using is one of the recent POSIX-compliant systems because standard C libraries that are supplied in them must provide iconv facility. Otherwise, you have to get the ยป libiconv library installed in your system.

My php5.5 ini mentions iconv but only this:
; You can redirect all of the output of your scripts to a function.  For; example, if you set output_handler to "mb_output_handler", character
; encoding will be transparently converted to the specified encoding.
; Setting any output handler automatically turns on output buffering.
; Note: People who wrote portable scripts should not depend on this ini
;   directive. Instead, explicitly set the output handler using ob_start().
;   Using this ini directive may cause problems unless you know what script
;   is doing.
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
; Note: output_handler must be empty if this is set 'On' !!!!
;   Instead you must use zlib.output_handler.
; http://php.net/output-handler
;output_handler =
and then further down, this
[iconv]
;iconv.input_encoding = ISO-8859-1
;iconv.internal_encoding = ISO-8859-1
;iconv.output_encoding = ISO-8859-1
SteveX
@ultrajam
10/28/14 02:52:29AM
2,589 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,589 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,589 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,589 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,589 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,589 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,589 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,589 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
  137