Forum Activity for @ultrajam

SteveX
@ultrajam
04/13/16 03:24:00PM
2,589 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,589 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,589 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,589 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,589 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,589 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,589 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,589 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,589 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
SteveX
@ultrajam
02/22/16 11:42:31AM
2,589 posts

In need of some jrCore_download_file advice


Jamroom Developers

In my module, I need to update the item image (pie chart) when specific item fields change.

I am doing that by calling an update_piechart function which then calls a view using jrCore_download_file. The view returns the new image which is then saved to the item.

But (unless I have a browser tab open with the image-making view) the $_user data is not available in that view - I am not logged in.

Should I be able to see the $_user data for the logged in user there?

I tried checking using flags, but they are also not available in that view. Are flags deleted when a new view is called?

I'm coping with that by updating the item before using jrCore_download_file, then checking that the item has just been updated in the view producing the image, but that doesn't feel quite right, so I'm wondering if there is a better way to do this?

Any suggestions would be appreciated!

Thanks :)
updated by @ultrajam: 06/14/16 10:11:00PM
  73