Forum Activity for @michael

michael
@michael
02/19/17 11:55:16AM
7,832 posts

Loading External JS via Modules


Jamroom Developers

A sample include.php file for a module called xxExternajs
<?php
/**
 * @copyright 2017 Talldude Networks, LLC.
 */

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

/**
 * meta
 */
function xxExternaljs_meta(){
    $_tmp = array(
        'name'        => 'External Js',
        'url'         => 'externaljs',
        'version'     => '1.0.0',
        'developer'   => 'The Jamroom Network, &copy;' . strftime('%Y'),
        'description' => 'include some javascript files',
        'category'    => 'custom',
        'license'     => 'mpl'
    );
    return $_tmp;
}

/**
 * init
 */
function xxExternaljs_init(){
    jrCore_register_module_feature('jrCore', 'javascript', 'xxExternaljs', 'somefile.js');  // includes /modules/xxExternaljs/js/somefile.js
    jrCore_register_module_feature('jrCore', 'javascript', 'xxExternaljs', '//cdn.com/jqwidgets/jqxcore.js'); // includes http?://cdn.com/jqwidgets/jqxcore.js
    return true;
}
michael
@michael
02/18/17 09:48:17PM
7,832 posts

Facebook Question


Using Jamroom

if you can locate one that is added to facebook via a page that has og:tags in the meta tag of the page where it came from with a link to the player that shows on facebook, that would be perfect.

I can look at that to see how its done and replicate it.
michael
@michael
02/18/17 09:00:29PM
7,832 posts

Facebook Question


Using Jamroom

Youtube may get special treatment.

Google products:
* chrome
* youtube

Got any to a link not owned by google?
michael
@michael
02/18/17 08:49:32PM
7,832 posts

Facebook Question


Using Jamroom

could you show me an example of one of the ones that works well please?
michael
@michael
02/18/17 08:29:01PM
7,832 posts

New Module - (Electronic Press Kit) - idea


Suggestions

Have you got an example EPK in PDF form I could look at? Something you think is a good example of an EPK?
michael
@michael
02/18/17 08:25:37PM
7,832 posts

Facebook Question


Using Jamroom

Yeah, its facebook being annoying.

Look here:
https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fpermalink.php%3Fstory_fbid%3D1400693786647943%26id%3D157723244278343&width=500

That is the post all by itself. click on the PLAY button there and the placeholder gets replaced with the player and the play begins immediately.....HOLD ON.

Actually I think the culprit in this case is chrome.

When I view the post in firefox, the click of the PLAY button that swaps out the image for the player does begin immediately.

In chrome, the flow is click the image, the player appears, but its paused.

Chrome's fault.
michael
@michael
02/18/17 08:10:00PM
7,832 posts

Celebrity skin forum buttons hard to read


Design and Skin Customization

Thanks. Got a tracker open for this issue. :)
michael
@michael
02/18/17 08:08:24PM
7,832 posts

Event lists all show a calendar marker of 31?


Using Jamroom

safest place to put it is into your skin. Then change the link to point to the icon in your skin. That way will survive any module updates.

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

It may already be over-ridden on your skin. The list template will be:
/skins/YOUR SKIN/jrEvent_item_list.tpl
michael
@michael
02/18/17 08:01:51PM
7,832 posts

Celebrity skin profile page showing strange arrangement


Design and Skin Customization

The answer to this question will be found in the skins profile_header.tpl and profile_footer.tpl

The left hand column will be part of the profile_header.tpl and the right hand column will be part of the profile_footer.tpl

The bit in the middle is one of:
profile_item_list.tpl
profile_item_detail.tpl
profile_item_index.tpl

What is the desired output and which page do you want it for?
michael
@michael
02/18/17 07:52:48PM
7,832 posts

Change Style Of Celebrity Skin Tag Cloud


Design and Skin Customization

The the container has this class:
jqcloud
so changing the color of that will get the background color.

For me celebrity already has a dark background color.
  265