Forum Activity for @nmaster88

Nmaster88
@nmaster88
03/22/16 02:36:58AM
94 posts

List of not read messages from Private Notes


Using Jamroom

I'm trying to find how i can get a list of only the notes that have not been read for the user. How can i do that?
updated by @nmaster88: 06/20/16 08:58:48PM
Nmaster88
@nmaster88
03/19/16 06:20:55AM
94 posts

add content depending on the url


Design and Skin Customization

What happened is that for different templates sometimes the smarty variables are not the same.
I had to use another ones.

Thanks both for the help!
Nmaster88
@nmaster88
03/18/16 11:58:37AM
94 posts

Images square all the time


Using Jamroom

I tried, with that command it happens what's on the image. If the one image is bigger than another the size will be different.
index_newsongs_3.jpg index_newsongs_3.jpg - 156KB
Nmaster88
@nmaster88
03/18/16 10:13:02AM
94 posts

Images square all the time


Using Jamroom

Currently i have various lists, one of them i want to have in return all the images square and with the same size.
The call i have currently and it's the only one that makes all the images with the same size it's this one:
[code]
{jrCore_module_function function="jrImage_display" module="jrAudio" type="audio_image" item_id=$item._item_id size="medium" crop="auto" height="auto" width="auto" class="r r-2x img-full" alt=$item.audio_title }

[code]
I tried many variations, like crop=1:1 and it doesn't work i get a blank page if i try other parameter for crop i will get some images with more height than another ones. Any suggestion?
newsongs_size_1.jpg newsongs_size_1.jpg - 135KB

updated by @nmaster88: 06/16/16 10:21:42PM
Nmaster88
@nmaster88
03/18/16 08:03:07AM
94 posts

how many users a user is following


Using Jamroom

Nice that seems to work well.

Anyway is there a place where i can look for functions like that or do i have to look inside the modules code? Thanks
Nmaster88
@nmaster88
03/18/16 06:55:47AM
94 posts

how many users a user is following


Using Jamroom

actually that's info i want to show on the user profile, so instead of $_user_id i shall use $_profile_id, right?

But that command doesn't seem to work
Nmaster88
@nmaster88
03/18/16 06:12:58AM
94 posts

add content depending on the url


Design and Skin Customization

Doing that it works well on that case,
but i have another code i need to test if it's on a specific url and it's not working, this is the code:
<ul id="modulechoice" class="nav nav-tabs nav-white">
    {if isset($_items)}
        {foreach from=$_items key="module" item="entry"}

                {if $current_url=="`$jamroom_url`/`$_user.profile_url`/`$entry.module_url`"}
                    {if $current_url|@strstr:$entry.label ==true}
                        <li  class="active" id="{$entry.label}" >
                    {else}
                        <li  class="" id="{$entry.label}" >
                    {/if}
                {elseif $current_url=="`$jamroom_url`/`$_user.profile_url`"}
               
                    {if $entry@first}
                        <li  class="active" id="{$entry.label}" >
                    {else}
                        <li  class="" id="{$entry.label}" >
                    {/if}
                {/if}
                <a href="#{$entry.label}" data-toggle="tab" style="text-transform: capitalize;">{$entry.label}</a>

            </li>
        {/foreach}
    {/if}
</ul>
If i put a specific case like this:
{elseif $current_url=="http://site.com/artist/"}
and go to that artist page it works.
updated by @nmaster88: 03/18/16 01:47:47PM
Nmaster88
@nmaster88
03/18/16 06:09:48AM
94 posts

how many users a user is following


Using Jamroom

Using the module jrFollower it's easy to know the number of how many users is following the user itself, but how can i know the number of users the user is following?
updated by @nmaster88: 06/16/16 09:52:06PM
Nmaster88
@nmaster88
03/18/16 05:30:48AM
94 posts

add content depending on the url


Design and Skin Customization

I'm trying to add some code to my header.tpl and footer.tpl depending on the page i'm in.

The code to do that is something like this:
{jrCore_module_url module="jrProfile" assign="murl"}
...
{if $current_url==$jamroom_url+"/"+$murl+"/settings/profile_id="+$_user.profile_id}
...
{/if}
for the footer i do the same, but it's not working!

If i had a static url, like this:
{if $current_url=="http://site.com/profile/settings/profile_id=121"}
It works.

Am i doing something wrong?

updated by @nmaster88: 06/20/16 06:01:26PM
Nmaster88
@nmaster88
03/17/16 05:56:43AM
94 posts

List with distinct audio genres


Using Jamroom

that seems to work! cool.
  4