Forum Activity for @michael

michael
@michael
09/22/16 07:34:51PM
7,826 posts

Can't add YouTube or Vimeo videos


Using Jamroom

That URL looks awfully suspicious.

https://youtub.be/ZoQCp5V-uu0

When I click on it it doesnt take me to youtube. every time I end up on some unrelated advertising page.

Could you paste in the destination page that has the youtube you want to display on it please.
michael
@michael
09/22/16 05:05:34PM
7,826 posts

Editing Activity Timeline


Design and Skin Customization

@joanna, If I'm understanding what you're after, you want a delete button on the timeline that is displayed on your home page.

There is some code for that here:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/43430/data-browser-truncates-out-timeline-profile-id-s-that-i-need#p43510
michael
@michael
09/22/16 06:00:07AM
7,826 posts

Jamroom to XMPIE uStore Bridge


Jamroom Developers

What is XMPIE and LDAP?
michael
@michael
09/21/16 11:05:55PM
7,826 posts

How To List using Blog Category


Using Jamroom

Just ask here, complain the docs aren't enough and I'll get some more up. Jamroom uses smarty templates, but has a lot more than just that, so ask in the forums. Right now I usually document things after they are asked in the forums then link to it.

So for todays stuff these docs seam pretty related:

Docs: "{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/89/jrcore-list

Docs: "HowTo: Using jrCore_list in a template - step-by-step"
https://www.jamroom.net/the-jamroom-network/documentation/skin-customization/1080/howto-using-jrcore-list-in-a-template-step-by-step

Docs: "Template Blocks"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/3126/template-blocks

Then this for continued reading:

Docs: Jamroom Developers Guide : Table of Contents
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide

There are a few ways to develop in jamroom. The first you will probably use is the Template Editor:

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor

But when you want to move to the next step, the team here uses PhpStorm and uploads the files to the server via SFTP.

So my normal workflow looks like this:
* edit a jamroom .tpl file that exists on the server in PhpStorm on my local machine
* That file gets uploaded to the server
* I reset the caches to see how it looks.
(repeat)

The transition from one method to the other is easy. When you edit things with the Template Editor in the ACP all your changes are as active-overrides. When you clone the skin all those active-overrides get saved to the newly cloned skin so your changes get moved into the new skin on the filesystem level.

Docs: "Creating your own skin"
https://www.jamroom.net/the-jamroom-network/documentation/skin-customization/839/creating-your-own-skin
updated by @michael: 09/21/16 11:06:55PM
michael
@michael
09/21/16 10:28:15PM
7,826 posts

How To List using Blog Category


Using Jamroom

Cool, so we have the correct data output, now we need to format it, try adding the template back, that should get the formatting the way we want it:
{jrCore_list module="jrBlog" search1="blog_category = author interviews" template="index_blog_row.tpl"}

Then if that is formatted the way we want it, the next step is to get the pagebreak and pagnation setup
{jrCore_list module="jrBlog" search1="blog_category = author interviews" template="index_blog_row.tpl" pager=true pagebreak=50 page=$_post.p}

Not sure I understand the explanation correctly. But lets set the pagebreak wiht hard codeed numbers first before swapping them for variables so we know what the variable settings need to be.
michael
@michael
09/21/16 08:49:33PM
7,826 posts

How To List using Blog Category


Using Jamroom

It shouldn't. That code should JUST give you the blog list for blogs in the 'author interviews' category.

Forget about how the posts look for a second, just want to get the right posts coming out, then we can pass in a template="" parameter to get it looking however you like. Lets get that first, then go to step two, layout or pagination or additional search filtering.

I use kubuntu, like KDE more than Gnome, just used to it.
michael
@michael
09/21/16 07:46:30PM
7,826 posts

How To List using Blog Category


Using Jamroom

Your using mint linux? cool.

You can paste the code in here too using code blocks [ c o d e]the code in here [ / c o d e] without the spaces.
michael
@michael
09/21/16 07:44:43PM
7,826 posts

How To List using Blog Category


Using Jamroom

When you find yourself stuck trim back the request until you find the cause of the issue.

Try
{jrCore_list module="jrBlog" search1="blog_category = author interviews"}

and see if you get any results, you should.
michael
@michael
09/21/16 06:23:38PM
7,826 posts

Private group (puzzle: member cannot edit posts)


Using Jamroom

You would not loose her posts. Posts are not deleted if the member leaves.
michael
@michael
09/21/16 06:14:57PM
7,826 posts

Using different skins & site builder


Ning To Jamroom

The reason you're seeing extra options in Ningja is because they were put there by the skin designer.

When a skin designer designs a skin and wants to put an extra section in somewhere, they want to give you the option of being able to adjust that section without the need to alter the templates.

So they add a button in the ACP. One that exists in Ningja but not in Lucid is "Coming Events Box":
ACP -> SKINS -> NINGJA -> GLOBAL CONFIG -> EVENTS -> Coming Events Box

Which is a checkbox. When you check that checkbox, the only thing that happens is a variable gets stored in the database. That variable is then available in the templates. That particular variable is:
{$_conf.jrNingja_event_active}

If that is then used anywhere in the skin it will output either 'on' or 'off', THATS ALL.

Its usefulness comes into play when used in conjunction with Template Blocks:

Docs: "Template Blocks"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/3126/template-blocks

Now because the designer has your input on the matter, they can use Template Blocks to either hide or show a section of code. This saves you the hassle of going and adding or removing that section of code via the Template Editor:

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor

The specific section of the skin that uses that $_conf.jrNingja_event_active variable is this one:
/skins/jrNingja/index.tpl
    {* This is the embedded template that is shown for EACH event entry on the right side *}
    {if jrCore_module_is_active('jrEvent') && isset($_conf.jrNingja_event_active) && $_conf.jrNingja_event_active == 'on'}
.........
around line 97 and again around line 400.

That particular line reads in english: "If the Event module is active, and we have a value for $_conf.jrNingja_event_active and that value is on, then show this section"

You could take the inner section of template code from that template and use it in the lucid skin and it would work. The difference is the skin designer is setting the skin up for a particular purpose, they expect that you will have the Event module active for this skin.
updated by @michael: 09/21/16 06:17:26PM
  344