Forum Activity for @ultrajam

SteveX
@ultrajam
04/28/16 08:38:56AM
2,584 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,584 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,584 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?
SteveX
@ultrajam
04/23/16 12:18:15AM
2,584 posts

html in text fails form validation


Jamroom Developers

Thanks Michael.

Not really, we have hundreds of pages using html and we have to allow a wide variety in the editor, not because it's used much but because the ability to write a bit of html is something we have to encourage from a literacy point of view and the authors have been trained in that rather than BBcode. Mostly the authors use menus added to TinyMCE rather than writing by hand, but that html is important to us.

Those line breaks do keep popping in there. We get them inside various divs as well, feels like I'm constantly explaining why it looks right in the wysiwyg but wrong in the page.
updated by @ultrajam: 04/23/16 12:34:19AM
SteveX
@ultrajam
04/22/16 07:47:32AM
2,584 posts

TinyMCE inserting line breaks into some list items


Jamroom Developers

Also, this produces extra line break (note the final full stop outside the span):
<li><span style="line-height: 115%;">Know how to find guidance for referencing your work correctly in UWE Harvard</span>.</li>
Whist this does not (note the final full stop within the span):
<li><span style="line-height: 115%;">Know how to find guidance for referencing your work correctly in UWE Harvard.</span></li>

Here, a br is inserted after the ul and before the first li (doesnt validate), the first two list items have a br inserted before the closing li tag, and the third has one br inserted at the beginning of the li and again at the end.
<ul class="emphasis-list check">
 <li>Pass rate: <strong><span class="text-success">99%</span></strong></li>
 <li>Average mark: <span class="text-success"><strong>83%</strong></span></li>
 <li><strong><span class="text-success">85%</span></strong> of the students' marks were above <strong><span class="text-success">70%+</span></strong></li>
</ul>
You can also see br added after the h3
http://academicskills.uwe.ac.uk/fet/workbooks/fet-low/4397/about-us
updated by @ultrajam: 04/22/16 08:01:47AM
SteveX
@ultrajam
04/22/16 07:40:42AM
2,584 posts

html in text fails form validation


Jamroom Developers

I think we have solved this by changing the textareas to editor fields and allowing all html. Seems ok in testing so we'll see what comes back over the next couple of weeks.
SteveX
@ultrajam
04/18/16 02:48:24PM
2,584 posts

Skin Directory


Jamroom Developers

In php, try:
$_conf['jrCore_base_dir']
$_conf['jrCore_base_url']
If that doesn't work try globalling conf at the start of your function:
global $_conf;

In smarty:
$_conf.jrCore_base_url
  79