Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 12

CurtisOdenericgillettefh111tc74 +8 guests

How do I link forum topics like the vanilla plugin pages?

Hi guys, I was wondering how I could like my vanilla forum topics in the same way as done on this site. I'e provided screenshots as examples:

The discussion page

The plugin page Note the highlight in red. It somehow knows which page this discussion relates to:

How can I do the same thing? I would like to link fourm chat topics to specific pages just like shown above. Is this something baked into the general software, or have the site devs built this custom functionality?

Thank you

S

Comments

  • TimTim
    Posts: 1,573 Accepted Answer 2 likes

    Our addon app adds a column to the GDN_Discussion table that relates discussions to addons. When you click "Ask A Question" on a plugin page, the plugin's ID is inserted into that field. When a discussion is rendered, our addons app hooks into an event and checks for that field. If it has an ID in it, we render the text you see there.

    You can write a plugin which does this.

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • Posts: 2,058 2 likes

    And that addons app is open source here for reference: https://github.com/vanillaforums/VanillaAddonsApp

    Vanilla developer [GitHub, Twitter]

  • Tim,

    Thanks for the quick answer. I think I'm going to try an integration into one of my sites.

    Sheraz

  • Posts: 32

    How to use this addon app?

  • Posts: 103 1 like

    Download it, copy to your applications folder and active in in your dashboard

Sign In or Register to comment.