Forum Activity for @ultrajam

SteveX
@ultrajam
06/08/16 08:31:36AM
2,589 posts

ACP skin changes on a page


Jamroom Developers

Using the Custom Form module, with a separate admin skin and the AdminSkin module, the skin changes when I visit this url to update the form settings:
/form/update/id=1

Thanks
updated by @ultrajam: 09/08/16 12:26:38PM
SteveX
@ultrajam
06/08/16 02:30:52AM
2,589 posts

Forum search results seem unlikely


Using Jamroom

Searching this here forum, I see unexpected results.

I searched for the word "error" and saw many results, but the most recent was shown as 2 years ago.

So I tried again using another common word, jamroom:
https://www.jamroom.net/the-jamroom-network/forum?search_string=jamroom

Again, no results less than 2 years old.
updated by @ultrajam: 09/08/16 09:17:21PM
SteveX
@ultrajam
06/07/16 04:14:32PM
2,589 posts

Not working right


GoogleMaps

I know that feeling as well!

Currently, the sites I work on daily don't use maps at all, so it would have taken some time for me to spot that something was breaking. So thanks again for noticing the problem and posting about it so quickly. :)
SteveX
@ultrajam
06/07/16 02:49:35PM
2,589 posts

Not working right


GoogleMaps

Hi Ken

Brian has this fixed for the next version of jrEmbed.

Thanks for letting me know about it :)
SteveX
@ultrajam
06/07/16 01:55:46AM
2,589 posts

jrEmbed 1.3.6 to 1.3.7 update breaks parameter value into array


Jamroom Developers

Ah, yes that's it, and it's through an embed_html listener that the jrEmbed_replace_tag function is called.
updated by @ultrajam: 06/07/16 07:23:04AM
SteveX
@ultrajam
06/07/16 12:56:51AM
2,589 posts

jrEmbed 1.3.6 to 1.3.7 update breaks parameter value into array


Jamroom Developers

It's exploding the value of the parameter (location), which wasn't the way it worked until the current 1.3.8 update.

I've just uncommented the old code and commented out the new to get things working again
updated by @ultrajam: 06/07/16 12:57:10AM
SteveX
@ultrajam
06/06/16 08:43:33AM
2,589 posts

Not working right


GoogleMaps

This is happening due to a change in the latest jrEmbed update to 1.3.8

I've posted a query on the developers forum here:
https://www.jamroom.net/the-jamroom-network/forum/jamroom-developers/40642/jrembed-136-to-137-update-breaks-parameter-value-into-array
SteveX
@ultrajam
06/06/16 08:41:32AM
2,589 posts

jrEmbed 1.3.6 to 1.3.7 update breaks parameter value into array


Jamroom Developers

Hi,

Ken Rich has reported a problem with using the ujGoogleMaps module TinyMCE embed.

I've found it to be caused by the latest jrEmbed update (1.3.6 to 1.3.7), specifically this change to the jrEmbed_replace_tag function:
    $params = array();
    foreach (explode(' ', $match) as $part) {
        list($k, $v) = explode('=', $part);
        $k = trim($k);
        $params[$k] = trim($v);
    }
The parameters before that code:
Quote:
[module] => ujGoogleMaps
[mode] => place
[location] => Corner Brook, NL, Canada
[maptype] => roadmap
And after:
Quote:
[module] => ujGoogleMaps
[mode] => place
[location] => Corner
[Brook,] =>
[NL,] =>
[Canada] =>
[maptype] => roadmap
Should it be doing that?

Thanks
updated by @ultrajam: 09/15/16 01:41:41AM
SteveX
@ultrajam
06/06/16 06:59:32AM
2,589 posts

Not working right


GoogleMaps

Thanks for that Ken, I can see the problem.

The address needs the spaces to be replaced by a +

I'm not sure if it is the Google Embed API, TinyMCE or Jamroom which has changed but I will look into finding a fix soon.

Meantime you can get that working by adding the + manually:
[jrEmbed module="ujGoogleMaps" mode="place" location="Corner+Brook,+NL,+Canada" zoom="18" maptype="roadmap" width="100%" height="300" ]
http://xdev4.ultrajam.co.uk/stevex/page/3/corner-brook-map-test

The embed doesn't have a preview or searchahead dropdown on the field. You need to use the main googlemaps form field for that as it uses a different API with those features.
updated by @ultrajam: 06/06/16 06:59:48AM
  76