When an 'Ask for Help' request comes from WW, we redirect it to wp-login.php if the user is unauthenticated.
This redirect should include a special param (say, ?is-webwork-redirect or whatever), and when that param is detected, we ought to show a special login message. I think the generic message should be something like: You have been directed to %s from WeBWorK. Before posting a question, you must log in using your %s credentials, where %s is the name of the site (in the case of the OL it would be WeBWorK on the OpenLab).
I'll put a filter on this so that it can be modified. I assume we want something a bit more tailored for the OL, like You must log into the OpenLab to post a WeBWorK question. Other suggestions on wording are welcome.
When an 'Ask for Help' request comes from WW, we redirect it to wp-login.php if the user is unauthenticated.
This redirect should include a special param (say,
?is-webwork-redirect
or whatever), and when that param is detected, we ought to show a special login message. I think the generic message should be something like:You have been directed to %s from WeBWorK. Before posting a question, you must log in using your %s credentials
, where%s
is the name of the site (in the case of the OL it would beWeBWorK on the OpenLab
).I'll put a filter on this so that it can be modified. I assume we want something a bit more tailored for the OL, like
You must log into the OpenLab to post a WeBWorK question.
Other suggestions on wording are welcome.