Customizing SMF > Modifications and Packages

Show Recent Topics by 24h 48h 72h

(1/3) > >>

parrotalert:
Link to Mod

Show Recent Topics by 24h 48h 72h

The mod will add the a filter option just below the unread and unread replies in the header of template.

BaghdadGhost:
this is a great mod thanks.


by the way, is there a way to show just the latest submitted topics NOT recent topics?


thanks

AK49BWL:
Something I noticed... The "new" icon shows up on every topic regardless of the member's read status. I'm in the process of upgrading to SMF 2.0.2 from 1.1.16 and making sure everything transfers over - I'm using a similar mod for SMF 1.1, and noted in that, the "new" icon is regulated by (bool)$topic['is_read'].. Tracing back, the query is as follows:

--- Code: ---" . ($user_info['is_guest'] ? '1 AS isRead, 0 AS new_from' : '
IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, 0)) >= m.ID_MSG_MODIFIED AS isRead,
IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, -1)) + 1 AS new_from') . "
--- End code ---
and then in the array setup,

--- Code: ---is_read' => $row['isRead'],
--- End code ---

Now, I do know a good amount of PHP, but database querying I'm quite ... Not so smart at lol. Can I get some help with fixing the "new" icon so that it only shows up when the topic actually hasn't been read?

Otherwise, this is a fantastic mod, and I'm glad you've made it for 2.0! Since the mod I'm currently using is only for 1.1...

ChalkCat:

--- Quote from: AK49BWL on January 31, 2012, 03:06:11 AM ---Something I noticed... The "new" icon shows up on every topic regardless of the member's read status..... Can I get some help with fixing the "new" icon so that it only shows up when the topic actually hasn't been read?


--- End quote ---

Just wondering whether anyone has managed to come up with a fix for this yet?  It isn't a big deal and I still love the mod, but it would be nice....  :)

sp3ctre:
Same here, the "new" icon is showing up for me too. Fix that and we have a great mod here I think

Navigation

[0] Message Index

[#] Next page

Go to full version