Forum Activity for @michael

michael
@michael
04/01/18 08:25:38PM
7,823 posts

Activity showing Invalid Modules


Installation and Configuration

Try clearing the caches and running repair.php see if that fixes it.

Docs: "Somethings wrong what do I do?"
https://www.jamroom.net/the-jamroom-network/documentation/troubleshooting/114/somethings-wrong-what-do-i-do

If its still an issue after that, re-upload jrCore
michael
@michael
04/01/18 08:23:54PM
7,823 posts

jquery to exclude code from running on index page


Using Jamroom

You can tell what the URI of the page is on the {$_post['uri']} variable. or it maybe {$_post['_uri']}, not sure. put {debug} in to get the exact spelling of the variable.
michael
@michael
03/31/18 08:26:26PM
7,823 posts

jrCore_page_set_no_header_or_footer breaks javascript added to form in modal


Jamroom Developers

just guessing.

Maybe open the modal and store it to a variable:
 var the_modal = $.modal.open()
Then when you want to close it use the variables close function
the_modal.close()
Guess is that the meta include includes another different modal and it doesnt know about the parent modal that it is contained in, so the child modal is closing when you want the parent to close.

Or in the ajax call that brought in the form, once the form is saved, fire another function that closes the window.

Or dont put it in a modal, put it into the page and then re-add the contents after the save is completed or the cancel is clicked.
updated by @michael: 03/31/18 08:26:38PM
michael
@michael
03/31/18 08:00:37PM
7,823 posts

Is a chameleon my code buddy?


Off Topic

Sorry guys, broke the banister and stole your chameleon. Hope you had a great skiing holiday. :)

He's super cute!! nab him.
michael
@michael
03/31/18 01:18:02PM
7,823 posts

Ackk!- private uploaded images now showing in text editor's upload image preview!


Using Jamroom

I've disabled the feature in your
ACP -> MODULES -> FORMS -> EDITOR IMAGE UPLOAD -> TEMPLATES -> jrEmbed_item_list.tpl -> MODIFY

File and commented out the section that shows the images. No images are currently showing in the UPLOAD AN IMAGE tab.

That should douse the fire until I can figure out what the actual cause of the issue is.
michael
@michael
03/31/18 01:09:59PM
7,823 posts

Ackk!- private uploaded images now showing in text editor's upload image preview!


Using Jamroom

can you send me your regular members login details to support at jamroom please. I'm not able to reproduce the situation here.
michael
@michael
03/31/18 12:52:53PM
7,823 posts

Ackk!- private uploaded images now showing in text editor's upload image preview!


Using Jamroom

It should only show images you've uploaded, or all to the admin.

Checking it out now. Sorry for the stress.
michael
@michael
03/30/18 09:17:26PM
7,823 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,823 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,823 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.
  137