Firefox PHP

mod for "messages posted since your last visit"?

Posted by Brian Tully 
i'm moving from WebBBS to Phorum and pretty much have everything configured and working OK. however one feature of WebBBS is sorely lacking in Phorum that our users are complaining about - and that is a summary of how many new messages have been posted since their last visit to the site.

anyone know of a mod or hack that can do this?

right now it seems Phorum marks all messages as NEW if they haven't been read, whereas WebBBS would only mark messages as new that have been posted since the user's last visit - a "paradigm shift" that seems to be confusing our users.

ideally i think it would be great to have two levels of "new" information displayed to the user:

-- a way of indicating which messages are new since their last visit

-- a way of indicating which messages have not been read by the user

again it seems the concept Phorum uses is that if a user hasn't specifically read a post it is considered "new". I'd prefer to define new messages as messages posted since a user's last visit to the site.

can anyone help or shed some light on this? it would be GREATLY appreciated!

thanks in advance,
brian
> again it seems the concept Phorum uses is that if a user hasn't specifically read a post it is considered "new".

yeah thats the way it is, and thats much more fine-grained as the other one.

Re: mod for "messages posted since your last visit"?
May 08, 2004 07:19PM
thanks for your response Thomas.

with a little effort i was able to change things around and add this function so that it works by only highlighting messages posted since their last visit.

basically i created a table and each time a user visits the phorum it updates the table with a datestamp of their current visit.

then i added a function that looks to see what messages have a datestamp > the user's last visit datestamp as it loops through the messages. instead of highlighting messages not read as new i changed it so that it highlights the messages newer than last visit as new. in terms of messages read vs. not read I created 2 classes within the stylesheet called .read and .unread, and using the original function that highlights "new" messages, i modified it so that it displays the appropriate class to the message link as it loops through.

the result is that there are two levels of "new" information, messages are highlighted a certain way if they have been posted since your last visit, and messages are highlighted a certain way depending on whether or not you have read that message.

now i just need to find a spell check mod!
Re: mod for "messages posted since your last visit"?
May 15, 2004 01:14PM
Very interesting! I was just thinking that it would be nice if Phorum could do this, and now you post about the same thing.
Hello there:

Could you please post the code you wrote?
I'm needing something like this!

Thank you
Hello

It would be very nice if you post the code you just used for your forum.

I'm needing exactly what you did and I'm not an experienced programmer, so I need your help

Thanks in advance.
Sorry, you do not have permission to post/reply in this forum.