Forum Activity for @michael

michael
@michael
02/17/14 05:24:22PM
7,832 posts

Anyway to embed Youtube videos into pages?


Using Jamroom

use the jrEmbed module with the jrYoutube module enabled. You can embed any media in you have in your system.
michael
@michael
02/17/14 05:22:41PM
7,832 posts

Show emails for each account


Jamroom Developers

If you HAD to have all those emails out there you could put this code into your list template file to go get it.

{jrCore_list module="jrUser" search1="profile_id = $item.profile_id" template="a-template-with-email.tpl"}

although thats getting real heavy. Your asking for 5000 results, then your running another query on each of those 5000 results.
michael
@michael
02/17/14 04:51:22PM
7,832 posts

Show emails for each account


Jamroom Developers

There can be any number of users associated with a profile. (see here: the left hand side of the page shows 'brian' 'douglas' 'paul' 'michael')

So with many users associated with a single profile there will not be one email address.
michael
@michael
02/17/14 04:46:50PM
7,832 posts

Jr Actions


Jamroom Developers

normal 'events' and 'listeners' setup is here (think you've already seen it).

"Events and Listeners"
https://www.jamroom.net/the-jamroom-network/documentation/development/1011/events-and-listeners


for the jrAudio module it registers for them like this:
    jrCore_register_module_feature('jrCore', 'action_support', 'jrAudio', 'create', 'item_action.tpl');
    jrCore_register_module_feature('jrCore', 'action_support', 'jrAudio', 'update', 'item_action.tpl');
    jrCore_register_module_feature('jrCore', 'action_support', 'jrAudio', 'create_album', 'item_action.tpl');
    jrCore_register_module_feature('jrCore', 'action_support', 'jrAudio', 'update_album', 'item_action.tpl');

(I think your saying you've already got this working too.)

Is there any quota based settings?

in your _save() function is jrAction_save being called?

that for jrAudio is in view_jrAudio_create_save() there is this code:
    // Add to Actions...
    jrCore_run_module_function('jrAction_save', 'create', 'jrAudio', $aid);

does your _save() functions also include that call?
michael
@michael
02/17/14 01:26:23PM
7,832 posts

Problem with how To Create Another Play Button?


Design and Skin Customization

Should be able to use the same code your using for the big player and change the player type to type="jrAudio_button"
michael
@michael
02/17/14 01:17:39PM
7,832 posts

CSS broken after update/migration


Jamroom Developers

I never know anything just offhand (my memory is a bit sketchy ;) ).

What I do to figure out stuff like this is to put a breakpoint in and watch the debugger run through until I find the point im interested in.

I haven't got a debugger with me here right now sorry.

If i did i would put it in /modules/jrCore/router.php somewhere at the top then expect to see it by descending into jrCore_init().

From a quick search I think it could be this area, but not sure:
    // We also need to add in any module CSS files so they can be tweaked
    $_tm = jrCore_get_registered_module_features('jrCore', 'css');
/modules/jrCore/index.php line 5600 ish
michael
@michael
02/17/14 01:06:30PM
7,832 posts

How To Create A Profile Section Page?


Design and Skin Customization

A couple of modules would be the first way I would look into.

xxBio
xxFollowers

have xxBio control the URL 'bio'
have xxFollowers control the url 'followers'

then build views into the profile.php file of the module
profile_view_xxBio_default()
profile_view_xxFollowers_default()

That call a .tpl file from their /templates/ folders to show what you want to show.

/modules/xxBio/templates/some_templates.tpl

Take a look at jrBlog/profile.php and the profile_view_jrBlog_default() function to see how its done.

-----
alternatively if you have all the data you need without going through a function, you can use the item_index.tpl directly to format the page

/modules/xxBio/templates/item_index.tpl
michael
@michael
02/17/14 12:53:16PM
7,832 posts

Aparna Module and required fields


Design and Skin Customization

@MAD© what you are seeing is probably the form session being saved.

when you are on a form and make changes then go away and come back the form data that you have entered is preserved.

What is important is the data that is output to the public. Im pretty sure that that is not changing.
michael
@michael
02/17/14 12:44:35PM
7,832 posts

CSS broken after update/migration


Jamroom Developers

Yeah it would be great to support the /* */ standards in there. It will take effort to implement.

Probably not the highest priority right now, but might make it there in future.

The core is open source, so perhaps it might be provided as a contribution.
michael
@michael
02/15/14 08:05:09PM
7,832 posts

Paypal buy me button


Installation and Configuration

Looks like the:
  {jrCore_item_list_buttons module="jrAudio" field="audio_file" item=$item} 

Isn't in the jrNova skins song_chart_row.tpl file.

I'll see if it can be added in.

Tracker:
https://www.jamroom.net/the-jamroom-network/tracker/378/see-if-jrnova-can-be-made-to-use-jrcore-item-list-buttons
  727