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.
autorefresh discussionlist
jackmaessen
✭✭✭
Using 2.0.18.9
I did already read the topics here about autorefresh and the advantages and disadvantages but i have a question about this line:
$Configuration['Vanilla']['Comments']['AutoRefresh'] = '30';
For me the refreshing of comments is not important, but the discussionlist, i would like to give it a autorefresh.
So i thought adding this line in config.php would do the job, but it doesn't
$Configuration['Vanilla']['Discussions']['AutoRefresh'] = '30';
Is there a way to make it possible to autorefresh the discussionlist?
Tagged:
0
Comments
AFAIK nothing like this is implemented.
This is where I plug the first plugin I ever made for Vanilla, Latest Post List!
http://vanillaforums.org/addon/latestpostlist-plugin
It shows the latest discussions in the sidebar and has a configurable ajax update. You can set it up to check however often you want.
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.
I have already installed this plugin @hgtonight, is it easy to configure it so that he catches the class "ul.DataList.Discussions"? ( This is the class i would like to have an autorefresh on)
I am looking in the class.latestpostlist.plugin.php and i can see this line:
I should change something in this line?
Latest Post List adds a module to the panel. That list is refreshed on a regular basis.
You could add some JS to the discussions controller that auto refreshes (just bind an ajax request to
/discussions.json
on a timeout) but that will have a compounding effect for every user.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.