Forum Activity for @ultrajam

SteveX
@ultrajam
06/15/18 08:48:34AM
2,584 posts

After Marketplace update errors in console


Using Jamroom

Updating modules, after the Marketplace update I keep having to refresh the update page to update the next item.
An error is written to the Firefox Web Console:
Quote: ReferenceError: jrMarket_update_item is not defined[Learn More]

updated by @ultrajam: 09/16/18 08:00:51PM
SteveX
@ultrajam
06/14/18 04:01:21AM
2,584 posts

Conditional Form Fields


Jamroom Developers

If you just want to show/hide fields depending on value you can add javascript to the form.
The field name will be the field's id, and the table row you want to show/hide is the parents parent. There is more to do if it's an image field etc, but for most field types this:
	$_options = array(
		'show' => 'show',
		'hide' => 'hide'
	);
    $_tmp = array(
        'name'      => 'mymodule_show_hide',
        'label'     => 'show or hide the checkbox field',
        'help'      => 'help!',
        'type'      => 'select',
        'options'	=> $_options,
        'required'  => false
    );
    jrCore_form_field_create($_tmp);
    
    // Checkbox shown or hidden depending on above
    $_tmp = array(
        'name'      => 'mymodule_target',
        'label'     => 'check this',//777
        'help'      => 'check this help',//777
        'type'      => 'checkbox',
        'default'   => 'off',
        'validate'  => 'onoff'
    );
    jrCore_form_field_create($_tmp);

    $_tmp = array('
    if ($("#mymodule_show_hide").val() == "hide") {
		$("#mymodule_target").parent().parent().hide();
		$("#mymodule_target").val("off");
    }
    $("#mymodule_show_hide").change(function(){
    	if ($(this).val() == "hide") {
			$("#mymodule_target").parent().parent().hide();
			$("#mymodule_target").val("off");
    	} else {
			$("#mymodule_target").parent().parent().show();
    	}
    });
    ');
    jrCore_create_page_element('javascript_ready_function',$_tmp);
SteveX
@ultrajam
06/12/18 01:15:42PM
2,584 posts

Help removing pager


Using Jamroom

That doesn't seem right.

Check that you are looking at the right template (by putting "XXXXXXXX" into the template right before the jrCore_list function).

Then check that there isn't a pager in the template after the one you are looking at.
SteveX
@ultrajam
06/12/18 10:11:52AM
2,584 posts

Help removing pager


Using Jamroom

It's in the jrCore_list function, but I had expected to see pager=true in there. Try removing this:
page=$_post.p
If that doesn't work try adding pager="false"
SteveX
@ultrajam
06/10/18 11:55:03PM
2,584 posts

How to Change names of icons and titles


Using Jamroom

In the Admin Control Panel (ACP) you can edit all of the language strings for each module and skin. Click on the Lang tab in the ACP
SteveX
@ultrajam
06/10/18 04:14:09PM
2,584 posts

Regarding Youtube


Installation and Configuration

Try removing the spaces from the urls.

If that doesn't work copy and paste the generated html (use the browser's View Source and search the page for "iframe"). When you paste it here on the forum you need to put it within code brackets or it won't show - click the BBCode Help button for help (it's below the text box next to the Attach File button).

Then paste the whole iframe code from the smarty template (also within code brackets).
SteveX
@ultrajam
06/10/18 08:45:44AM
2,584 posts

Regarding Youtube


Installation and Configuration

Add it to the end of the youtube.com urls:
youtube.com/v/{$youtube_id}&hl=en&fs=1&autoplay={$params.auto_play}&rel=0 
SteveX
@ultrajam
06/09/18 05:58:31PM
2,584 posts

Is it possible to merge two groups?


Using Jamroom

I don't think that will work with GDPR , your users need to "opt in" for any changes. You can't assume, nor ask for their agreement by default (e.g. "you agree to be moved to a different group later if we feel like it").

If you have zero activity, well that's a different problem. Merging inactive groups is a waste of time. Merging an inactive group into an active group is high risk, don't dilute your active group and kill it.

Imagining group activity in advance of it happening is a huge waste of time, a fool's errand. You just have to watch and learn.
SteveX
@ultrajam
06/09/18 05:24:10PM
2,584 posts

How to clear Simple Chat data ?


Using Jamroom

Solve your problem by preventing it:
SteveX:
Limit the size of the upload, or make a simple module to delete your chat uploads after 24 hours.
  6