Forum Activity for @michael

michael
@michael
12/19/17 06:27:38PM
7,823 posts

Christmas Decorations


Using Jamroom

Great. Change this:
<div class="container">
to this
<div class="container" id="about_section">

Then in the snowstorm.js file change this:
this.targetElement = null; 
to
this.targetElement = 'about_section'; 
and it should work.
michael
@michael
12/19/17 03:05:23PM
7,823 posts

Smarty link to soundcloud with username and title?


Design and Skin Customization

In the Form Designer there is an option to add a DEFAULT value. ( I'm not totally understanding your meaning i suspect though. )
form_field.jpg form_field.jpg - 55KB

updated by @michael: 12/19/17 03:05:43PM
michael
@michael
12/19/17 02:06:32PM
7,823 posts

Smarty link to soundcloud with username and title?


Design and Skin Customization

Don't give up on it. Just need to find a way to make sure you have the right info.

You could use the FORM DESIGNER to add another form field to wherever, maybe the PROFILE SETTINGS form that collects their soundcloud url.

Docs: "Using the Form Designer"
https://www.jamroom.net/the-jamroom-network/documentation/getting-started/1275/using-the-form-designer

Then you WILL have the correct soundcloud profile url.
michael
@michael
12/19/17 01:09:09PM
7,823 posts

Christmas Decorations


Using Jamroom

Not seeing the location of the "...Main page Admin blog section "About"...." but get it working first, then try adjusting the target element in the snowstorm.js file to target the ABOUT section.
snowstorm.jpg snowstorm.jpg - 226KB
michael
@michael
12/19/17 01:02:25PM
7,823 posts

Christmas Decorations


Using Jamroom

Doesn't look like you can confine the snow to just 'inside' with this script strumelia. These are the options it has:
http://www.schillmania.com/projects/snowstorm/#customizing

And I'm not seeing a target to just have it snow inside a section.

It was the first one from the search results though, so if you care to look for a different snow script and can locate one you like that does work inside a box I'm sure we can get that working too.

--edit--
spoke too soon, it DOES look like you can target one div:
this.targetElement = null;      // element which snow will be appended to (null = document.body) - can be an element ID eg. 'myDiv', or a DOM node reference

Will look at what your about div is called, hold on.
updated by @michael: 12/19/17 01:04:37PM
michael
@michael
12/19/17 12:36:56PM
7,823 posts

Smarty link to soundcloud with username and title?


Design and Skin Customization

There is but its no guarantee that the user is going to be on soundcloud or that the generated url is going to be the correct one.

The function to change
this is a long sentence
into
this-is-a-long-sentence
is
{$item.soundcloud_artist|jrCore_url_string}
michael
@michael
12/18/17 07:37:44PM
7,823 posts

TinyMce Image Margin Not Showing in Firefox


Design and Skin Customization

try with !important
p figure {
 margin: 10px !important;
}
Might not make a difference because the javascript is putting its CSS directly on the image element in a style="". Are there settings you can adjust for that javascript?
updated by @michael: 12/18/17 07:37:58PM
michael
@michael
12/18/17 05:09:58PM
7,823 posts

Checkout error


Using Jamroom

Check the GLOBAL CONFIG for the active payment plugin. Just from looking at the code it looks like the having the wrong plugin could be the cause of that error.

Would need admin logins and steps to reproduce to look into it further. If you'd like to send them to support at jamroom I can see if anything jumps out at me.
michael
@michael
12/18/17 01:11:24PM
7,823 posts

The Meaning of "updated" in lists?


Using Jamroom

A module called xxAudioOrder with just an inlcude.php file with this contents:
<?php
/**
 * @copyright noone
 */

// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * meta
 */
function xxAudioOrder_meta(){
    $_tmp = array(
        'name'        => 'AudioOrder',
        'url'         => 'audioorder',
        'version'     => '1.0.0',
        'developer'   => 'noone, &copy;' . strftime('%Y'),
        'description' => 'Update audio files _updated key when comments are added',
        'license'     => 'mpl',
        'category'    => 'custom'
    );
    return $_tmp;
}

/**
 * init
 */
function xxAudioOrder_init(){
    jrCore_register_event_listener('jrCore', 'db_increment_key', 'xxAudioOrder_db_increment_key_listener');
    return true;
}

/**
 * Increment the _update key when a comment is added
 */
function xxAudioOrder_db_increment_key_listener($_data, $_user, $_conf, $_args, $event)
{ if (isset($_data['key']) && $_data['key'] == 'audio_comment_count' && isset($_data['update']) && $_data['update'] == false) { $_rep = array('audio_incremented' => time()); jrCore_db_update_item('jrAudio', $_data['id'][0], $_rep); } return $_data; }
would have the results you're looking for: when a comment is added the audio file's _updated timestamp would be incremented.
michael
@michael
12/18/17 12:17:12PM
7,823 posts

Christmas Decorations


Using Jamroom

oooohhhh, snow! :)

Merry Christmas.
  164