Forum Activity for @michael

michael
@michael
12/13/13 10:25:38PM
7,832 posts

(Fixed) - Foxycart help


Installation and Configuration

'downloadable' on foxycart is for when the file that is to be downloaded has been uploaded to the foxycart servers.

So in Jamroom's case, the downloadable file will be delivered via jamroom, not foxycart.

So your right to not choose 'downloadable' on foxycart.
michael
@michael
12/12/13 10:39:21PM
7,832 posts

Add Profile Field for Short Bio - Show Characters left


Design and Skin Customization

its possible to do by changing form_field_elements.tpl to this:

    {if $type == 'textarea' && !isset($theme)}
        {if $max > 0}
            <script language="JavaScript">
                $("#{$name}").charCount({ allowed: {$max}, warning: 20, mainID: '{$name}' });
            </script>
            <span class="" id="{$name}_counter">{$min}:<span id="{$name}_num">{$max}</span></span>
        {/if}
        <a onclick="var e=$(this).prev();var h=e.height() + 100;e.animate( { height: h +'px' } , 250);">{jrCore_icon icon="arrow-down" size="16"}</a>
    {/if}

and /jrAction/js/char_count.js to this:
(function($) {

	$.fn.charCount = function(options){

		// default configuration properties
		var defaults = {
			allowed: 140,
			warning: 20,
			cssWarning: 'action_warning',
			cssExceeded: 'action_exceeded',
            mainID: 'action_text'
		};
		var options = $.extend(defaults, options);

		function calculate(obj){
			var count = $(obj).val().length;
			var available = options.allowed - count;
			if (available <= options.warning && available >= 0){
				$('#'+options.mainID+'_counter').addClass(options.cssWarning);
			} else {
				$('#'+options.mainID+'_counter').removeClass(options.cssWarning);
			}
			if (available < 0){
				$('#'+options.mainID+'_counter').addClass(options.cssExceeded);
			} else {
				$('#'+options.mainID+'_counter').removeClass(options.cssExceeded);
			}
            $('#'+options.mainID+'_num').html(available);
		};
		this.each(function() {
			calculate(this);
			$(this).keyup(function(){calculate(this)});
			$(this).change(function(){calculate(this)});
		});


	};

})(jQuery);

But I'm not sure if that should go into core or not, ill ask the others. It will make having Javascript turned on necessary rather than optional for that to work.

See what they say.
michael
@michael
12/12/13 09:23:00PM
7,832 posts

Add Profile Field for Short Bio - Show Characters left


Design and Skin Customization

I think that countdown functionality is there on the activity updates.

Are you meaning adding it in as a core feature for all form designer limited fields or how to do it custom for your site?
michael
@michael
12/12/13 09:21:08PM
7,832 posts

blank page after up date


Off Topic

try updating again.

If that fails run the integrity check, then try again.

If that fails, follow the instructions here:
http://dubmusic.com/repair.php.html
michael
@michael
12/12/13 09:18:54PM
7,832 posts

welcome to Jamroom


Off Topic

click on it, go to where it is, then click the update button.

Change it to what you want it to read.
michael
@michael
12/12/13 06:56:47PM
7,832 posts

tinymce image uploads very small


Using Jamroom

the image url will be something like:

site-com/upimg/image/upimg_file/5

no size so its using the small one. you can add a size with:
site-com/upimg/image/upimg_file/5/xxxlarge

so the big size of the image gets used.

Might need to make 'no-size' equal the original size of the image.
michael
@michael
12/12/13 06:49:38PM
7,832 posts

Foxycart and Downloadable Audio


Design and Skin Customization

all the letters made my head hurt.

If the question is "why isn't my download button showing in some sections?" It could be that your using the wrong variables for those sections.

Not all variables are the same everywhere.

To figure out the right variable for the {if....} put {debug} in the location that your trying to use it.
michael
@michael
12/11/13 03:26:38PM
7,832 posts

CSS Override


Design and Skin Customization

ba9801:
I Never received it @michael. Can you send it again?

cant send it again, it should still be there:
https://www.jamroom.net/note/notes
  755