I have a question about Enth 3. I just received a notice from TFL that some of my fanlistings haven't been updated for 2 months (and I suspect that some of my TAFL fls). When I look at my enth administration I see that there isn't any fanlisting standing in the Neglected Listings Notification list.
Does anybody else have that problem? Or should I redownload the latest version (I do think that I have that version) and install it again?
Never mind, I toggled a bit with the php and now I get the list.
For those who also have this problem, I changed the 8 weeks to 6 on line 144 and suddenly the list grows.
I've looked a little bit further and found that the problem was in the calculation of the weeks. I found out that not all the weeks were showing.
After changing
if( $stats['lastupdated'] && date( 'Y' ) != date( 'Y', strtotime( $stats['lastupdated'] ) ) ) {
$weeks = ( 52 - date( 'W', strtotime( $stats['lastupdated'] ) ) ) + date( 'W' );
} else if( $stats['lastupdated'] ) {
$weeks = date( 'W' ) - date( 'W', strtotime( $stats['lastupdated'] ) );
}
to
$difference = strtotime(date('Y-m-d'), 0) - strtotime($stats['lastupdated'], 0 );
$weeks = floor($difference / 604800);
I got the complete list of fanlistings that wre being neglected.
Man, that took a while to found out. It's been to long since I've coded in php.