Demo : Here
Import The Zip File To Your DB Sql phpmyadmin.
Find this Code In Forum/index.php
if (!$systemUser->isValid()) {
if ((empty($_SESSION['uppost'])) || ($_SESSION['uppost'] == 0)) {
echo '<a href="index.php?id=' . $id . '&page=' . $page . '&newup">' . _t('New at the top') . '</a>';
} else {
echo '<a href="index.php?id=' . $id . '&page=' . $page . '&newdown">' . _t('New at the bottom') . '</a>';
}
}
}
Add This code in bottom of the code:
$db->query("UPDATE forum SET view = view + 1 WHERE id = $id");
Now Add This code beside '.$type1['text'].' :
& '.$type1['view'].' Users Viewed This Post
Done. Enjoy
Добавлено: 05.04.2017 / 11:58
Download Zip Below