Forum Activity for @ultrajam

SteveX
@ultrajam
04/14/16 01:45:20AM
2,584 posts

php warnings from emoji functions


Jamroom Developers

So in the debug log, I get a wide range of different values for $string including the following

A pair of arrays: $_conf and $_mods
All language strings
The $_user array
The html for the debug log ACP page
empty

The log generally reads (2016-04-14T09:22:40+01:00.0.51098300 : 0.035)-(mem: 1310720)-(pid: 20210)-(ip: 164.11.187.83)-(user: )-(uri: GET /core/debug_log)
Sometimes the username is there but usually not.
SteveX
@ultrajam
04/13/16 03:24:00PM
2,584 posts

videos not converting after 24 hours


Installation and Configuration

Why not use the current version of ffmpeg which is included by the jamroom core module?
SteveX
@ultrajam
04/13/16 10:22:58AM
2,584 posts

php warnings from emoji functions


Jamroom Developers

Thanks Michael, I'll give that a try tomorrow.

I'm seeing about 200 per minute so if you aren't seeing them they must be caused by our custom modules.
SteveX
@ultrajam
04/12/16 03:40:06AM
2,584 posts

php warnings from emoji functions


Jamroom Developers

We are getting many writes of the same two warnings to the error log:
Quote: PHP Warning: preg_match_all() expects parameter 2 to be string, array given in /......./modules/jrCore-release-5.3.4/lib/util.php on line 1200
Quote: PHP Warning: preg_match_all() expects parameter 2 to be string, array given in /......./modules/jrCore-release-5.3.4/lib/util.php on line 1191
Do you see these too?

I'm wondering if these are from editor fields in my custom modules.

Thanks
updated by @ultrajam: 07/17/16 02:41:25AM
SteveX
@ultrajam
04/12/16 02:29:12AM
2,584 posts

TinyMCE inserting line breaks into some list items


Jamroom Developers

Hi Brian, I think some of the inserted line breaks were improved in the last core update (tables?), but this still remains a problem with lists.

http://academicskills.uwe.ac.uk/steve/workbooks/workbook-features/12034/test

Thanks
updated by @ultrajam: 04/12/16 03:24:11AM
SteveX
@ultrajam
04/01/16 06:21:06AM
2,584 posts

Where would I find the code that dispays number of online users?


Design and Skin Customization

I've found that quota_id does work with jrUser_whos_online.

Take a look at the session_quota_id in the jr_jruser_session table to see who is online, then try filtering using those ids. Your template will need to be different to cope with a single quota.
SteveX
@ultrajam
03/30/16 06:35:53AM
2,584 posts

Privacy check for images?


Jamroom Developers

I have a custom item module which does not display items itself, they are listed using jrCore_list within a skin template modified in the db. The skin template is then shown in the profile. In the list call I need to use privacy_check=false in order to list the items so that they are visible to non-profile owners.

However, each item has an image, and although the item shows the image is shown as the default ? image to someone logged in who is not the profile owner. Owners see the correct image.

Is there a means of setting privacy_check to false on the image as well?
updated by @ultrajam: 07/16/16 07:37:44PM
SteveX
@ultrajam
03/21/16 10:49:54AM
2,584 posts

TinyMCE inserting line breaks into some list items


Jamroom Developers

TinyMCE is inserting a line break into a UL list item if it begins with a strong tag or similar.

The br is not inserted if the list item starts with ordinary text.

Thanks

Steve
updated by @ultrajam: 11/19/16 08:17:45AM
SteveX
@ultrajam
02/24/16 02:27:34PM
2,584 posts

How Apache Is Losing The Web To NGINX


Off Topic

I haven't had time to read the whole thing but this looks like a good article:
https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-considerations
SteveX
@ultrajam
02/23/16 01:42:01AM
2,584 posts

In need of some jrCore_download_file advice


Jamroom Developers

Thanks Michael.

Ideally I'd check that the user can edit the item before generating the image.

If I global and fdebug $_user from the function it's for a not logged in user (unless I have that view open in a separate tab).

I'll try with the temp value.
updated by @ultrajam: 02/23/16 01:43:22AM
  81