This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Refresh comments time interval
#4

You can add a bit of code to refresh the page, similar to the 'Reports -> Viewers' page.

Find the following code in /comments/admin/index.php

PHP Code:
<?php if ($_GET['page'] == "report_viewers" && cmtx_setting('viewers_refresh_enabled')) { ?>
<meta http-equiv="refresh" content="<?php echo cmtx_setting('viewers_refresh_time'); ?>">
<?php } ?>

And add this just below it:

PHP Code:
<?php if ($_GET['page'] == "manage_comments") { ?>
<meta http-equiv="refresh" content="60">
<?php } ?>

Have you completed the interview?
Reply


Messages In This Thread
Refresh comments time interval - by pashalis - 13-Aug-2013, 03:56 PM
RE: Refresh comments time interval - by Steven - 13-Aug-2013, 05:59 PM
RE: Refresh comments time interval - by pashalis - 14-Aug-2013, 08:00 AM
RE: Refresh comments time interval - by Steven - 14-Aug-2013, 12:19 PM
RE: Refresh comments time interval - by pashalis - 14-Aug-2013, 02:49 PM
RE: Refresh comments time interval - by Steven - 14-Aug-2013, 04:07 PM

Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
23-Nov-2022, 11:01 AM
Last Post by Steven
10-Jan-2017, 12:56 PM
Last Post by Steven
17-Nov-2016, 09:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)