findingpeace
04-08-2013, 05:16 PM
Is there a way to refresh this live, instead of needing a physical refresh to see the most recent posts?
I've tried out the dbTech live feed mod, but it won't allow me to disable quotes, which really clutters the sidebar.
Thanks!
--------------- Added 1365454047 at 1365454047 ---------------
In case anyone's looking for a solution, here's what I did:
1. Open FORUMHOME template. Anywhere in head tags, insert:
<script type="text/javascript">
setInterval(function(){
$('#feed').load('forum.php #feed');
}, 15000);
</script>
Change 15000 to be whatever refresh rate you want. This is 15 seconds. If you want to refresh faster, make it smaller. If you want to save server resources, make it bigger.
Also in FORUMHOME, find:
{vb:raw sidebar}
Replace with:
<div id="feed">{vb:raw sidebar}</div>
And you're all set to go! :)
I've tried out the dbTech live feed mod, but it won't allow me to disable quotes, which really clutters the sidebar.
Thanks!
--------------- Added 1365454047 at 1365454047 ---------------
In case anyone's looking for a solution, here's what I did:
1. Open FORUMHOME template. Anywhere in head tags, insert:
<script type="text/javascript">
setInterval(function(){
$('#feed').load('forum.php #feed');
}, 15000);
</script>
Change 15000 to be whatever refresh rate you want. This is 15 seconds. If you want to refresh faster, make it smaller. If you want to save server resources, make it bigger.
Also in FORUMHOME, find:
{vb:raw sidebar}
Replace with:
<div id="feed">{vb:raw sidebar}</div>
And you're all set to go! :)