Would anyone know how to have the forum/messages and board auto refresh, viewed a previous mod/code adjustment that allows for refreshing messages and boards , it actually is pretty simple, however the files used (messageindex.pl and Boardindex.pl ) seem to differ from the current version used in 2.5.2.
The mod:
Last update 2007
<id>
Refresh boards
</id>
<version>
1.1
</version>
<mod info>
This mod refreshes the message index automatically by however many seconds you want (90 is default) to show new messages. Extremely simple, but nice to have.
Version 1.1 - Now refreshes BoradIndex too.
</mod info>
<author>
jazzfan123 SP1 By Ken Ault
</author>
<edit file>
Sources\MessageIndex.pl
</edit file>
<search for>
# Print the header and board info.
$curboardurl = $curposlinks ? qq~<a href="$cgi" class="nav">$boardname</a>~ : $boardname;
$yymain .= qq~
<table width="100%" cellpadding="0" cellspacing="0">
</search for>
<add after>
<meta http-equiv="refresh" content="90">
</add after>
<edit file>
Sources\BoardIndex.pl
</edit file>
<search for>
<tr>
<td align="left">
<font size="1" class="nav"><IMG SRC="$imagesdir/open.gif" BORDER="0" alt=""><b>$curforumurl</b></font>
</search for>
<add before>
<meta http-equiv="refresh" content="90">
</add before>
Not able to find the code on either Messageindex.pl or Boardindex.pl
In YaBB 2.5.2 the code seems to be different, can anyone help with this. Your help is appreciated, thank you.