Mavric
Yoda
We are getting pretty decent participation in the Recruiting thread polls for where guys will commit.
The one complaint that we've gotten - and it's annoying to me as well - is that when someone votes in the poll, it marks the thread as unread. This is annoy to some regular users who are just trying to look for new content.
There is quite discussion about this on the IP.Board chat rooms as well. As far as I can find, there is not option to turn this off. But I did find one user who offered a coding option to fix this. Would we be interested in trying this out?
The one complaint that we've gotten - and it's annoying to me as well - is that when someone votes in the poll, it marks the thread as unread. This is annoy to some regular users who are just trying to look for new content.
There is quite discussion about this on the IP.Board chat rooms as well. As far as I can find, there is not option to turn this off. But I did find one user who offered a coding option to fix this. Would we be interested in trying this out?
LinkThere is two options here, for those who want to change it. Either comment out the full update statement, so neither last_vote or last_post updates when a vote is added. This is the simplest solution.
If you however want last_vote to be updated, then you have to also change this file: www/admin/applications/forums/sources/classes/topics.php
Find:
/* Check against it */
if ( $topic['poll_state'] AND ( $topic['last_vote'] > $topic['last_post'] ) )
{
$topic['_hasUnread'] = ( $lastMarked < $topic['last_vote'] ) ? true : false;
}
else
{
$topic['_hasUnread'] = ( $lastMarked < $topic['last_post'] ) ? true : false;
}
Replace with: (Comment out the if/else statement and just paste what's inside the else below it)
/* Check against it */
/* HW_CUSTOM do not mark polls as unread when they have new votes
if ( $topic['poll_state'] AND ( $topic['last_vote'] > $topic['last_post'] ) )
{
$topic['_hasUnread'] = ( $lastMarked < $topic['last_vote'] ) ? true : false;
}
else
{
$topic['_hasUnread'] = ( $lastMarked < $topic['last_post'] ) ? true : false;
} */
$topic['_hasUnread'] = ( $lastMarked < $topic['last_post'] ) ? true : false;