Jump to content

Forum New Post Bolding


ntohky14

Recommended Posts

you need a "last active" value for you user in the database along with their username password etc..

then you need to have the topic or post have a date and time associated with it.

So you basically do a check

if (time of post > last time user was active) {
bold your topic }else{
dont bold your topic}

that should be the basic theory behind it, also, you need to make sure that whenever the user switches pages, that it updates their database information as being active again.
Link to comment
https://forums.phpfreaks.com/topic/7888-forum-new-post-bolding/#findComment-28805
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.