Forum Activity for @michael

michael
@michael
11/13/17 11:33:56PM
7,826 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,826 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,826 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.
michael
@michael
11/12/17 11:07:45PM
7,826 posts

Audio Files not getting processed and player not loading.


Design and Skin Customization

duke:
if this helps modules/jrSystemTools/tools/sox is not working correctly

You can use a different version of sox than the one packaged with jamroom if you like, info here:

Docs: "Howto use a different ffmpeg binary"
https://www.jamroom.net/the-jamroom-network/documentation/howto/4641/howto-use-a-different-ffmpeg-binary
michael
@michael
11/12/17 10:51:25PM
7,826 posts

Communicating an array across AJAX boundaries


Jamroom Developers

Stored in memory across sessions, yup that's a difficult ask. :p

The jrCore_get_temp_value() function set do not have a cache system built into it, so it will be accessing the db for each request.

A quick look for functions that do have a caching system in them turned up this one from the jrBanned module that might be useful to you:


/**
 * Get current banned config for a given ban type
 * @param $type string
 * @return bool|mixed|string
 */
function jrBanned_get_banned_config($type)
{ if (!is_array($type)) { $type = array($type); } $key = "jrbanned_is_banned_" . json_encode($type); if (!$_rt = jrCore_get_flag($key)) { if (!$_rt = jrCore_is_cached('jrBanned', $key, false, false)) { $tbl = jrCore_db_table_name('jrBanned', 'banned'); $req = "SELECT ban_type AS t, ban_value AS v FROM {$tbl} WHERE ban_type IN('" . implode("','", $type) . "')"; $_rt = jrCore_db_query($req, 'NUMERIC'); if (!$_rt || !is_array($_rt)) { $_rt = 'no_items'; } jrCore_set_flag($key, $_rt); jrCore_add_to_cache('jrBanned', $key, $_rt, 0, 0, false, false); } } if (!$_rt || !is_array($_rt) || count($_rt) === 0) { // No items of this type return false; } return $_rt; }

What its doing is checking if there is a flag ( IN MEMORY ), if no, check if there is a cached item ( FILESYSTEM / MEMORY ), if not, get it from the database ( DATABASE ).

So if its a performance issue reason you want to bypass the database, that structure looks about as good as you could get i reckon. Adjust as needed for your own module and situation.
michael
@michael
11/12/17 10:39:48PM
7,826 posts

Comments and Biog not showing on members page


Ning To Jamroom

sorry, im not really understanding the problem in relation to the screenshots. I see 'carcso' has a lot of modules active, but the profile is still pending activation.

I see the "Full Member" quota is allowed to comment on things.

I see that 'Bun' has just joined and only seems to have access to the comments module, so I guess 'Bun' is in the "Full Member" quota.

Passed that I'm lost.
michael
@michael
11/12/17 10:22:34PM
7,826 posts

Communicating an array across AJAX boundaries


Jamroom Developers

For storing things and moving them around during a single page load my first idea would be to see if a flag would work:
$_stuff = array(
 'things' => 'some things',
 'bits' => 'and pieces'
);
jrCore_set_flag('some_key', $_stuff);
// then later somewhere else
$_stuff = jrCore_get_flag('some_key');

But you're wanting to save it over to a different page, so flags aren't going to be useful, my first thought for this scenario is:
jrCore_set_temp_value('xxYourModule', 'some_key', $_stuff);
// then later somewhere else
$_stuff = jrCore_get_temp_value('some_key');

But you're not wanting to use the database. How would you like to do it outside of the jamroom system?
michael
@michael
11/10/17 08:16:02PM
7,826 posts

Alternative to Mailgun


Using Jamroom

might be a drop-in alternative: http://www.serversmtp.com/en

Haven't used them though, but if you look for "SMTP server" there might be more.

Put the details into:
your-site.com/mailer/admin/global/section=delivery+settings

and choose "External Mail Server"
michael
@michael
11/10/17 12:46:32AM
7,826 posts

Audio Files not getting processed and player not loading.


Design and Skin Customization

If you cant post the login details so I can look at the template code for your page, you'll need to look for what is wrong. I suspect your item_detail.tpl page is not up-to-date with the latest version.

As a test try changing to a current non-altered jamroom skin like elastic2 and see if the message is still visible. If it goes away when you change to the elastic skin then the message is a result of something in your .tpl file, probably a check for the wrong file type.
michael
@michael
11/10/17 12:40:55AM
7,826 posts

Audio Files not getting processed and player not loading.


Design and Skin Customization

What is the url of your site where I can see "This audio file is currently being processed and will appear here when complete."

What is the admin username and password for your site.
  173