Forum Activity for @ultrajam

SteveX
@ultrajam
06/06/16 06:00:07AM
2,589 posts

Not working right


GoogleMaps

Hi Ken

Initial test of the embed seems to be working:
A location:
http://xdev4.ultrajam.co.uk/stevex/blog/8/embed-map-test

A search:
http://xdev4.ultrajam.co.uk/stevex/page/1/map-embed-on-page-test

Do you have a link to a page where the embed is failing? Are you entering a search or location that Google can actually respond to?

Thanks
updated by @ultrajam: 06/06/16 06:12:04AM
SteveX
@ultrajam
06/03/16 12:07:36AM
2,589 posts

_init() doesn't need 'editor_button'


IpsumJam

It was the dns, give that a try now and it should be working fine.
SteveX
@ultrajam
06/02/16 03:44:50PM
2,589 posts

_init() doesn't need 'editor_button'


IpsumJam

The problem seems to be with the dns rather than jamroom or ipsumjam.

I'm out of time for now, and won't be able to troubleshoot it until the end of next week, sorry for the inconvenience.

Have you used it recently? Do you know when it last worked without the error?

Thanks
updated by @ultrajam: 06/02/16 04:07:07PM
SteveX
@ultrajam
06/02/16 02:06:26PM
2,589 posts

_init() doesn't need 'editor_button'


IpsumJam

I'm looking into it now Douglas, thanks for letting me know.
SteveX
@ultrajam
06/02/16 05:43:46AM
2,589 posts

php warnings from smarty templates


Jamroom Developers

I have found a way to get the error reporting back to something more manageable, and closer to how I remember it reporting.

In jrCore_parse_template, unless developer mode is on I set
$GLOBALS['smarty_object']->error_reporting = 0;

This gets me back to listing php notices for scripts, with nothing reported from the smarty templates.
SteveX
@ultrajam
06/01/16 08:35:42AM
2,589 posts

Display a New Module Template?


Design and Skin Customization

If you are still looking at $_post there is this:
https://www.jamroom.net/ultrajam/documentation/code/1683/reading-the-post

$_user.profile_id will be the id of the user looking at the page, it will show the user's items from all profiles. If $_post is available and its a profile template, use $_post._profile_id to show things from that profile
SteveX
@ultrajam
06/01/16 02:18:08AM
2,589 posts

Media Url Scanner


Using Jamroom

Great stuff, that works perfectly now.

After updating the modules I continued to get errors, but found the reason for that - my Youtube v3 API Key had a space before and after. Although that works when you paste the url from the activity log into a browser, it fails via curl. I removed the spaces and everything worked fine, maybe the API key should be trimmed?

Thanks!
SteveX
@ultrajam
05/20/16 11:46:27AM
2,589 posts

Media Url Scanner


Using Jamroom

Thanks Michael :)

I'm on holiday at the moment so I can't give that a try (can only ftp into the server from within the work network), but I will when I return.
SteveX
@ultrajam
05/18/16 07:04:06AM
2,589 posts

Media Url Scanner


Using Jamroom

Yes, it says "API Key is configured" for youtube.

Consumer key and secret are not set for Vimeo, but vimeo urls are converted to embeds fine.
SteveX
@ultrajam
05/18/16 05:13:13AM
2,589 posts

Media Url Scanner


Using Jamroom

I'm on the right track, but I think it may be the jrYouTube module after all. I've run out of time for now.

There is definitely a problem within jrYouTube_extract_id, as http://youtu.be is hard coded, yet the urls I get from youtube are all https. So all youtube embeds fail at that point in jrYouTube_url_found_listener.

If I do pass a correct youtube id in at that point, jrYouTube_get_feed_data fails because of the curl call to youtube. I have an api key but cant validate the domain as that requires a different department to change the MX records. Seems overly complicated in order to embed a youtube?
---------
Update: I have validated the site (you can also do that through the search control panel by uploading a file), but the curl request still returns a 400 Bad Request.

Thanks
updated by @ultrajam: 05/18/16 06:18:38AM
  77