Users discussed the ability to generate URLs that pre-fill a new topic’s title and category when opened, specifically to streamline integration with external sites like GitHub Pages. dirkcuys initiated the request, asking if a link could open the editor with parameters like topic=foo&category=bar to avoid creating empty topics or forcing users to manually select categories. sam validated the request, noting it was not yet available but a legitimate feature. codinghorror linked to a related discussion about reply links, while dirkcuys clarified the need for new topic creation rather than replies, emphasizing that login states must be preserved. downey supported the idea, suggesting it would also help with subcategories. dltj and godmoneytrust expressed strong interest for similar use cases, such as external links for introductions. balupton highlighted the current inelegance of directing users from CONTRIBUTING.md files to browse pages instead of directly opening the composer. codinghorror noted the feature was on techAPJ’s roadmap. Finally, techAPJ announced that the feature is now available, providing a link to the implementation details on Meta.
Is it possible to send a user to a specific URL (like forum.org/posts/create?topic=foo&category=bar) that will open up an editor to create a new topic with the topic and category filled in?
I’m working on integrating github pages and discourse for onlline courses, but I think it also applies to general github pages integration. This would avoid having to create a topic for every page and it will also avoid lots of 1 comment topics for pages that turned out to not be comment worthy.
Does this already exist? Am I missing the whole point? Does it simply require some sleeve rolling?
Yes, definately related - although this would be to create a new topic rather than reply to a post in an existing topic.
If the user have to log in and the intent of creating a new topic isn’t carry over they will be at a complete loss. Is it something that lies in that 5% of things that doesn’t fit with how everything else is done or would it be possible to do?
(Nice to see the “Revive this topic” pop-up come up as I started this reply. Yes, indeed I would like to revive this topic.)
Has anyone had a chance to scratch this itch yet? I’m in a similar situation where I’d like to be able to have a link that I could post on a page outside of the Discourse site to encourage the creation of a new topic.
I would love to have something like this. We’re starting out with a “Hi I am . . .” category and it would be great to have the about have a link to “Introduce Yourself” that pops up the new topic editor.
Would love this too. We’d like to link people to our About the problems category topic via our github projects CONTRIBUTING.md file. Currently we have to do this inside our about category page:
Ready to post? Browse existing problems! (you can create a new problem by clicking the New Topic button up the top right of the browse page)