Forum Activity for @michael

michael
@michael
07/27/16 06:08:29PM
7,826 posts

What are YOUR first steps in setting up a Jamroom site?


Using Jamroom

Thanks very much, very helpful :)

I'm writing the "Getting Started" docs

Docs: Getting Started
https://www.jamroom.net/the-jamroom-network/documentation/getting-started

and realize the way I do it, I jump around a lot, so its probably not the recommended method. I'll get your ways added in too.
michael
@michael
07/27/16 06:04:15PM
7,826 posts

Next Item


Jamroom Developers

The gallery module does it, look at an item_detail page on the gallery module. It does it the way brian suggested with jrCore_list calls.
michael
@michael
07/27/16 06:02:25PM
7,826 posts

FoxyCart Transaction Method


Suggestions

There is not in jamroom. The whole reason for using foxycart is to have a single location that can handle multiple payment processors and not have to worry about where the payment came from, just that it was made.

The info is probably available in the foxycart admin panel though.
michael
@michael
07/27/16 05:33:22PM
7,826 posts

youtube embed


Jamroom Developers

Cool, I re-read the docs on on {capture} they were a bit unclear, so I've tried to clarify them. refresh that page now.
michael
@michael
07/27/16 05:02:40PM
7,826 posts

youtube embed


Jamroom Developers

Strumelia:....
"If you know the youtube video you want, you can just ask for it"
-Maybe he's trying to always have the LATEST video from a particular user showing somewhere on his site aside from on their profile- as opposed to embedding one certain video from that user? He did mention 'latest video'.....

Yup, nice one, you're onto it :) . But before we can jump to the complex we first need to get the simple working.

In order to make that code I posted above show the latest video all that needs doing is to replace the 31 with the variable that contains the number of the latest video.

Ah, but how do we get that........ A: It depends on where we are. Maybe that info is available in the {debug} like @paul suggested, but it only will be if we're in some sort of {jrCore_list} like @ultrajam suggested.

Now that we know the full question: "I'm trying to have the latest imported youtube video from the users profile embedded in the profile_index."

We need to add in a way to get the latest video's item_id

{capture assign="template"}
{literal}
    {if isset($_items) && is_array($_items)}
        {foreach $_items as $item}
            {jrYouTube_embed type="iframe" item_id=$item._item_id auto_play=false width="100%"}
        {/foreach}
    {/if}
{/literal}
{/capture}
{jrCore_list module="jrYouTube" order_by="_created desc" search1="profile_id = $profile_id" template=$template limit=1}

The {capture} in the code is to avoid having to add another file to the file system, there are docs on it here:

Docs: "HowTo: use {capture} to avoid using another file for {jrCore_list} calls"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1637/howto-use-capture-to-avoid-using-another-file-for-jrcore-list-calls
michael
@michael
07/27/16 01:58:00AM
7,826 posts

What are YOUR first steps in setting up a Jamroom site?


Using Jamroom

There is no set order in which you HAVE to setup jamroom, so i'm curious. If you were to setup a new jamroom site, what order would you do things in?

Feedback please. :)
updated by @michael: 11/03/16 09:45:35PM
michael
@michael
07/26/16 05:30:24PM
7,826 posts

Question concerning recent updates


Design and Skin Customization

There are 2 locations where the TinyMCE editor are defined, make sure they are both the same.
/modules/jrCore/templates/form_editor.tpl
/modules/jrSiteBuilder/templates/form_editor.tpl
michael
@michael
07/26/16 05:25:33PM
7,826 posts

youtube embed


Jamroom Developers

Where did you get that code from? It seams wrong. You're passing in the $_item_id, but then have an order_by="" field. That doesnt seam to make sense. it reads: "Get me this specific youtube video, then order it in reverse alphabetical order, but only get it if its from this specific profile."

The request doesn't make sense. If you know the youtube video you want, you can just ask for it
{jrYouTube_embed type="iframe" item_id=31 auto_play=false width="100%"}

Change the item_id to whatever item_id you want or pass in the $_item_id variable if that is a single number that corresponds to the number of the youtube item stored in the datastore.
michael
@michael
07/25/16 04:51:18PM
7,826 posts

Errors (beta version 5.4.0b2)


Using Jamroom

Thanks for the info @dim, we'll check it out. :)
  374