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.
Change the order of reactions and people that reacted
JoZ3_69
✭
First, thanks to @hgtonight for this fantastic application; now my question is: How can I change the order of reaction and people that reacted in me discussion/comment? Now appear thereby under the message:
- People that reacted.
- Last edit.
- Signature (signature plugin).
- Reactions.
Check the image
The order that I want:
- last edit.
- Signature
- People that reacted
- Reactions
Thanks for the help and sorry for my worst english
0
Comments
Thanks for trying my addon!
What plugin are you using that shows the "Last edit" message?
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.
Last Edited 1.1.1 - http://vanillaforums.org/addon/lastedited-plugin
you could change the After to Before in Last edited plugin
e.g. in class.lastedited.plugin.php
it will put the last edited above the body but equally visible.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
You could unregister the hooks file and then re-register:
The downside is you are registering the plugin twice.
A method that should perform better would be to copy the
/applications/yaga/settings/class.hooks.php
file to/applications/yaga/library/actual.hooks.file.php
. This will prevent the autoloader from loading the file. Then, in/applications/yaga/settings/class.hooks.php
, replace the contents with:Let me know if this works, as it is mostly theory on my end.
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 works perfectly
Hi @hgtonight , I have changed my server, I have not changed anything in the system and the order has changed again. I returned to copy the original files from the yaga and proceeded to perform the above steps and it didn't work ....
What is in
/applications/yaga/settings/class.hooks.php
?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.
<?php if(!defined('APPLICATION')) exit(); /* Copyright 2013-2014 Zachary Doll */ /** * Delays registering Yaga Hooks until the plugin manager is finished registering autoloaded * plugins. */ class FakeHooks implements Gdn_IPlugin { public function Gdn_PluginManager_AfterStart_Handler($Sender) { require_once(PATH_APPLICATIONS . DS . 'yaga' . DS . 'library' . DS . 'actual.hooks.file.php'); $Sender->RegisterPlugin('YagaHooks'); } public function Setup() { return TRUE; } }