|
Forcelogin is enabled. Would it be simpler to let admins edit policies directly using a browser rather than uploading a file? Would it leave easier teh solution?
Another possible solution to this issue: let people accept the policy when creating a new account.
Currently formslib support all the existing mdl_users database fields, including "policyagreed". Thus: Very rough code to be refined prior to add to signup_form.php: $privacystring = 'I agree.......'; I have already discussed the site policy on signup page - it will be in 1.9, no new features in 1.8.x, sorry
I am going to commit a patch soon and some other fixes too. oh
... discussed with Martin... should be fixed in cvs, thanks for the report.
Updated to latest 1.8+ today. This issue is still present i.e. policy is still nested. Policy file is a html file in site files.
Causes lock up in IE 6. Force log in is off. hmm, it always worked with forcelogin off, I think this is different problem. Please describe exacts steps needed to reproduce the problem (file names, locations, etc.) and please send me a test account via email and URL (skodak at moodle dot org).
thanks Create a html file policy.html
Upload to site files in 1.8.+ site Enter path to above file at .....moodle/admin/settings.php?section=sitepolicies i.e http://mysite.co.uk/moodle/file.php/1/policy.html Attempt to log in. Site policy "pane" was filled with nested site policies on client machine, now testing in office and site policy is displayed without nesting. On both computers when the button is clicked to accept the policy the browser hangs. Only in IE 6, FF works fine Update, I received this warning in IE6. When I cleared the message I was able to accept the policy and enter.
Works fine for me in nonIE browsers, you could try to fix the policy file to contain valid HTML (it is missing html and body tags).
Fixed. Still not working in IE6. Confirm works fine here using Firefox.
the problem is in IE itself, it can not redirect when the policy page contains object tag
I am going to file a new issue for it. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You can not view uploaded files before confirming the policy if forcelogin enabled. The randomness could be caused by browser caching.
I am evaluating option to skip require login in file.php for policy file itself...