Forum Activity for @michael

michael
@michael
03/30/18 09:17:26PM
7,826 posts

Why are all signups and logins showing in Timeline for the site?


Using Jamroom

I'm not seeing login and signup events being recorded to my development system.

Anyhow, if you are the output for the actions to the timeline is controlled by the same as all the other list building systems {jrCore_list}.

Docs: "jrCore_list"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/89/jrcore-list

so you can filter out what you dont want in any location. The template that controls the activity list on the persons profile is the item_index.tpl file for the jrAction module.

Check your skin for an jrAction_item_index.tpl file first, if its not there then use another method to override the modules template.

Docs: "Altering a modules template"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1051/altering-a-modules-template
michael
@michael
03/30/18 08:33:49PM
7,826 posts

jrCore_page_set_no_header_or_footer breaks javascript added to form in modal


Jamroom Developers

yes. Why yes there is. :)
jrCore_page_set_meta_header_only();

--edit--
You might find this useful too perhaps:
    $html = "
    <script>
        $(document).ajaxSuccess(function (event, request, settings, data) {
            if(typeof(data.form_name) != \"undefined\" && data.form_name == 'ajax_create_save') {
                jrSeminar_load_calendar('seminar_calendar_box', 'current');
            }
        });
    </script>";
    jrCore_page_custom($html);

    jrCore_page_display();

"After that bit of ajax finishes loading, fire this function......." because on.document.ready doesnt work for ajax loaded content. send the form name back with the json_response:

......
    jrCore_form_delete_session();
    jrUser_reset_cache($_user['_user_id']);
    $_resp = array(
        'form_name'   => 'ajax_create_save',
        'success'     => 1,
        'success_msg' => "the new seminar got created"
    );

    jrCore_json_response($_resp);

updated by @michael: 03/30/18 08:38:52PM
michael
@michael
03/29/18 04:39:33PM
7,826 posts

Setting cross origin on images using jrImage_display


Using Jamroom

Its already in the next version of jrImage. That version 2.0.9 has been released to the marketplace. You can use it now.
michael
@michael
03/29/18 04:27:53PM
7,826 posts

Setting cross origin on images using jrImage_display


Using Jamroom

Pretty sure thats what you want. Its in jrImage 2.0.9 which is in the marketplace now. Update and you can use like this:
{jrCore_module_function function="jrImage_display" module="jrSeminar" type='seminar_image' item_id=201 size="medium" class="img_scale" alt="seminar poster" crop="16:10" crossorigin="allowed"}
michael
@michael
03/29/18 04:21:15PM
7,826 posts

Setting cross origin on images using jrImage_display


Using Jamroom

could you confirm this looks correct please. If yes, it will be in the next version of jrImage.
origin.jpg origin.jpg - 70KB

updated by @michael: 03/29/18 04:21:28PM
michael
@michael
03/29/18 04:16:08PM
7,826 posts

Setting cross origin on images using jrImage_display


Using Jamroom

Its possible right now to add in the crossorigin="anonymous" via a listener on the 'img_src' event.

Looks like as a param is not supported at the moment. May be easy to add though, still looking.
event.jpg event.jpg - 226KB
michael
@michael
03/29/18 04:08:32PM
7,826 posts

Setting cross origin on images using jrImage_display


Using Jamroom

weird. The only thing that occurs to me right now is the jrCore_module_function function infront of it. That one just checks to see if that function exists before calling it. But the jrImage_display function should always be available.

So the guess is that jrCore_module_function is running before the jrImage_display has been included so its not firing first time.

I'll have a play around and report back.
michael
@michael
03/29/18 03:29:35PM
7,826 posts

Setting cross origin on images using jrImage_display


Using Jamroom

all jrCore_image does is construct the url into a
<img src=........>
structure.

If you're making the src url
 {jrCore_module_url module="jrEvent" assign="murl"}
{$jamroom_url}/{$murl}/image/event_image/{$params['item']['_item_id']}/original/poster.jpg
then its the same URL as would be output by the jrImage_display function.

Tweak as necessary.

If it NEEDS to be addable in via a param im sure it could become an option.
michael
@michael
03/27/18 01:51:48PM
7,826 posts

Live Sites with GoogleMaps module?


Using Jamroom

great looking site Paul.

Here's another one:
https://aikidotravel.com/seminar/56/aikido-masters-around-the-world

The maps Form Field is used to add the location of the event, then events are plotted on the time map from the Genosis package.

Also the events can be shown as distance from the user. eg "show me events within 2000km of where I am"
https://aikidotravel.com/seminar/near/2000
michael
@michael
03/26/18 06:28:33PM
7,826 posts

Celebrity Skin Biography


Design and Skin Customization

You have total control over your site. If its not wide enough, the issue is probably CSS. Adjusting something in your skins CSS files found at:

/skins/YOUR SKIN/css/(any of the files in here).css

will effect how your site looks.
  138