Forum Activity for @ultrajam

SteveX
@ultrajam
02/18/17 02:53:12AM
2,589 posts

Execute JS after User Login


Jamroom Developers

Does it appear in your html source?
SteveX
@ultrajam
02/17/17 02:10:47PM
2,589 posts

Execute JS after User Login


Jamroom Developers

Untested, but you could try this:
function sdContestMWUser_login_success_listener($_data,$_user,$_conf,$_args,$event)
{ $tmp = array("alert('TEST: Alert On SignIn');"); jrCore_create_page_element('javascript_footer_function', $tmp); }
SteveX
@ultrajam
02/16/17 12:20:31PM
2,589 posts

How do we set up Google Map so it works over SSL on ou site?


GoogleMaps

You are welcome!

I'm not using Google maps in my current job, so thanks for reporting the problem :)
SteveX
@ultrajam
02/16/17 11:49:43AM
2,589 posts

How do we set up Google Map so it works over SSL on ou site?


GoogleMaps

I've updated the module to v1.0.8 which should work better on SSL sites.

Can you give that a try and let me know how that works for you?

Thanks!
SteveX
@ultrajam
02/16/17 02:19:07AM
2,589 posts

How do we set up Google Map so it works over SSL on ou site?


GoogleMaps

Do you have a link to a page where it isn't working?

Thanks
SteveX
@ultrajam
02/14/17 01:50:36PM
2,589 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,589 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,589 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,589 posts

Problem updating jrCore



Yes, the smiley module is now updated :)

Thanks Brian
  48