|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
marking topics "new"
how is this done on this site matt?
i am trying to help the admin of one serbian forum site to make this thing work like it works on this site. by marking, i mean boldin (or what ever) topics that contain posts that i havent read. i know it stores last time of my visit into a cookie, or db, but we cant get it to work as good as here... |
|
#2
|
|||||
|
|||||
|
RE: marking topics
Just a simple comparision:
if (latestpostime > lastvisittime) print it bolded out else print it normal the lastvisit is set with a function like so: php Code:
and every page load (in the index.php) gets this: |
|
#3
|
|||
|
|||
|
RE: marking topics
wow. i love simple solutions!
this only shows me that even thoe i consider my self to be very smart, and i have a reasonable amount of expiriense, i stil can't asume to know everything, and i am not ashame to admit it ;) |
![]() |
| Viewing: Codewalkers Forums > Forum Information > Suggestions & Feedback > marking topics "new" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|