Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

How do I add a FAQ Page to my Forum ?

Will appreciate all help on this.

I have tried to add the Custom Pages and FAQs plugin ( which is very old.... ( at -

http://vanillaforums.org/addon/faqs-plugin

and can make FAQs etc which show up at -

http://getjoy.in/enjoy/faq/question/browse

if I am logged in.

How to show these questions ona Page and also to non-logged in people ?

Comments

  • Options

    grep is your friend.

  • Options

    @x00 ..thx :-0

    Let me rephrase my question a bit better .. how can users logged/not logged can see a FAQ Link on the main page which when they click leads them to a FAQ page where they can see existing Questions/Answers as well as add their Questions ( or , at least, see answers to Questions already asked.. )

    Pl see snap attached - hopefully clear...![]

    (https://us.v-cdn.net/5018160/uploads/editor/ko/zj1nlj41hyc0.png "")

  • Options

    still not clear to me what you want to do, not sure if anyone else understands your goal.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    I want a link named FAQs on the Menu Bar which when clicked leads to

    http://getjoy.in/enjoy/faq

    I hope clearer :-)

  • Options
    R_JR_J Ex-Fanboy Munich Admin
    edited August 2014

    Do you have a custom theme where you can add a theme hook like that?

        public function base_render_before($Sender) {
            if ($Sender->Menu) {
                $Sender->Menu->AddLink('FAQ', T('FAQ'), Url('/faq'));
            }
        }
    
  • Options

    @R_J ... as of now, that is totally above my head but thanks anyways for coming in !

  • Options

    OK, I have managed to do this by using the plugin at -

    http://vanillaforums.org/addon/addmenuitem-plugin

    for which, thanks @peregrine‌ :-)

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Edit the default.php of the faq plugin and add that code right before the last "}"

  • Options

    @R_J‌

    The FAQ I have is an application, not a plugin ..don't see a default.php there but see a class.hooks.php file there.. should I add code above in that one ?

  • Options
    peregrineperegrine MVP
    edited August 2014

    the advantage of addmenuitems plugin is that you can easily change things on the fly by going into the dashboard, and change things in a few seconds, vs changing code or plugins. You also don't have to worry about upgrades.

    otherwise you can add menu items via themehooks, plugins, apps, and just coding it into default.master.tpl.

    they all serve the same purpose, and one vs. another is not going to give you great performance degradation or enhancement. So, ease of use may be the way to go.

    and yes to your question.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Generally spoken: don't add code in directories that you haven't created yourself. That is because if there will be an update of Vanilla/the plugin where you've changed anything, your changes will be gone and most likely you have long forgotten about that changes.

    But to easily change something, especially if you are no coder, it is most easy to change existing code. So you have two possibilities: 1) learn how to code and get the proper way to implement something like that (I would recommend a custom theme) or 2) find a way to properly document all the changes you make and make sure that this documentation is 100% reliable.

    Now it is up to you to decide what you like to. If you want to change existing code, try adding the code to the file you have found...

  • Options

    @‌R_J

    Thanks.. will try and revert.. as for learning how to code, perhaps in another life :-)

Sign In or Register to comment.