Forum Activity for @michael

michael
@michael
05/22/17 05:56:43PM
7,832 posts

How to remove native comments?


Using Jamroom

Here's a video on how to use the Template Editor and figuring out where that is:
Forum Question: How to adjust a template

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor
michael
@michael
05/22/17 04:11:56PM
7,832 posts

Stream Pay data for profiles


Suggestions

(moved to suggestions)

Thanks.
michael
@michael
05/21/17 10:51:00PM
7,832 posts

How to add items to the 'user dropdown' menu that members see under username after login?


Using Jamroom

You mean this menu? (screenshot)

That menu is mainly there to allow modules to add menu items to. So if you're thinking to do it from a module, then the code is:
    // Skin menu link to 'following'
    $_tmp = array(
        'group' => 'user',
        'label' =>  'Profiles You Follow'
        'url'   => 'following'
    );
    jrCore_register_module_feature('jrCore', 'skin_menu_item', 'jrFollower', 'following', $_tmp);
^^ code taken from the jrFollowers module's _init() function in include.php.

You'd do the same from your module.

Purpose of it is to allow modules to add themselves to the skin without the need for the owner of the skin to do any customization to get the module to work.

--
If you're wanting to add a static item onto the end or the beginning of that, you can do it without building a module by customizing the menu.tpl file in your skin.
/skins/(YOUR SKIN)/menu.tpl

It probably looks like this
{foreach $_items as $entry}
    {assign var="oc" value=""}
    {if isset($entry.menu_onclick) && strlen($entry.menu_onclick) > 2}
        {assign var="oc" value=" onclick=\"`$entry.menu_onclick`\" "}
    {/if}
    {if isset($entry.menu_function_result) && strlen($entry.menu_function_result) > 0}
        {if is_numeric($entry.menu_function_result)}
            <li><a href="{$entry.menu_url}" {$oc}>{$entry.menu_label} [{$entry.menu_function_result}]</a></li>
        {else}
            <li><a href="{$entry.menu_url}" {$oc}>{$entry.menu_label} <img src="{$entry.menu_function_result}" alt="{$entry.menu_label}"></a></li>
        {/if}
    {else}
        <li><a href="{$entry.menu_url}" {$oc}>{$entry.menu_label}</a></li>
    {/if}
{/foreach}

so if you add another LI at the end it will show up in the menu
 <li><a href="https://jamroom.net">A link to Jamroom.net</a></li>

menu_items.jpg menu_items.jpg - 33KB
michael
@michael
05/21/17 06:06:41PM
7,832 posts

Typo in jrProfile 1.6.1


Using Jamroom

Got it fixed, thanks. :)
michael
@michael
05/21/17 06:05:13PM
7,832 posts

Stream Pay data for profiles


Suggestions

The individual transactions are stored in the jr_jrprofilestream_log table and the balance of money owing to the profile is stored in the jrProfile datastore on the 'profile_balance' key.
michael
@michael
05/18/17 07:00:02PM
7,832 posts

How to leave? (How to delete, or how to remove, own account?)


Using Jamroom

User A asks a question: "how do I ......" and user b, user c, user d all answer it. It shouldn't be user a's right to delete that question.

However User A upload their song to the site, then deletes their profile, what happens to those songs should be dictated by the sites usage policy. (whatever they agreed to when joining the site)
michael
@michael
05/18/17 06:44:31PM
7,832 posts

Change color of menu icon


Design and Skin Customization

put that data:image into the address bar and you will see what it is an image of:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC

--edit---
Make the box 'transparent' to have the background gradient show through.
white_lines.jpg white_lines.jpg - 57KB

updated by @michael: 05/18/17 06:46:27PM
michael
@michael
05/18/17 02:08:38AM
7,832 posts

How to leave? (How to delete, or how to remove, own account?)


Using Jamroom

You can put this smarty function in a profile template if its not there already for you:
{jrProfile_delete_button profile_id=$_profile_id}

It comes from the profile_header.tpl file of all the jamroom made skins and relies on that setting you pointed out:
ACP=>Profiles=>Profile=>Profile Options=>Allow Profile Deletion

The button to delete will be where you put it. On the Elastic2 skin its here:
allow_delete_off.jpg allow_delete_off.jpg - 260KB
michael
@michael
05/17/17 07:25:44PM
7,832 posts

Video Stream URL


Jamroom Developers

There are other options too in there, Check out the datastore. any of the options that has _extension will probably stream.

.....
1	1	video_file_track	0	1
1	1	video_image_name	0	jrVideo_1_video_image.jpg
1	1	video_image_size	0	77949
1	1	video_image_time	0	1495066249
1	1	video_image_type	0	image/jpeg
1	1	video_file_length	0	00:00:05
1	1	video_image_width	0	1280
1	1	video_file_bitrate	0	1205
1	1	video_file_preview	0	0
1	1	video_image_height	0	720
1	1	video_display_order	0	1
1	1	video_file_extension	0	flv
1	1	video_file_resolution	0	1280x720
1	1	video_image_extension	0	jpg
1	1	video_file_mobile_name	0	jrVideo_1_video_file_mobile.m4v
1	1	video_file_mobile_size	0	342358
1	1	video_file_mobile_time	0	1495066249
1	1	video_file_mobile_type	0	video/mp4
1	1	video_file_stream_count	0	2
1	1	video_file_original_name	0	SampleVideo_1280x720_1mb.mp4
1	1	video_file_original_size	0	1055736
1	1	video_file_original_time	0	1495066233
1	1	video_file_original_type	0	video/mp4
1	1	video_file_mobile_extension	0	m4v
1	1	video_file_original_extension	0	mp4
......
so:
* video_file
* video_file_mobile
* video_file_original

Are worth a try. _original probably wont stream, not sure.
  223