Forum Activity for @ultrajam

SteveX
@ultrajam
05/04/16 04:59:54AM
2,589 posts

php warnings from smarty templates


Jamroom Developers

This is what I have in the template:
{if $entry.active} active{/if}

This is what is written to the log
Quote: [04-May-2016 12:17:27 Europe/Dublin] PHP Notice: Undefined index: active in
/home/mysite/public_html/data/cache/ujWorkbookJacket/f5f1fb0af05568b5d652f0de51cc859b^b837392bfe93f59334d620107f72ed729b69f7
a5_1.file.a8f34af511c3170d099044f85248b8d7^ujWorkbookJacket^header_menu.tpl.php on line 106 [1]

updated by @ultrajam: 05/04/16 05:52:30AM
SteveX
@ultrajam
05/04/16 04:35:30AM
2,589 posts

php warnings from smarty templates


Jamroom Developers

Looking at my error_log, I see many warnings from smarty templates. I don't think that was happening before.

Developer mode is disabled, so should I be seeing any warnings at all?

Is it possible that php.ini on the server is overriding the jamroom setting of error_reporting?

e.g.:
Quote: [04-May-2016 12:17:27 Europe/Dublin] PHP Notice: Undefined index: profile_quota_id in /home/mysite/public_html/data/cache/ujWorkbookJacket/f5f1fb0af05568b5d652f0de51cc859b^b6b3b68856f667cffd756d3d34333aae2b65174e_1.file.85f82b0f9b1040faae3ef9cee03ddad8^jrGoogleAnalytics^universal.tpl.php on line 34 [6]
[04-May-2016 12:17:27 Europe/Dublin] PHP Notice: Undefined index: profile_quota_id in /home/mysite/public_html/data/cache/ujWorkbookJacket/f5f1fb0af05568b5d652f0de51cc859b^48963a8d5a8a538c290fdf33a3d1715cd9ffffe5_1.file.79c5d3667f71ab0cf4d1d9b67e4e5cd0^ujWorkbookJacket^profile_header.tpl.php on line 41 [4]

updated by @ultrajam: 09/01/16 04:05:51PM
SteveX
@ultrajam
05/04/16 03:01:06AM
2,589 posts

Admin Skin setting not honoured on quota transfer page


Jamroom Developers

I have the Admin Skin module installed and configured to use a different skin for the ACP, but on this ACP page the active skin is used instead:
/profile/quota_transfer/id=5
updated by @ultrajam: 08/07/16 03:03:30AM
SteveX
@ultrajam
05/04/16 02:35:20AM
2,589 posts

TinyMCE inserting line breaks into some list items


Jamroom Developers

Hi Brian,

Thanks for fixing the line breaks in lists :)

But on display, we still have line breaks inserted after any heading, after any div, inside blockquotes, after blockquotes, etc
SteveX
@ultrajam
04/28/16 08:38:56AM
2,589 posts

Unchecked additional profiles on Account form after changing User Group


Using Jamroom

I had a user who was set to Master Admin.
5 profiles which he was previously added to were shown on his Account page as check boxes (which were checked).

I changed him to Standard user and saved, then returned to modify further.
5 profiles were shown below, but after clicking save I noticed they were not checked (I definitely didn't uncheck them).

Returning to his account page, the result was that he is no longer added to those profiles. My guess is that those checkboxes should have remained checked when returning to the profile, and by saving the form I removed his access to those profiles.
updated by @ultrajam: 08/17/16 11:01:18AM
SteveX
@ultrajam
04/26/16 04:01:15AM
2,589 posts

The "Holy Grail" of VPNs


Off Topic

If you want your own vpn with a digitalocean or linode vps this makes setting one up very easy:
https://github.com/jlund/streisand
SteveX
@ultrajam
04/23/16 01:41:11AM
2,589 posts

html in text fails form validation


Jamroom Developers

It's on some textareas but I think (hope) we may have solved it by changing them to editors and Allow All html for the quota.

We do have some text fields (quiz module) which allow html as well, but as far as I know there hasn't been any problem with those. I hadn't expected to need that, but being a library almost every site sets multiple choice questions about reference formatting (which uses italics). Who knew?
  79