question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Ask for help" button that pre-populates forum post

See original GitHub issue

User story

As a user, if I need help with a challenge, I can click a “Ask for help on the forum” button. A modal will pop up with the following text:

“If you’ve already tried the Read-Search-Ask Method, then you can ask for help on the freeCodeCamp forum.” [Create a help post on the forum]

A new tab will open with a prep-populated forum post with:

  • the the title of my current challenge in the subject line
  • the post body, which includes this:

What’s happening

My code so far

this should be automatically populated and formatted

My browser information

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36.

Discourse URL

Here’s how to format a URL for creating a post on Discourse

http://forum.freecodecamp.org/new-topic?title=**topic%20title**&body=**topic%20body**&category=help

UI element

Here’s what the button should look like. This should be added to all views that have tests:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
prateekgoelcommented, Aug 4, 2017

@QuincyLarson I created the modal successfully with takes to the forum. But i need little help in pre-populating the forum post. Can you please guide me on how can I fetch the title and body so that I can pass them in querystring?

Currently I have placed the static link to forum post in the challenge-modals.jade.

1reaction
prateekgoelcommented, Jul 27, 2017

@QuincyLarson Thanks. Yes I understand this is a high-priority issue. Actually, being a beginner, I found it difficult to find the files. I will try and implement the modal soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How i post my code from code pen to forum for help?
I want to post my code for help. ... Click the “Ask for Help” button; Fill in the necessary details on the prepopulated...
Read more >
How to create a great Forum post! - Nintex Community
To begin, click on Ask a question in the top right corner. This button will always be available in the top-right corner of...
Read more >
codesign repeatedly asks for access to System Keychain
(Another issue: the username is not pre-populated, even though I am logged in as an admin.) My "Developer ID Application" certificate is stored...
Read more >
Workaround for URL Hack to prepopulate fields on standard ...
I think the answer to your question is maybe. Up until a couple years ago, asking support to disable validation of CSRF token...
Read more >
Pre-Populate Name (text) Field of a Custom Object
I have the following Button below that opens a page to add a new record for "Drugs__c". It pre-populates the Account field on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found