Log in

View Full Version : Anyone know how?


obiwan8472
01-23-2003, 10:31 PM
On my forum I have news posted in a forum. it is then put as headlines on top of the main forum summary page.

u can see it here
http://www.scifichat.net/vbforums/

What I want is if the news is NEW since a member last arrived, it puts a little @NEW@ picture next to the headline. or if thats impossible, it puts the new picture next to the headline if it was created in the past 24 hours.

Thanx

obiwan8472
01-27-2003, 02:06 PM
ala bump!

obiwan8472
01-28-2003, 11:22 PM
Simple Terms then. :)

When a member logs in, if the news is new, it puts a graphic next to the headline. If they have already read it, it doesn't.
The code is there because it does that for New Posts. I just don't know how to incorpate it into my little headline.

Thanx for any help you can offer. :)

obiwan8472
02-08-2003, 12:28 PM
bump!

obiwan8472
02-11-2003, 01:47 PM
bump in the night.

obiwan8472
02-12-2003, 01:46 PM
The Mighty Blue Dog is going to war and will defeat the Great Gerbil.

obiwan8472
02-13-2003, 12:34 PM
bump.

obiwan8472
02-17-2003, 10:31 AM
bump.

obiwan8472
02-18-2003, 06:20 PM
bump

Grower
02-18-2003, 06:58 PM
Just few clues.

Modify that news query so it selects also "isnew" variable.
SELECT thread.*,IF(dateline>$bbuserinfo[lastvisit],1,0) AS isnew FROM thread
This variable will hold 1 if it is fresh thread so you can use it to conditionally fill e.g. $newpicture variable with @NEW@ image.