Forum Activity for @ultrajam

SteveX
@ultrajam
02/20/16 12:59:02PM
2,589 posts

Pie charts examples using Flot / jrGraph?


Using Jamroom

I actually ended up bypassing jrGraph js by using php to draw the pie chart and save it as an item image when saving or updating the item. That way I don't need to cache it and can use the same image to print into a pdf (one of the requirements of the design is for the item to be saveable as a pdf).
SteveX
@ultrajam
02/20/16 03:46:14AM
2,589 posts

Pie charts examples using Flot / jrGraph?


Using Jamroom

I have registered my graph function and added my graph template to my module.

In the graph function I add the flot pie chart js to the javascript_href_footer (the pie plugin script is already in the flot contrib directory).

If I hard code my data into my graph template it works ok, but I'm stuck with passing graph data into the template either via the jrGraph_embed function or via my custom graph function.

What I'd like to be able to do is pass in $override_data in some way, maybe in the smarty function eg:
{$override_data='[{ label: "Series1",  data: 10},{ label: "Series2",  data: 30},{ label: "Series3",  data: 90},{ label: "Series4",  data: 70},{ label: "Series5",  data: 80},{ label: "Series6",  data: 110}]' }
{jrGraph_embed module="ujPlanner" name="graph_pie_chart" override_data=$override_data}
Or in the registered function, eg:
$_rs['override_data'] = array("Series1" => 10,"Series2" => 5,"Series3" => 11,"Series4" => 7);

For now though I think I'm going to have to parse a non-jrGraph graph template within my module so that I can get my item data to appear as a pie.
SteveX
@ultrajam
02/17/16 08:29:12AM
2,589 posts

List / pagination problem with custom module


Jamroom Developers

I have fixed this by adding another search condition, but still interested to know what might have changed there.
SteveX
@ultrajam
02/17/16 07:49:07AM
2,589 posts

List / pagination problem with custom module


Jamroom Developers

After updating to 5.3 we have some problems with profile item listing and pagination in a custom module.

There are now many additional "blank items" listed using item_index.tpl with all of the actual items appearing on the last page. So we have 6 workbook items here: http://academicskills.uwe.ac.uk/general/workbooks/p=25 but now we have to go through to page 25 to see them - previously they were all on the first and only page.

This from item_index.tpl
    {capture name="row_template" assign="template"}
        {literal}
            {jrCore_module_url module="ujMicroSite" assign="murl"}
            {if isset($_items)}
            {foreach $_items as $_page}
            <div class="item">
                <h2><a href="{$jamroom_url}/{$_page.profile_url}/{$murl}/{$_page.micro_category_url}">{$_page.micro_category}</a></h2>
            </div>
            {/foreach}
            {/if}
        {/literal}
    {/capture}

    <div class="block_content">

        {jrCore_list module="ujMicroSite" profile_id=$_profile_id group_by="micro_category" order_by="micro_category asc" template=$template pagebreak="12" page=$_post.p pager=true}

    </div>
The workbook pages are similar to jrDocs pages (multiple sections in pages which are grouped into books using a category field). I don't think there is anything in listeners which would relate to this.

Any ideas how the 5.3 code may have caused this? Or how to fix it?

Thanks


updated by @ultrajam: 05/19/16 06:07:59PM
SteveX
@ultrajam
02/17/16 02:35:51AM
2,589 posts

Dating Site Template


Design and Skin Customization

I have dated a number of Jamrooms over the years. Some of them were excellent company and we had a lot of fun, but I haven't found "the one" yet. ;)
SteveX
@ultrajam
02/16/16 01:45:53AM
2,589 posts

YouTube Video Gallery Scheduling


Suggestions

And Mozilla folded their project - I dont think popcorn has much of a future.
SteveX
@ultrajam
02/15/16 09:07:17AM
2,589 posts

YouTube Video Gallery Scheduling


Suggestions

Brian, Popcorn was a very nice Mozilla project which mixed various kinds of media on a video editor type of timeline. It was a part of their webmaker education project, not related to popcorn time in any way.
SteveX
@ultrajam
02/15/16 06:21:53AM
2,589 posts

YouTube Video Gallery Scheduling


Suggestions

Mozilla's own site using popcorn (one of the webmaker sites) went away a while ago, not sure why.
SteveX
@ultrajam
02/15/16 06:02:18AM
2,589 posts

Explaining the Sign up form, a two-way problem, and a possible two-in-one solution


Using Jamroom

Might be best to keep your signup form very simple placing signups in a very simple quota which requires no approval.
Once they are signed up, ask for your more complicated information and then move those who are suitable into your intended quota.
Keeping things very simple at the point of signup also allows you to use FB, Twitter etc to create an account.
SteveX
@ultrajam
02/05/16 01:14:11PM
2,589 posts

Designing a profile form for profiles in Quota X, and a different form for profiles in Quota Y


Using Jamroom

If you try some of these things out using the Form Designer you will be able to figure it out in much less time than it takes you to formulate your lists of questions. Most of these tasks are really quite straightforward when you try to action them. Overthinking things will just waste your time.

Try things out. You should then be able to focus your questions on your actual needs, and make it possible for someone to answer helpfully. Try things out on a test site and you will gain perspective and save yourself a lot of time.

As far as your users go, I have found that academic-type users (I think that's your market) really appreciate simplicity in a quota structure. They don't have anywhere near enough time to learn new stuff in order to make use of a good tool. They will deliberately avoid anything which requires them to spend time figuring out if their time investment is worth it or not. Keep your quota structure simple and flexible at the start, then reorganise it when practical branchings become clear.

To that end, for point 5 above, give them the same sub and help text. e.g. "Users on a Members account get 2 links but members on a Pro account get 3 links.

That text also tells them that they should upgrade in order to gain better features. They will get that, they aren't stupid, just afraid of losing a lot of time that they don't have.
  74