Closed Bug 518445 Opened 16 years ago Closed 16 years ago

Can't link directly to ask a new question form

Categories

(support.mozilla.org :: Forum, task)

task
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED
1.4.0.1

People

(Reporter: cww, Assigned: jsocol)

References

Details

(Keywords: regression, Whiteboard: aaq sumo_only)

Attachments

(2 files)

Right now, we use links like http://support.mozilla.com/tiki-view_forum.php?openpost=1&forumId=1 all over the forum and live chat and in various other places to tell users to ask a new question (or followup from livechat). This pulls up the new question form right away rather than pointing them to a long list of topics. This is particularly important because "Follow up in forums" is how users on live chat can restart their browser and get more help. We've completely regressed that behavior. Filing as 1.4 because quite frankly I don't think it should wait for 1.4.1 and warrants 1.4.0.1
FFIW, I missed it entirely because &openpost=1 was being put in the address bar but that doesn't actually do anything if you go directly there.
Whiteboard: aaq
Assignee: nobody → james
Severity: critical → blocker
Target Milestone: 1.4 → 1.4.1
Assuming 1.4.0.1, what is the workaround for this in 1.4? The current path to asking a new question is quite horrible: 1. Click "Ask a question" - end up on http://support-stage.mozilla.org/en-US/kb/Ask+a+question 2. Click "Take me to the forum" - end up on http://support-stage.mozilla.org/en-US/kb/Support+Website+Forums 3. Click "Ask a new question" - end up on http://support-stage.mozilla.org/en-US/forum/1&openpost=1 4. Click "Ask a New Question" - in-page form pops up If this is what is being pushed out in 1.4? As a workaround, we could improve the above path to look like this: 1. Click "Ask a question" - end up on http://support-stage.mozilla.org/en-US/kb/Ask+a+question 2. Click "Take me to the forum" - end up on http://support-stage.mozilla.org/en-US/forum/1 3. Click "Ask a New Question" - in-page form pops up This workaround would just require content changes on the Ask+a+question wiki page, so no template updates would be needed.
AFAIK, I added implementation for it on the Ask a New Question page as well, so the path should currently be: 1. Click "Ask a question" - end up on http://support-stage.mozilla.org/en-US/kb/Ask+a+question 2. Click "Ask a New Question" (or whatever link is added on that wiki page) - in-page form pops up To quote comment 11 from bug 505425: > * To set it up on the "Ask a question" page, add this to that page's wiki > content: > --- > {DIV(class=forumquestion)}[tiki-ask_a_question.php?forumId=1|Ask a New > Question]{DIV}
That links directly to the no-JS version of the form not the more usable version.
Fixed the Ask a question page to link directly to the forum.
Attached patch patch, v1Splinter Review
This just checks the current URL for the string "openpost". It doesn't care about the value, and it should work on any page including all the necessary AAQ markup and script. That should allow appending an "openpost" parameter to any query string.
Attachment #402613 - Flags: review?(laura)
Attachment #402613 - Flags: review?(laura) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: 1.4.1 → 1.4.0.1
Status: RESOLVED → VERIFIED
This adds annoyance for editing posts, as the openpost=1 is present then, too. Need to check for that + comments_threadId == 0
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Attached patch patch, v2Splinter Review
This basically checks for the input found at tiki-view_forum.tpl:130
Attachment #402946 - Flags: review?(laura)
Attachment #402946 - Flags: review?(james)
Attachment #402946 - Flags: review?(james) → review+
Comment on attachment 402946 [details] [diff] [review] patch, v2 Note that this patch needs to be applied after the first patch. WFM.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
The direct URLs I'm testing are: 1) https://support-stage.mozilla.org/tiki-view_forum.php?openpost=1&forumId=3 (no popup AAQ) 2) https://support-stage.mozilla.org/tiki-view_forum.php?openpost=1&forumId=4 (no popup AAQ) 3) https://support-stage.mozilla.org/tiki-view_forum.php?openpost=1&forumId=1 (popup AAQ) Right? What else should I regression-test for? Just try opening/editing posts in those three forums, as per comment 9?
Verified FIXED on the above URLS; also did some basic regression testing. (Would love it if Noah or Chris could also double-check!)
Status: RESOLVED → VERIFIED
Attachment #402946 - Flags: review?(laura)
Part of AAQ feature; sumo_only
Whiteboard: aaq → aaq sumo_only
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: