Fanlisting Management > Fanlistings Chit-Chat
Enth 3 Neglected Listings Notification
Jessy:
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
--- Code: ---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'] ) );
}
--- End code ---
to
--- Code: ---$difference = strtotime(date('Y-m-d'), 0) - strtotime($stats['lastupdated'], 0 );
$weeks = floor($difference / 604800);
--- End code ---
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.
Mitchii:
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:
Saya:
thank you!
I got a similar result of stuff that IS in trubles
arashi:
Ahh! I had the same trouble! Thanks for this :frustrated: I'll have to try it!
Katze:
I had the same problem :frustrated: Shall try, thanks~ Possibly it got thrown off by February being a short month? X3
Navigation
[0] Message Index
[#] Next page
Go to full version