Forum Activity for @michael

michael
@michael
04/16/16 12:09:06AM
7,832 posts

Site builder page missing


Using Jamroom

That profile was for the older Site Builder system. I've removed it as its no longer relevant.

Use these docs for site builder

Docs: Site Builder
https://www.jamroom.net/the-jamroom-network/documentation/site-builder


Thanks.
michael
@michael
04/16/16 12:00:18AM
7,832 posts

New module with Aparna


Using Jamroom

The issue is this:
The package_module system is setup to only allow you to package your own modules. In the case of users who are packaging their modules for the marketplace, they have a developer id registered at jamroom.net and all their modules are prefixed with their prefix.

eg:
jr = The Jamroom Network https://www.jamroom.net/the-jamroom-network
uj = Ultrajam https://www.jamroom.net/ultrajam
n8 = Nate Flex https://www.jamroom.net/n8flex

Aparna always asked for a prefix to be added, but didn't enforce it, so some modules were created without it. Leaving modules that should have been called 'xxSomething' being titled just 'Something' which made the actual module name: soMething and the title of that module become Mething. (Which is weird)

What's the thought pattern behind not wanting to use xx as the module prefix?

--edit--
Modules with the xx prefix can be exported by anyone, even those that do not have a developers account at jamroom.net. The package_module system allows the Form Designer fields to be exported along with the module.

So the idea is that you can export xx(Modules) over to other sites you own and not have to setup any extra Form Designer fields when the module arrives.
updated by @michael: 04/16/16 12:02:40AM
michael
@michael
04/15/16 11:40:06PM
7,832 posts

php warnings from emoji functions


Jamroom Developers

You'll have one too as soon as the next core is released ;)
michael
@michael
04/15/16 11:35:40PM
7,832 posts

Can i get some help with building Rap.com? email advertise@rap.com


Using Jamroom

Many ways to read what your asking for, might pay to try to be a bit more clear.

Do you mean:
* "I'm looking for someone to help me learn how to use Jamroom"
* "I'm looking for a developer to build what I tell them to ($$ per hour) (for free)"
* "I'm looking people to signup to my site, would you like to??"
* "I'm looking for ........."

If you're just looking for the docs, they're here:

Docs: Table of Contents
https://www.jamroom.net/the-jamroom-network/documentation/contents
michael
@michael
04/14/16 07:46:56PM
7,832 posts

videos not converting after 24 hours


Installation and Configuration

send me the file your using. if it converts on my dev server with just the jamroom version of ffmpeg, then its not a problem with ffmpeg, its a problem somewhere else.

My dev server is setup using the same instructions as are found here:

"High performace Jamroom on Digital Ocean"
https://www.jamroom.net/brian/documentation/guides/1188/high-performance-jamroom-on-digitalocean
michael
@michael
04/14/16 03:00:00AM
7,832 posts

Email Timeout


Jamroom Developers

Not understanding sorry. You want to know where the
ACP -> COMMUNICATION -> EMAIL CORE -> GLOBAL CONFIG -> MAX SEND RATE (per minute)

takes effect in the code? which file/line?

That setting sets a config variable named:
$_conf['jrMailer_throttle']

Its used in many places, so a search of the codebase is probably the easiest way to locate the point you're interested in.

Possibly this line is what your after (guess):
/modules/jrCore/include.php in the _init() function
    // We run the core email queue
    if (isset($_conf['jrMailer_throttle']) && $_conf['jrMailer_throttle'] > 0) {
        jrCore_register_queue_worker('jrCore', 'send_email', 'jrCore_send_email_queue_worker', intval($_conf['jrMailer_throttle']), 1);
    }
    else {
        jrCore_register_queue_worker('jrCore', 'send_email', 'jrCore_send_email_queue_worker', 0, 4);
    }

That reads, "If the mail throttle setting is set, then configure the sending email queue workers to fire off at the defined interval"
michael
@michael
04/14/16 02:50:30AM
7,832 posts

notification options footer 3x repeating in "new user" email notification


Using Jamroom

Don't think the two issues are related. I worked on the unsubscribe issue which will be out in the next jrUser module. It changes the premise from:
* you received the link in the email, so clicking it gives you access to unsubscribe because you know the url

to
* you know the url to unsubscribe, but if you're not logged in it is possible that you dont have login access, thats ok, so long as you do have email account access. (and sends a reconfirm opt-out link for non-logged in users.)

It seams like a different area to sporadic pending notification email footers.

It happens every time, or its intermittent? (hate intermittent things they are so hard to pin down.)
michael
@michael
04/14/16 02:43:40AM
7,832 posts

videos not converting after 24 hours


Installation and Configuration

you can run any commands against the prepackaged version in jamroom, found at:
/modules/jrCore/tools/ffmpeg

Mine gives this output for: ffmpeg -version
:~/sites/jr500.hostsaba.com/public_html/modules/jrCore/tools$ ./ffmpeg -version
ffmpeg version N-50408-gdc666d3
built on Feb 28 2013 23:01:11 with gcc 4.3.2 (Debian 4.3.2-1.1)
configuration: --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame
libavutil      52. 17.103 / 52. 17.103
libavcodec     54. 92.100 / 54. 92.100
libavformat    54. 63.102 / 54. 63.102
libavdevice    54.  3.103 / 54.  3.103
libavfilter     3. 41.100 /  3. 41.100
libswscale      2.  2.100 /  2.  2.100
libswresample   0. 17.102 /  0. 17.102
libpostproc    52.  2.100 / 52.  2.100

Why not use the current version of ffmpeg which is included by the jamroom core module?
michael
@michael
04/14/16 02:33:30AM
7,832 posts

php warnings from emoji functions


Jamroom Developers

Next version of that function will read:
function jrCore_replace_emoji($string)
{ if (is_string($string)) { if (preg_match_all('/!!emoji!!([0-9]*)!!emoji!!/i', $string, $_match)) { $_id = array(); foreach ($_match[0] as $e) { $_id[] = (int) str_ireplace('!!emoji!!', '', $e); } if (count($_id) > 0) { $tbl = jrCore_db_table_name('jrCore', 'emoji'); $req = "SELECT CONCAT('!!emoji!!', emoji_id, '!!emoji!!') AS emoji_id, emoji_value FROM {$tbl} WHERE emoji_id IN(" . implode(',', $_id) . ")"; $_rt = jrCore_db_query($req, 'emoji_id', false, 'emoji_value', false, null, false); if ($_rt && is_array($_rt)) { $string = str_ireplace(array_keys($_rt), $_rt, $string); } } } } return $string; }
Check that its a string before passing it to preg_match_all()
michael
@michael
04/14/16 02:28:10AM
7,832 posts

php warnings from emoji functions


Jamroom Developers

The full function for jrCore_replace_emoji() is this:
function jrCore_replace_emoji($string)
{ if (is_string($string) && preg_match_all('/!!emoji!!([0-9]*)!!emoji!!/i', $string, $_match)) { $_id = array(); foreach ($_match[0] as $e) { $_id[] = (int) str_ireplace('!!emoji!!', '', $e); } if (count($_id) > 0) { $tbl = jrCore_db_table_name('jrCore', 'emoji'); $req = "SELECT CONCAT('!!emoji!!', emoji_id, '!!emoji!!') AS emoji_id, emoji_value FROM {$tbl} WHERE emoji_id IN(" . implode(',', $_id) . ")"; $_rt = jrCore_db_query($req, 'emoji_id', false, 'emoji_value', false, null, false); if ($_rt && is_array($_rt)) { $string = str_ireplace(array_keys($_rt), $_rt, $string); } } } return $string; }
It only runs if the $string is a string.

So the internals shouldn't be running at all. Think you have your php.ini warnings set to show.

I can move the two phrases out, so the string check is a wrapper and the preg match only fires if its a string though. It will be in the next release.

Thanks.
  406