Forum Activity for @ultrajam

SteveX
@ultrajam
02/14/17 01:50:36PM
2,584 posts

Adding text choices to the editor?


Design and Skin Customization

You can edit the menu in form_editor.tpl

From memory, you can only use html elements in block_formats:
block_formats: 'Paragraph=p;Header 1=h1;Header 2=h2;Header 3=h3;Section=section',

You can do more with the formats menu and style_formats (also in form_editor.tpl) but might need to write some css as well in order to get what you want.

You can get more idea as to how to achieve that here:
https://www.tinymce.com/docs/configure/content-formatting/
updated by @ultrajam: 02/14/17 01:52:07PM
SteveX
@ultrajam
02/10/17 10:52:32AM
2,584 posts

Problem updating jrCore



We do have SSL on the server, we needed it to embed a Jamroom FAQ in an external SSL site in Blackboard (the uni's LMS) but that embed is the only https page to the Jamroom. That's been in place for about a year and hasn't presented a problem until now. The Jamroom is not SSL at all.

The redirects only happen occasionally, most pages are accessed as http and there doesn't seem to be a pattern as to which ones are, can't figure out why some have started to be redirected. IT haven't been much help so far :(

Yesterday we had 3 cohorts of students accessing the same workbooks and my guestimate is that 99% of pages had no redirect.
SteveX
@ultrajam
02/10/17 03:06:00AM
2,584 posts

Problem updating jrCore



I have been looking at the https problem by putting an fdebug in router.php and logging $_SERVER if it is an https url.

Does this mean anything? Where would the redirects be coming from?

Quote: (2017-02-09T17:24:00+00:00.0.78455100 : 0)-(mem: 1.5MB)-(pid: 25266)-(ip: 5.151.0.127)-(uri: GET /fet/workbooks/fet-low/4550/unit-2-library-search)
Array
(
[REDIRECT_HTTPS] => on
[REDIRECT_SSL_TLS_SNI] => academicskills.uwe.ac.uk
[REDIRECT_STATUS] => 200
[HTTPS] => on
[SSL_TLS_SNI] => academicskills.uwe.ac.uk
[HTTP_HOST] => academicskills.uwe.ac.uk
[HTTP_CONNECTION] => keep-alive
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[HTTP_REFERER] => http://academicskills.uwe.ac.uk/fet/workbooks/fet-low/4418/unit-2-library-search-and-reading-lists
[HTTP_ACCEPT_ENCODING] => gzip, deflate, sdch, br
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
[HTTP_COOKIE] => sess3c6a12f3d45e=ja3rmu3ok7fgkcflm9ti1a33g7; _gat_UA-54180852-2=1; _ga=GA1.3.1001729920.1486298165; mylogin="2c3f84d18-d220-40e4-ac69-11f0ff770e59tEJNObgHvvm1l9zRjGOzj2PhvWzGgswP8RvZidxiJIQaHsR/OVPB9VRRv5wB9eeh/iJxIqRqtleSx8x2mHkgz2wvnjWlSmsEMa+V2aiz0Claxv1V7MaltipSEPn6UzFiv+9ePkJiHjRcjVvg73Jmhg=="; sessecff4f939431=0hr4gaqmgvtq7avd4th4vdg886; _ga=GA1.4.1001729920.1486298165; _gat=1
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => <address>Apache/2.4.7 (Ubuntu) Server at academicskills.uwe.ac.uk Port 443</address>

[SERVER_SOFTWARE] => Apache/2.4.7 (Ubuntu)
[SERVER_NAME] => academicskills.uwe.ac.uk
[SERVER_ADDR] => 164.11.132.140
[SERVER_PORT] => 443
[REMOTE_ADDR] => 5.151.0.127
[DOCUMENT_ROOT] => /home/academicskills/public_html
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /home/academicskills/public_html
[SERVER_ADMIN] => lib.it@uwe.ac.uk
[SCRIPT_FILENAME] => /home/academicskills/public_html/modules/jrCore/router.php
[REMOTE_PORT] => 15415
[REDIRECT_QUERY_STRING] => _uri=fet/workbooks/fet-low/4550/unit-2-library-search
[REDIRECT_URL] => /fet/workbooks/fet-low/4550/unit-2-library-search
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => _uri=fet/workbooks/fet-low/4550/unit-2-library-search
[REQUEST_URI] => /fet/workbooks/fet-low/4550/unit-2-library-search
[SCRIPT_NAME] => /modules/jrCore/router.php
[PHP_SELF] => /modules/jrCore/router.php
[REQUEST_TIME_FLOAT] => 1486661040.776
[REQUEST_TIME] => 1486661040
[jr_is_ajax_request] => 0
)
SteveX
@ultrajam
02/10/17 02:54:29AM
2,584 posts

Problem updating jrCore



Yes, the smiley module is now updated :)

Thanks Brian
SteveX
@ultrajam
02/09/17 01:50:10AM
2,584 posts

Problem updating jrCore



I did send this, did you receive it ok?
SteveX
@ultrajam
02/07/17 11:31:47AM
2,584 posts

Problem updating jrCore



Yes, it is.
SteveX
@ultrajam
02/07/17 08:49:38AM
2,584 posts

Problem updating jrCore



I get the same problem with the Smiley Support module on Jamroom hosting: https://virti.co

The activity log says it has been updated, but it remains in the update list even after running the integrity check.
SteveX
@ultrajam
02/07/17 07:26:07AM
2,584 posts

Problem updating jrCore



Thanks Brian - I edited the functions, seems to be working ok for now.

Still waiting to hear back from IT (which can take a long, long time).
SteveX
@ultrajam
02/07/17 12:40:54AM
2,584 posts

Problem updating jrCore



Still waiting to hear back from their "fast response" team ;)

For now I have disabled supercache, and edited jrCore_get_server_protocol and jrCore_get_base_url to always return http
That seems to be working well enough for now and allows me to update and run the integrity check.

The Smiley Support module (1.2.3) doesn't update regardless of how many times I run the update and the integrity check. It says it has completed, logs it as [Steve] successfully updated module jrSmiley from version 1.2.2 to 1.2.3 but run the integrity check again and it is still on 1.2.2.

Have this in the error log:
Quote: [07-Feb-2017 08:48:46 Europe/Dublin] PHP Warning: rename(/home/academicskills/public_html/data/cache/jrMarket/jrSmiley,/home/academicskills/public_html/modules/jrSmiley-release-1.2.3): Directory not empty in /home/academicskills/public_html/modules/jrMarket-release-1.4.4/include.php on line 981 [1]

updated by @ultrajam: 02/07/17 02:52:13AM
  48