Forum Activity for @michael

michael
@michael
01/10/17 02:25:15PM
7,832 posts

Unable to embed images with an apostrophe in the image filename.


Using Jamroom

Yeah that certainly could be an issue. Its likely that the templates need to have an |jrCore_entity_string added to the location of the output image.

What I'm thinking is that that apostrophy is screwing up the HTML. Guessing the image is trying to get out to the page, but the broken HTML is causing it not to show.

Got a URL of a page where the image is added but not showing?
michael
@michael
01/10/17 02:21:11PM
7,832 posts

6.0.4 to 6.0.5 core update not completing


Design and Skin Customization

make sure the site that is not updating correctly has the latest version of php. I heard this was a problem on php 5.4 and once the server was updated to 7.0+ the issue went away.
michael
@michael
01/10/17 02:18:18PM
7,832 posts

Limiting responses from a twitter script


Using Jamroom

Well done. Its possible that someone will come along later and read this thread and have the same issue you had. If you could outline how it is done for the next person I'm sure that will be appreciated.

Thanks.
michael
@michael
01/10/17 02:14:04PM
7,832 posts

Login Event Listener


Jamroom Developers

Listeners are all over the place in the code. Often there are several different listeners that COULD be used to get your adjustments in where you want them.

The most up-to-date docs are in the docblocks of the functions themselves in the code, so if you're using an IDE for your development, it should have facilities to bring up the docblocks. ( we like phpstorm, but there are many good IDE's )

For me, when I want to locate a suitable listener for a location I take a look around the area I'm wanting to effect and see if there are any jrCore_trigger_event() functions, then use that listener.

(screenshot search for event triggers in jrUser module)

After running a search for event triggers on the jrUser module, it returns a list of possible triggers.

The one with the most likely name seams to be "login_succcess".

Thats probably the one you're after.

The explanation for that even is "Fired when a user successfully logs in".

Try that one.
screenshot_event_triggers.png screenshot_event_triggers.png - 262KB
michael
@michael
01/10/17 02:03:56PM
7,832 posts

glitch when posting links to site media urls in comments/posts


Using Jamroom

Thinking the desired result when using the 'link' button is to just have the link behave as a link and not converted to a media URL card?

Questions in my head:
* does a link pasted into the editor behave the same as a link added to the location using the link button
A: Thinking no. Thinking they should behave differently. Thinking a plain URL should get turned into a card, but a link put there with the 'link' button should just be a flat link, not converted.

Does that feel right to you too?
michael
@michael
01/10/17 12:30:47PM
7,832 posts

glitch when posting links to site media urls in comments/posts


Using Jamroom

Think I can see whats happening here, when you use the 'link' button and insert a URL it puts the title of the link as the same URL as the actual link.

eg:
<a href="https://www.youtube.com/watch?v=FdBF6h7oH5I">https://www.youtube.com/watch?v=FdBF6h7oH5I</a>
Then the Media URL Scanner is transforming one of those links into an actual link.

If you use a different title for the link than the link itself, I expect the issue doesnt occur.

eg:
<a href="https://www.youtube.com/watch?v=FdBF6h7oH5I">A link to a video</a>

Will look for a fix for this issue.
michael
@michael
01/10/17 01:57:41AM
7,832 posts

glitch when posting links to site media urls in comments/posts


Using Jamroom

looks related to the URL scanner system. Thanks for the detailed setup info, will try to reproduce now.
michael
@michael
01/10/17 01:51:00AM
7,832 posts

Getting error with Audio


Using Jamroom

looks like that error is not skin related, but domain related.

Seeing this:
HTTP load failed with status 403. Load of media resource http://musicpronet.com/uploaded_audio/stream/audio_file/8/key=fYRH70y6wavm/file.mp3 failed.
http://teknatronik.breakbeats.pro/uploaded_audio/8/gunslinger
Line 0

even from the details page here:
http://teknatronik.breakbeats.pro/uploaded_audio/8/gunslinger

Seams to be because the URL wanting to be loaded is from this domain:
http://musicpronet.com

But the URL doing the loading is
http://teknatronik.breakbeats.pro

Got a jamroom module doing that domian re-configuring?
michael
@michael
01/10/17 01:18:47AM
7,832 posts

search issue on new skin


Design and Skin Customization

bootstrap has its own .modal() function so likely you're getting a clash of the jamroom version and the bootstrap version.

I tried releasing a bootstrap base skin for the Open Source community to build on if they wanted. That structure is here:

could fork it and use that I guess:
https://github.com/ussher/bootstrap

Otherwise, you'll want to find a way to stop the clashing and have just one .modal() used when modal tries to open. I think that issue was addressed in the github code, but it wont be as up-to-date as the current jrElastic is.
michael
@michael
01/10/17 01:13:08AM
7,832 posts

Embedding Twitter timeline widget on site


Design and Skin Customization

no problems with that working here. I put it into a Site Builder 'Template Code' widget and it showed up.

Worked better than expected actually. If you put it in a 12 col location it expands the full page, if you put it in a 3 col location, it still looks good.

It wont work if you paste it in a blog because the SCRIPT would be stripped. Too much of a security risk to let any users throw scripts into your site.
  294