Forum Activity for @ultrajam

SteveX
@ultrajam
01/16/15 03:45:35PM
2,587 posts

gallery oddness (last image dropping below rest)


Design and Skin Customization

        {if $item@iteration == 4 || $item@iteration == 8}
        </div><div style="clear:both"></div>
        {/if}
You are only telling it to do the first 2 rows.

Try something like
        {if $item@iteration == 4 || $item@iteration == 8 || $item@iteration == 12}
        </div><div style="clear:both"></div>
        {/if}
and it will do the first 3 rows.
SteveX
@ultrajam
01/14/15 03:15:31PM
2,587 posts

Search and Passwords


Jamroom Developers

paul:SteveX - Does your Google Maps module have this ability?

No, it doesn't, but ujGoogleMaps would make a great start . More search (cowbell) would be a good addition to the module, a mapped radius search might be useful. Showing the results on a map would be what googlemaps does, and it will already do it if you pass in your array of markers (and a marker template for a popup within the map).

You'd need to get your users near the searched for zipcode, then pass their data into the ujGoogleMaps_map smarty function as items (or a custom array of markers) and a marker template. You should then be able to use that same items array to do a normal jrCore list - ujGoogleMaps just shows them on a map at the top of the page.

I probably won't be able think about it for at least a month or more, but I would like to expand on googlemaps, or (more likely) make some additional modules to take advantage of it. ujProximity might be a good additional module to make. The idea of ujGoogleMaps was to show anything on a map, and to have a really really simple interface for adding maps for users who can't read maps.
updated by @ultrajam: 01/14/15 03:19:25PM
SteveX
@ultrajam
01/14/15 06:57:29AM
2,587 posts

jrPoll embed and jrUpimg_allowed


Jamroom Developers

I discovered the lang_documentaton one after a while of scratching my head and checking my spelling dozens of times - couldn't see why it wasn't working, until I saw that I had to misspell it in order for it to work.

Not sure about jrDocs_item_index_order_button or why it has no alt text, I noticed it in the html output rather than in the code.
SteveX
@ultrajam
01/13/15 03:41:49PM
2,587 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,587 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,587 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,587 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,587 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,587 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,587 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 :)
  124