Pavel Chernitsky Posted September 12, 2020 Posted September 12, 2020 Is it possible to "extract" the edit and report buttons from their new house under the three dot menu? I understand the want and need to declutter, but I personally and much of our users edit our posts quite a lot, and we also want our users to have as little work as possible needed in order to report a post. Thanks. IP-Gamers 1
IP-Gamers Posted September 14, 2020 Posted September 14, 2020 Insert this into line 179 of the "post" template <!--КНОПКА РЕДАКТИРОВАНИЯ ПОСТА--> {{if $comment->item()->canEdit()}} <button class="ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide" data-action="editComment" style="display: inline-block;" _title="Редактировать пост"><li class='ipsComment_controls ipsClearfix ipsItemControls_left'><a href='{$comment->url('edit')}' data-action='editComment'><i class="fa fa-pen"> {lang="edit"}</i></a></li></button> {{endif}} <!--КОНЕЦ КНОПКИ РЕДАКТИРОВАНИЯ ПОСТА--> Get the following output:
CoffeeCake Posted September 14, 2020 Posted September 14, 2020 On 9/12/2020 at 5:52 AM, Pavel Chernitsky said: Is it possible to "extract" the edit and report buttons from their new house under the three dot menu? I understand the want and need to declutter, but I personally and much of our users edit our posts quite a lot, and we also want our users to have as little work as possible needed in order to report a post. Thanks. I have posted a free plugin in the Marketplace that does this earlier today. First time submitting something to Marketplace, and it is awaiting approval as far as I can tell. BankFodder and Tennman 2
Tennman Posted September 14, 2020 Posted September 14, 2020 1 hour ago, Paul E. said: I have posted a free plugin in the Marketplace that does this earlier today. First time submitting something to Marketplace, and it is awaiting approval as far as I can tell. Thanks for making the plugin. What is your plugin called so I can be watching for it?
Solution CoffeeCake Posted September 14, 2020 Solution Posted September 14, 2020 18 minutes ago, Tennman said: Thanks for making the plugin. What is your plugin called so I can be watching for it? Presumably the above link will work at some point. Again, no idea. First try. 🙂 Joel R and Pavel Chernitsky 1 1
Pavel Chernitsky Posted September 14, 2020 Author Posted September 14, 2020 7 hours ago, L4D2Noob said: Insert this into line 179 of the "post" template <!--КНОПКА РЕДАКТИРОВАНИЯ ПОСТА--> {{if $comment->item()->canEdit()}} <button class="ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide" data-action="editComment" style="display: inline-block;" _title="Редактировать пост"><li class='ipsComment_controls ipsClearfix ipsItemControls_left'><a href='{$comment->url('edit')}' data-action='editComment'><i class="fa fa-pen"> {lang="edit"}</i></a></li></button> {{endif}} <!--КОНЕЦ КНОПКИ РЕДАКТИРОВАНИЯ ПОСТА--> Thanks, But I'd rather have something that doesn't involve editing the code... 6 hours ago, Paul E. said: I have posted a free plugin in the Marketplace that does this earlier today. First time submitting something to Marketplace, and it is awaiting approval as far as I can tell. Awesome. Will wait patiently.
Tennman Posted September 14, 2020 Posted September 14, 2020 (edited) 17 hours ago, Paul E. said: Presumably the above link will work at some point. Again, no idea. First try. 🙂 Thanks for your reply. I must not have the permissions needed to see the link you refer to. Edited September 14, 2020 by Tennman
CoffeeCake Posted September 14, 2020 Posted September 14, 2020 3 minutes ago, Tennman said: I must not have the permissions needed to see the link you refer to. I don't think it's been approved yet. I suppose the link will work if/when it's approved. Tennman 1
Pavel Chernitsky Posted September 16, 2020 Author Posted September 16, 2020 On 9/14/2020 at 6:54 AM, Paul E. said: Presumably the above link will work at some point. Again, no idea. First try. 🙂 Brilliant! works perfectly. Thank you so much, a million blessings upon your head 🙂 The Old Man, CoffeeCake and BankFodder 2 1
BankFodder Posted September 16, 2020 Posted September 16, 2020 1 minute ago, Pavel Chernitsky said: Brilliant! works perfectly. Thank you so much, a million blessings upon your head 🙂 I think that might be a bit excessive – don't you?
Pavel Chernitsky Posted September 16, 2020 Author Posted September 16, 2020 Ok... Ten thousand? BankFodder 1
Management Matt Posted September 16, 2020 Management Posted September 16, 2020 5 minutes ago, BankFodder said: I think that might be a bit excessive – don't you? It's 2020, take as many as you can. Pavel Chernitsky, bearback, The Old Man and 2 others 5
Tennman Posted September 16, 2020 Posted September 16, 2020 @Paul E. Thank you! The plugin works as described. It was just what I needed on my forum. Saved me from editing a template file. Good job! CoffeeCake and BankFodder 1 1
Afrodude Posted September 16, 2020 Posted September 16, 2020 On 9/13/2020 at 10:54 PM, Paul E. said: Presumably the above link will work at some point. Again, no idea. First try. 🙂 Good job. Now you've joined the cool kid group.
CoffeeCake Posted September 16, 2020 Posted September 16, 2020 6 minutes ago, Afrodude said: Good job. Now you've joined the cool kid group. 🤫 Afrodude 1
Recommended Posts