ntohky14 Posted April 19, 2006 Share Posted April 19, 2006 How would you make it so when there is a new topic it is bold for the users then once they view it, it isn't bold anymore? Quote Link to comment Share on other sites More sharing options...
insrtsnhere13 Posted April 20, 2006 Share Posted April 20, 2006 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 checkif (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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.