Hari
thanks for updating 🥳
Remove composer remove flarum/mentions
then Install composer require kyrne/evergreen
Update composer update kyrne/evergreen
Remove composer remove flarum/mentions
then Install composer require kyrne/evergreen
Update composer update kyrne/evergreen
Hari Is this working now? @ctupramod this is something amazing. Shall we check this out?
I have tried evergreen Hari you may need to remove flarum/mentions then Install kyrne/evergreen which is too risky
Hari another issue i have found is if I install evergreen and mention it is working fine. but after removing evergreen and switching back to flarum/mention it's not recognizing mentions created by evergreen. 🐛 (bug)
Read more at https://discuss.flarum.org/d/24695-evergreen-comment-trees-for-flarum/67
Somone please answer this: if I remove flarum mention using command , will this extension considers old mention data?
thimiraonline just making sure everything works perfectly or not. (Not yet installed)
thimiraonline Saw this earlier. But didn't tried in the forum 🙄
People reported about bugs and it will be a risk to try it in a large forum.
I think trying it in a localhost and then to the live forum will be ok. Isn't it 😐️ ?
Mentions is bundled into evergreen. This is necessary because I had to override some "un-overridable" functions. All functionality is the same and all data is preserved, even if you move back to stock mentions.
shall I just disable the flarum mentions and install evergreen or its mandatory to remove flarum mentions?
edit: got it I should not uninstall it, just need to remove it 👍
Edit 2: how can i disable show reply .. i want it to display without hitting the "show reply" button and old posts are not showing as a tree view
another issue i have found is if I install evergreen and mention someone it is working fine. but after removing evergreen and switching back to flarum/mention its not recognizing mentions created by evergreen. 🐛 (bug)
Hari after removing evergreen and switching back to flarum/mention its not recognizing mentions created by evergreen. 🐛 (bug)3
This is critical. 😢
Hari Edit 2: how can i disable show reply .. i want it to display without hitting the "show reply" button and old posts are not showing as a tree view
Not currently a feature.
Old posts migrating to evergreen would be an ENORMOUS migration and could take hours on larger forums.
Hari another issue i have found is if I install evergreen and mention someone it is working fine. but after removing evergreen and switching back to flarum/mention its not recognizing mentions created by evergreen. 🐛 (bug)
The mentions will stick, the reply tree will be removed however.
thimiraonline i just uninstalled it, if you have any questions shoot me i will answer
Hari How is it? What was your experience?
thimiraonline like Kyrne said migrating old posts to evergreen will take time. i did not see any option to migrate, probably we may need to run a command. I don't think it is suitable for old forums. i find we may get good support and easy migrations with flarum/mentions. if it's a small or new community it would be a nice feature to adopt but once the community posts/discussions get increased not sure how fast we could able to stay up to date with the new flarum core updates.
page is also loading a little slow comparing (maybe 5%) with and without evergreen. (not sure how it works) you will not feel the loading popup fluidness when you hit show all replies. on the other hand, it would be great if evergreen has an option to show replies like stack overflow.
you can install and test it and remove it immediately 😃 but don't hit any uninstall button on the admin panel it will delete the flarum/mention data.
Hari Thank you. This way is good to go. I'll stick with Flarum default one. I think @Kyrne will develop this extension in the future. I am willing to add it to my forum when it complete.
@Kyrne Please refer to the Commento comment system, then you can take a nice UI idea. Keep this developing, we hope you will do it better. Good luck. 🤝
ctupramod I think trying it in a localhost and then to the live forum will be ok. Isn't it 😐️ ?
That's always a better choice, whether it's a large community or a small one.
ctupramod Yes that's the better idea.
Can someome please give me an online forum link using this extension? I want to see how it appears.
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.
datlechin you need to uninstall flarum/mentions first