The AnimeFanlistings Network Message Board
Fanlisting Management => Fanlistings Chit-Chat => Topic started by: Jessy on March 04, 2010, 03:38:10 AM
-
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.
-
I decided to change the coding in dashboard.php to the one you mentioned and after I log in my admin, I saw the fls that haven't updated in 2 months. I'm not aware about this thing with enth.
This is a great help, I'll end up on troubles as well.. Thanks for the heads up Jessy~ :wub:
-
thank you!
I got a similar result of stuff that IS in trubles
-
Ahh! I had the same trouble! Thanks for this :frustrated: I'll have to try it!
-
I had the same problem :frustrated: Shall try, thanks~ Possibly it got thrown off by February being a short month? X3
-
This really helped a lot! :frustrated: Thank you so much! :frustrated:
-
Wow, I didn't even know about this issue! I had a couple of FLs which hadn't been updated for more than 2 months and I had no idea about it, so thanks a lot for bringing this up! =)
-
This was driving me crazy! Thank you so much for the fix~ :flower: