MArcomage

Free multiplayer on-line fantasy card game

Please log in

jbryant3 on 19:05, 5. Aug, 2009
I'm not sure what the deal is, but the forum and concepts notifications aren't going away after I have read the posts/viewed the new concepts. The games notification works fine, but I would like the same to happen to the other two.
DPsycho on 22:18, 5. Aug, 2009
You have to manually indicate that you've read the topics by logging out and in again.
jbryant3 on 12:56, 6. Aug, 2009
Right, but I want it done automatically... (I'm lazy)
theultramage on 13:38, 11. Aug, 2009
Current system uses your last login time as reference point. So to display 'new' things we just need this one value.

If we were to do what normal forums do, I believe it would be necessary to keep track of the last time a thread was visited, for every user and every thread. I do not know how standard forum software handles this, but I wouldn't like it if the database had to store all that stuff.
JimmyMethod on 16:50, 11. Aug, 2009
They don't do it with a 'time' they do it with a boolean.

Each thread has a boolean for each user. Every time the thread is posted to, all of the booleans reset for that thread. Every time a user visits it, their boolean is switched.

Say there's a thousand threads and a 500 users, that's only 61kB
DPsycho on 18:03, 11. Aug, 2009
Would it be possible to add a single button that refreshes the logout time? If there were a way that an already logged in person could press one link that updates the time without having to reenter the name and password, it would make the current system far less bothersome. Even if it were a two-step interface with a confirmation after the first click, I would be satisfied.
theultramage on 09:45, 13. Aug, 2009
> Say there's a thousand threads and a 500 users, that's only 61kB
You do realize that this is an SQL database, not a C array? You don't just need a boolean... you need a <thread id, user name> pair, which is 24 bytes at the moment. Also realize that this sort of setup is not sustainable in the long run without pruning the data (the data set just keeps growing and growing).

> Would it be possible to add a single button that refreshes the logout time?
Good point. I can really imagine a "Mark all threads as 'read'" button, however it would also apply to every other section as we only use one single variable to compare times. I'm not sure how to name the button nor where to place it, though.
JimmyMethod on 15:07, 13. Aug, 2009
Thats why most forums archive threads after a few weeks, and no longer require the data.
Mojko on 07:05, 19. Aug, 2009
I added a notification reset button to the settings section. So after you've seen all the new posts/messsages/concepts you push this button and it will do the same effect as logout-login procedure.
DPsycho on 17:48, 19. Aug, 2009
Works like a charm! It seems kind of hidden where you've placed it, but since I know it's there, I'll certainly be using it from now on. Thanks!
jbryant3 on 17:50, 19. Aug, 2009
Yeah, my vote is to move it to the top header next to logout. It's kind of a pain where it is now.

Thanks for putting it in though! :D
Myschly on 10:12, 12. Nov, 2009
An improvement: Add "Save & go back"-button, or change "Save" to that. If you've saved your text, you're probably going back to the game, so as it is now it sometimes feels like a hassle putting up a note.

Maybe a bit silly but it's a change worth making imo ^^
Mojko on 10:45, 12. Nov, 2009
Implemented in https://netvor.sk/trac/arcomage/changeset/698
Myschly on 12:31, 12. Nov, 2009
Thanks, I like it already ^^
Lord Ornlu on 15:47, 23. Nov, 2009
Is it possible to mark the forum as "Read" (i.e. turn the topic back to gray) once we actually read it? all topics stay red (i.e. new) even when u read them unless u log out and log back in

it's kind of confusing, trying to remember what u read and not so far
Mojko on 15:56, 23. Nov, 2009
Read above.
Fithz Hood on 16:00, 23. Nov, 2009
Maybe you can add a "reset notifications" button also somewhere in the forum section (this is the last thing I request today, i promise ;))
DPsycho on 19:03, 5. Mar, 2010
Now that we have a Search button within the Forum interface, would it be possible to put an extra "Mark all topics read" (or "Reset notification") button next to it for convenience? I recognize that it would still reset the notifications in the Concepts section, but we can live with that, I hope.
Mojko on 19:05, 5. Mar, 2010
From the implementation view, it can be done. But it seems odd to reset notifications for messages and concepts in the forum section.
DPsycho on 19:14, 5. Mar, 2010
Perhaps, but to me, it seems most odd to find it hidden away under Settings.