Forum Activity for @ultrajam

SteveX
@ultrajam
01/13/15 03:41:49PM
2,584 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

Ok, thanks Michael and Brian. :)

I’ve got a few notes on things I’ve noticed looking through code and validation. None of them are important or cause errors (apart from validation) so I’ll post them here rather than creating separate threads (unless you really want separate threads):

———————

In each of the the section templates, if there is no title entered <a id=""></a> is printed in the html which causes a validation error.
This can be fixed with a check:
{if $doc_title_url}<a id="{$doc_title_url}"></a>{/if}

———————

In item_category_index.tpl
{jrCore_lang module="jrDocs" id="53" default="Documentation" assign="lang_documentaton"}
{jrCore_page_title title="`$lang_documentaton` - `$category` - `$profile_name`"}
lang_documentaton looks like a typo, although obviously it works ok.

———————

jrDocs_item_index_order_button
we get alt="" on an a tag, fails validation

———————

And a typo in jrEmbed
The language string in en-US.php is
$lang[1]  = 'Embed this Media';
Whilst the default text in tabs.tpl is
<title>{jrCore_lang module="jrEmbed" id="1" default="Insert Media"}</title>

———————

Also, I’m wondering if jrBlog may be missing a quota.php file - it was there as a stub until jrBlog-release-1.0.10 but hasn’t appeared in the past 3 releases. Maybe other code has changed and a quota.php stub is no longer needed?

———————
SteveX
@ultrajam
01/13/15 03:09:35PM
2,584 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

Yes that's it.

function jrPoll_tinymce_popup_listener($_data, $_user, $_conf, $_args, $event)
{ fdebug("jrPoll_tinymce_popup_listener",$_user); if (isset($_user['quota_jrUpimg_allowed']) && $_user['quota_jrUpimg_allowed'] == 'on') {
With this in the jrPoll listener function, $_user is printed to the debug log, but there is no $_user['quota_jrUpimg_allowed'] in the array. And I can find no setting anywhere to change that.
SteveX
@ultrajam
01/13/15 01:04:12PM
2,584 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

I meant the quota config for jrImage, there doesn't seem to be anywhere to set allowed for quota for images - quota_jrUpimg_allowed. I am guessing that is why jrPoll embed tab doesn't appear for me (logged in as admin).
SteveX
@ultrajam
01/13/15 11:16:39AM
2,584 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

The only way I can get jrPoll to appear in the tinymce popup embed window is to comment out the jrUpimg_allowed condition.

Tried integrity check, empty caches etc, but unless I comment that out it will not appear.

Looking at jrUpimg quota config, there is no quota setting appearing under the quota tab, although the stub is there in quota.php.
updated by @ultrajam: 02/15/15 07:36:49PM
SteveX
@ultrajam
01/13/15 04:11:20AM
2,584 posts

jQuery


Jamroom Developers

That's it, in the skin or module js file, or as a link in a template.

Or you can create a really simple module with just the init function (to register the js file) and the js file itself.
SteveX
@ultrajam
01/12/15 05:17:26AM
2,584 posts

Marketplace Error


Installation and Configuration

Try entering your Marketplace Email and Marketplace System ID which you can find under Your Licenses in your account menu here on Jamroom.net.

If it still doesn't connect, could be that you are on a network which prevents access? I get the same message on the intranet where I work.
SteveX
@ultrajam
01/11/15 09:38:21AM
2,584 posts

Wrong icons displayed in jrElastic


Using Jamroom

They're back! I had previously reset the icon cache twice, and twice again just now, so a little odd.

Thanks Brian :)
SteveX
@ultrajam
01/11/15 08:32:01AM
2,584 posts

Wrong icons displayed in jrElastic


Using Jamroom

Does anyone else see this? Could be something I've done but it would be a while back if it is... (but all I have done in the past is added an icon)

I emptied my icon cache last night, updated modules this morning, and now I am seeing the wrong icons throughout jrElastic.

For example this rss icon in jrBlog - the html looks fine, but it shows the magnifying glass:
<span class="sprite_icon sprite_icon_30">

    <span class="sprite_icon_30 sprite_icon_30_img sprite_icon_30_rss"></span>

</span>

updated by @ultrajam: 02/11/15 11:03:15PM
SteveX
@ultrajam
01/03/15 05:24:43PM
2,584 posts

Why Do Images Default to this Value?


Design and Skin Customization

There are other crop values - none, 16:9, 4:3 (actually any ratio x:y), width, height, square, portrait... The docs are on this page:
https://www.jamroom.net/the-jamroom-network/documentation/development/1599/the-image-system
But it looks like that page needs updating, there are now more crop parameters than mentioned there.

In a template there will be a smarty jrImage_display function, you can add "crop=16:9" to that call.

I expect that scaling will be controlled by facebook's css but you could try adding the class "img_scale" or "img-responsive".

I can't help with which template for facebook though, sorry, but that's how to change it when you find it. I'm expect one of the team will be able to help further.
updated by @ultrajam: 01/03/15 05:25:20PM
SteveX
@ultrajam
01/03/15 05:06:19PM
2,584 posts

Carousel Does Not Work.


Installation and Configuration

If you mentioned the skin, and the context (which page within the skin, a link to it would be best), it will be possible to help you out.
  124