Howdy, Stranger!

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

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

"Quotes" plugin doesn't work with Articles

This discussion is related to the Articles addon.

We use the popular "Comments" plugin on our forums, and our users found that the Quote function doesn't work on article comments. The link looks something like this:

/forums/post/quote/4742/Comment_

...when it should look something like this:

/forums/post/quote/4742/Comment_43928

If they click on the "Quote" link, it takes them to a blank page.

Also, potentially related, some other things don't show up in the comments section in Articles such as the "RoleTitles" plugin, and the "ThankfulPeople2" plugin

Comments

  • ShadowdareShadowdare π Moderator
    edited February 2015

    Those plugins work by outputting code via specific events. The Quote plugin probably outputs the link in an event that Articles app has in one of its views, but expects CommentID (Vanilla) and doesn't support ArticleCommentID. If this is the case, then the Quote plugin has to be modified to support the Articles app.

    The RoleTitles and ThankfulPeople2 plugins might have code for events that run on specific controllers, such as the DiscussionController. On the other hand, if those plugins do target the Base Controller (applies to all controllers), then the events need to be added in the Articles app's views.

    You would have to take a look at the code for those plugins and determine what needs to be modified.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

  • steamsteam www.planamigo.org - #1 foro planes amigo

    @khalwat said:
    We use the popular "Comments" plugin on our forums, and our users found that the Quote function doesn't work on article comments. The link looks something like this:

    /forums/post/quote/4742/Comment_

    ...when it should look something like this:

    /forums/post/quote/4742/Comment_43928

    If they click on the "Quote" link, it takes them to a blank page.

    Also, potentially related, some other things don't show up in the comments section in Articles such as the "RoleTitles" plugin, and the "ThankfulPeople2" plugin

    I have the same problem. Have you solved this bug ? Thanks.
    http://www.planamigo.org/articles

Sign In or Register to comment.