Forum Activity for @michael

michael
@michael
11/16/17 09:40:08PM
7,823 posts

Change profile index to groups the profile is following?


Design and Skin Customization

There are a few correct ways to eidt the Group modules item_index.tpl template. Choose a method that you like from here:

Docs: "Altering a Modules Template"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1051/altering-a-modules-template
michael
@michael
11/16/17 09:38:27PM
7,823 posts

updating template to jrCore_item_detail_features doesn't display prior entered tags


Using Jamroom

what was the old code for tags?

Guessing that the tags maybe have been attached to a different item.
michael
@michael
11/16/17 08:16:02PM
7,823 posts

Using Button Functions


Jamroom Developers

this is what you're after:
{jrCore_item_list_buttons module="xxTrackme" item=$item exclude="jrCore_item_update_button,jrCore_item_delete_button"}
as a template function.

OR you can use a listener to do it for your own module too.

code from the modules include.php file
<?php
/**
 * @copyright 2017 no one
 * @author no one <noone [at] nowhere [dot] com>
 */

// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * meta
 */
function xxTrackme_meta(){
    $_tmp = array(
        'name'        => 'Trackme',
        'url'         => 'trackme',
        'version'     => '1.0.1',
        'developer'   => 'Noone, &copy;' . strftime('%Y'),
        'description' => 'Just adds some icons and its own buttons to lists',
        'category'    => 'custom'
    );
    return $_tmp;
}

/**
 * init
 */
function xxTrackme_init(){

    jrCore_register_module_feature('jrCore', 'quota_support', 'xxTrackme', 'on');

    $_tmp = array(
        'title'  => 'Item Halt Button',
        'icon'   => 'halt',
        'active' => 'on'
    );
    jrCore_register_module_feature('jrCore', 'item_list_button', 'xxTrackme', 'xxTrackme_item_halt_button', $_tmp);

    jrCore_register_event_listener('jrCore', 'exclude_item_list_buttons', 'xxTrackme_exclude_item_list_buttons_listener');

    return true;
}

/**
 * the button for lists
 */
function xxTrackme_item_halt_button($module, $_item, $_args, $smarty, $test_only = false){
    if ($test_only) {
        return true;
    }
    $_rt = array(
        'url'     => '#',
        'onclick' => "alert('hello world')",
        'icon'    => 'halt',
        'alt'     => 'the alt text for the halt button here'
    );
    return $_rt;
}

/**
 * listener
 */
function xxTrackme_exclude_item_list_buttons_listener($_data, $_user, $_conf, $_args, $event)
{ // remove the UPDATE button $_data['jrCore_item_update_button'] = true; // remove the DELETE button $_data['jrCore_item_delete_button'] = true; return $_data; }
michael
@michael
11/16/17 01:32:40AM
7,823 posts

Using Button Functions


Jamroom Developers

If this is for a module thats going to be released, I can see you need it done via the module code, but do you know about the item action buttons

Docs: "Item Action Buttons"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1508/item-action-buttons
which_buttons.jpg which_buttons.jpg - 64KB
michael
@michael
11/16/17 12:43:01AM
7,823 posts

Using Button Functions


Jamroom Developers

Related forum post about how to over-ride icons at skin level
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/49167/can-i-change-the-icon-for-chat

For your case you have your own module and want to define icons, take a look at jrAction module, it defines its own icons.

It has 2 folders in the img directory
/modules/jrAction/img/icons_black/at.png

Then its used in jrAction_item_index_mentions_button() function.

That will give you something to look at while I go look for why exclude="" isnt working.
michael
@michael
11/14/17 08:09:04PM
7,823 posts

Broken link posted to twitter by system feed


Design and Skin Customization

This is fixed in the next version of jrOneAll ver 1.6.0
michael
@michael
11/14/17 07:59:17PM
7,823 posts

Stream Pay with PayPal


Using Jamroom

This is fixed in the next version of Profile Stream Pay. ver 1.0.9 It no longer requires the Foxycart Module.
michael
@michael
11/13/17 11:33:56PM
7,823 posts

Stream Pay with PayPal


Using Jamroom

As of right now the Stream Pay module requires the jrFoxyCart module. It hasn't been updated to work with the jrPayments module.
requires_foxycar.jpg requires_foxycar.jpg - 52KB
michael
@michael
11/13/17 08:51:18PM
7,823 posts

Broken link posted to twitter by system feed


Design and Skin Customization

When admin creates an item for a profile there should be no "share to timeline" option for either the normal timeline or twitter.

--edit--
I see what you're referring to now, its the 'System Feed' in the ACP under the TOOLS menu.
twitter_share.jpg twitter_share.jpg - 87KB

updated by @michael: 11/13/17 09:53:47PM
michael
@michael
11/13/17 02:20:50AM
7,823 posts

Audio Files not getting processed and player not loading.


Design and Skin Customization

duke:... when i go to update such audio files the audio segment of the update form missing so am not able to replace the audio ....
Not sure what this means, could you take a screenshot. List what you are seeing and what you expect to see.

The only thing that should change the audio update form is the Form Designer, so if you've been using that then you can disable fields.
  172