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.

Is there a way to move Flagging link to the bottom of the post?

Hi everyone!

Is there a way to move Flagging link to the bottom of the post (before or after Quote link) instead of the top using just CSS?

My forum runs on Vanilla version 2.2 and we have Bootsrap theme.

Thanks in advance.

Tagged:

Best Answers

  • R_JR_J Ex-Fanboy Munich Admin
    Answer ✓

    Try replacing public function discussionController_afterDiscussionMeta_handler($Sender, $Args) {
    with public function discussionController_afterDiscussionBody_handler($Sender, $Args) {

    You can enable the plugin eventi to see more possibilities.

Answers

  • hgtonighthgtonight ∞ · New Moderator

    Not really a good way to do it. The flagging plugin here is part of the closed addon Reputation, IIRC.

    You could write a dependent plugin that outputs it in the reaction area. Or modify the flagging plugin.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Thanks @hgtonight for your explanation.

    The easiest way to modify the flagging plagin, isn't it? You mean modify addFlagButton, something along those lines https://vanillaforums.org/discussion/31711/move-flagging-link-to-cogwheel-menu ?

  • R_JR_J Ex-Fanboy Munich Admin
    Answer ✓

    Try replacing public function discussionController_afterDiscussionMeta_handler($Sender, $Args) {
    with public function discussionController_afterDiscussionBody_handler($Sender, $Args) {

    You can enable the plugin eventi to see more possibilities.

Sign In or Register to comment.