Forum Activity for @ultrajam

SteveX
@ultrajam
12/20/13 01:10:54AM
2,589 posts

Php Errors


Installation and Configuration

More info on the notices here:
https://www.jamroom.net/the-jamroom-network/forum/jamroom-developers/3649/jrlaunch-error

If you turn off developer mode you will only see the errors, not the notices.
SteveX
@ultrajam
12/20/13 01:08:18AM
2,589 posts

Aparna with Nova Skin


Installation and Configuration

My conclusion on renaming audio modules was that it was best to leave the prefix as "audio".

You can have multiple modules using the same prefix, so jrAudio will coexist with myAudioBook and myRingtones and all can use the same prefix "audio".
SteveX
@ultrajam
12/19/13 02:08:32PM
2,589 posts

click this button. Jamroom migration system.


Off Topic

Yes serin, total agreement here provided cms2cms works well, I haven't tried it.

Great idea though.

I'd love to sponsor a feature where you could export troublesome users to a different cms entirely. And also sponsor a sister feature for the jamroom.net forum - a profile "push" button. Every time an Iz manages to extract his 45 seconds from my day I get to punch a "push" button on their profile. They reach a certain level or frequency of user "pushes" and cms2cms converts all their sites to wordpress. Jamroom would notify the user.

I'd have to get a bar job as well, but what would it cost to sponsor a feature like that?

Personally, I like this thread in off-topic too. You get a different response outside of the workplace.
updated by @ultrajam: 12/19/13 02:10:37PM
SteveX
@ultrajam
12/19/13 03:34:17AM
2,589 posts

jrLaunch Error


Jamroom Developers

Those are php notices not errors - when an error occurs it will be marked as PHP Error.

As well as Errors and Notices you may also see logged PHP Warnings in your log.

You could try turning off developer mode if you don't need to see the notices.

If you do need to see them and need to find the undefined index, the notice tells you which line and which file to look at.
updated by @ultrajam: 12/19/13 03:35:40AM
SteveX
@ultrajam
12/17/13 05:39:29AM
2,589 posts

Adding a js function to a form Cancel button


Jamroom Developers

The problem is that without being able to specify an onclick, you can control what happens on form submit in the submit save php function, and when you have done that you find that you are stuck with a choice of a broken cancel button, or no cancel button at all.

I guess it would be another elseif for any js function to be placed in the onclick:
elseif (isset($cancel_url) && strlen($cancel_url) > 1) {
            $html .= '   input type="button" id="' . $_form['form_params']['name'] . '_cancel" class="form_button" value="' . $cancel_value . '" onclick="' . $cancel_url . '" ';
        }
I've taken out the for the input - the forum didn't print the inputs in the code block in my first post.
SteveX
@ultrajam
12/15/13 05:38:10AM
2,589 posts

Adding a js function to a form Cancel button


Jamroom Developers

I want to add different javascript to the cancel button.

It works fine in a modal, but my form is ajaxed in and I need to run a different js function when the Cancel button is clicked.

It looks like the only js option for the cancel button is to close a simple-modal.

Is there any other way to add a js function to the cancel button during form creation?

Thanks

line 3370 of form.php:

   // and cancel button
    if ($cancel_value || $cancel_url) {
        if (!$cancel_value) {
            $cancel_value = $_lang['jrCore'][2];
        }
        if ($cancel_url == 'referrer') {
            $cancel_url = jrCore_get_local_referrer();
        }
        if ($cancel_url == '$.modal.close();') {
            $html .= '  ';
        }
        elseif (jrCore_checktype($cancel_url, 'url')) {
            $html .= '  ';
        }
        else {
            $cancel_url = jrCore_get_last_history_url();
            $html .= '  ';
        }

What I want to be able to do is:
    $cancel = "myModule_update_div();";
    $_tmp = array(
        'submit_value' => '13,
        'cancel'       => $cancel,
        'values'       => $_rt
    );
    jrCore_form_create($_tmp);

updated by @ultrajam: 01/19/14 04:27:56PM
SteveX
@ultrajam
12/12/13 06:19:50AM
2,589 posts

Sections not correct in forms


Using Jamroom

It's in an enormous form.

I'll try reducing it to the bones later and see if I still see the reordering.
SteveX
@ultrajam
12/12/13 02:40:45AM
2,589 posts

Sections not correct in forms


Using Jamroom

I've jsut updated to 5.1.5 and fields are appearing out of order again on custom module forms with sections.

I haven't tried taking it back down to a simple form again, but jsut wondered if anyone else is seeing this?

Thanks
updated by @ultrajam: 12/12/13 02:41:49AM
SteveX
@ultrajam
12/07/13 02:45:02PM
2,589 posts

Jamroom Core 5.1.4 + PayPal Buy It Now


Announcements

Thanks Paul, but you can always get a like from an english man by mentioning a cup of tea.

I don't really like like it buttons, although the module is pretty cool.
  212