Forum Activity for @michael

michael
@michael
01/05/17 08:19:22PM
7,826 posts

New Meta Tags


Using Jamroom

If you make the changes via the TEMPLATE EDITOR in the ACP the changes will survive module updates.

If you make a skin override template for whichever module you want that too will survive upgrades eg /skins/YOUR SKIN/jrAudio_item_detail_meta.tpl

More details here:

Docs: "Altering a Modules Template"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1051/altering-a-modules-template

The way I've been trying to think about and setup the meta tags is so that they make the most sense to the reader on wherever they are shared.

So for something like a blog post, if it has an image that represents the post, that is used, if not then an image indicating its a blog post is used.

I've tried to avoid any profile or user information being used, because these may not be relivant to the READER wherever the item is displayed.

Example. Me (michael) shares an audio file from your site, and your profile. The audio file is a song by METALLICA and the title of the song is "and justice for all". When I share that on MY facebook page, the name 'Dazed' and your profile pic really have nothing to do with the content being shared at this point.

My thinking is in order for Dazed to make any sense to the reader on Facebook who probably has never visited your site, they need to have prior knowledge of where the content has been shared from. Which is really not relivant to the reader. If that reader then shares that piece of content, neither 'dazed' or 'michael' are important. The only thing that is important is the content, not that that conent came from dazed and was shared by michael.

I think this is the most efficent way of getting the content dispursed and the interested viewers back to your profile which is when they will first learn about where the content came from.
michael
@michael
01/05/17 07:55:27PM
7,826 posts

Aparna - FormDesigner


Using Jamroom

got it.

check this one out:
YOUR-SITE.com/promotion/update/id=13

The thing causing the image not to show is the name you have given to the form field. you've chosen promotion_Image with a capital I. It shouldnt make a difference, but in this case it is.

The easiest way to fix the issue is delete the promotion_Image field and re-make it with lowercase I, so promotion_image.

You can see the other field i added there is working , just delete that once you've got it sorted.
updated by @michael: 01/05/17 07:56:19PM
michael
@michael
01/05/17 07:29:28PM
7,826 posts



The phases are
* get the site installed
* make sure the SYSTEM CHECK has no orange lights on it.

Then the real decisions come. What do you want your site to do? How many DIFFERENT types of profiles do you want? Because if you want different types of profiles, then you have more work to do. What each profile gets is defined by "Quotas" so the most basic site is only going to have 1 quota and all the profiles will be in that quota.

So if you go for that setup, then all you have to do next is decide which modules you want your site to have, then turn them on for everyone in the quota tab for each module.

If you explain what your thinking about setting up as a community we can help you make some of the design decisions.
michael
@michael
01/05/17 07:23:01PM
7,826 posts

New Meta Tags


Using Jamroom

What you will see in the modules themselves is a new template item_detail_meta.tpl which will populate the meta details on the details page.

So view an audio item on someones profile, then hit ctrl+u to see the source code and you will see the page has og:tags in the header section. You dont need to do anything.

If you want to do something, check out how the pages look in the facebook debugger and the twitter debugger for each of the content types and offer suggestions here as to how they could be better.

Facebook debugger
https://developers.facebook.com/tools/debug/og/object/

Twitter card validator
https://cards-dev.twitter.com/validator
michael
@michael
01/05/17 07:18:36PM
7,826 posts

$item.list_rank


Using Jamroom

Here's a different version. Doug pointed out that since there is only 1 in the list it will always be position #1, so in this version we get the top 50. If the current song is in the top 50 then its positon in that top 50 is shown.


{capture assign="list_tpl"}
{literal}
    {foreach $_items as $item}
    {if $item._item_id == $_params.my_id}
    my place in the top 50 list is: {$item.list_rank}
    {/if}
    {/foreach}
{/literal}
{/capture}
{jrCore_list module="jrSoundCloud" chart_field="soundcloud_stream_count" chart_days="365" limit=50 template=$list_tpl my_id=$item._item_id}

This one is for soundcloud songs, adjust the variables as you need them.
michael
@michael
01/05/17 12:37:32PM
7,826 posts

How to Include "Add to Timeline" for Forum/Create when posting as Admin?


Using Jamroom

thanks for helping locate these issues and reporting them in a way that allows us to fix them. :)
michael
@michael
01/05/17 12:26:16PM
7,826 posts

Aparna - FormDesigner


Using Jamroom

did you send your details? not seeing them here yet.

Unless you've customized the jrCore form_???.tpl files with an over-ride or edit, then you should be getting the same format im getting.

Its a form field added by the form designer, not your module specifically, so the image should be there. I'll take a look.

What Im expecting to see is something interfering with it, maybe some javascript from something else hiding it, or a template over-ride or a different form field than an image field. Not really sure, just guessing. Yours should be the same as mine.

Maybe its one of the other fields on the page in combination with the image field that makes the image field behave differently. again, not sure.
michael
@michael
01/05/17 12:07:51PM
7,826 posts

$item.list_rank


Using Jamroom

The info is not there by default, but you can request it using the same system you used to get a full list of it, but then limit the list to just the item id that you're after.

Put this into your item detail page for the jrAudio module and you will get just the rank if its ranked:

        {capture assign="list_tpl"}
                {literal}
                    THE LIST RANK IS: {$_items.0.list_rank}
                {/literal}
        {/capture}
        {jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="365" template=$list_tpl search1="_item_id = `$item._item_id`"}

updated by @michael: 01/05/17 12:09:19PM
michael
@michael
01/04/17 09:02:45PM
7,826 posts

Is feature like this available ?


Using Jamroom

Get the rest of it setup first, then see if you need the custom module. Or are you wanting someone to setup all your quotas for you as well.
michael
@michael
01/04/17 09:01:56PM
7,826 posts

Aparna - FormDesigner


Using Jamroom

send them to support at jamroom dot net with attn michael and a link to this thread and I'll take a look.

Site modules all up to date? integrity check? reset caches? would have expected that to be working.
  296