Can someome please give me an online forum link using this extension? I want to see how it appears.
Evergreen - Comment Trees for Flarum
- Edited
As a helpful tip, I am able to workaround with disabling the show reply button, and showing the entire commen tree automatically via the javascript below. Just add the code snippet to the footer.
Unfortunately I can't use this awesome extension (yet) since the original post still displays linearly below, and no easy way to hide them. If the extension can allow the option to display replies only in the comment tree, that would be a pretty useful feature I think.
# Auto show Evergreen comments every 1.5s (If enabled)
<script type="text/javascript">
function autoShowEvergreen() {
var elems = document.getElementsByClassName("Evergreen--show");
for(var i=0; i<elems.length;i++) {
if( elems[i].tagName.toLowerCase() === "button" )
elems[i].click();
}
}
window.onload = function(){
setInterval(autoShowEvergreen(), 1500)
}
</script>
KakaLVPOT Nope! I've stopped using it.
Using version ^0.2.0 for kyrne/evergreen
./composer.json has been updated
Running composer update kyrne/evergreen
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- flarum/mentions is locked to version v1.0.0 and an update of this package was not requested.
- kyrne/evergreen 0.2.0 conflicts with kyrne/evergreen 0.2.0.
- Root composer.json requires kyrne/evergreen ^0.2.0 -> satisfiable by kyrne/evergreen[0.2.0].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
There a link for packagist?
wolfshards if you mean the Composer command, it's in the first post.
There generally isn't a reason to go to the Packagist page itself, but you can easily find it by using the Packagist search with the package name if the extension author doesn't provide it https://packagist.org/packages/kyrne/evergreen
clarkwinkelmann Thx for the link. Is beacause FreeFlarum request packagist links when we suggest extensions. Soo this can be handy if we got one.
wolfshards we require packagist links because it is easier for us to check for dependencies and compatibility with other packages/extensions this way. It's just one click away from the issue. However, it's not strictly required to include packagist links in our extension requests, because you can make them from the require command anyways (as Clark pointed out). But they save us some time trying to figure things out
What happens to the comments when I remove this addon?
Will be remove also or converted as normal replies?
Thanks!
This extension should be mark as abandoned. I contact the author multiple time about fixing it but there is no response. It needs to be updated to work with stable version of flarum
- Edited
Hari it kinda work but not stable. The built in mentions function is not working right (I tested it with flarum mentions uninstalled). Also the content not loaded correctly from time to time, especially when you composing an answer. The code for composer needs to be slightly factored.
So yes, the author did update it to work with stable but not everything was finished/done correctly.