Bug Reports · Legacy archive

2 user chatting

Started by ephemeralstability Dec 22, 2003 5 posts Locked

  1. 2 user chatting

    #1
    Very minor point: the "# user chatting" at the head of each page in the forum says "user" instead of "users" even if there's more than one person (e.g. 2 user chatting). Thought you could change this during your rehaul!

    ephe!
  2. 2 user chatting

    #2
    Well, yes. I guess I either have the choice of "1 Users Chatting" or "2 User Chatting"

    The template it uses isn't too kind to that kind of conditional wording. I think I will go with

    "1 Chatting" or "2 Chatting"

    THANKS!!
  3. 2 user chatting

    #3
    You could use the "simple" math.

    Just have it go:
    1 user chatting
    2 users chatting
    More than 2 chatting

    Although strolen's idea is more clear...
  4. 2 user chatting

    #4
    The way it works is that the number is dynamic, but the words are hard coded into the template except for the 0.

    Actually, now that I think more about it, I think I modified it out of the template to allow me to do a special thing for 0. I think I can actually add some more conditional phrasing.

    The problem wasn't with knowing what to put for how many people were there, but for how to do it.....I think I can fix it and it actually shouldn't take but a moment....if I can find the right include file it is in. OUI. Much easier when it is in the templates because I know right where it is.
  5. 2 user chatting

    #5
    Well, that wasn't so bad.

    Hopefully it is working now.

    0 = Nobody Chatting
    1 = 1 User Chatting
    2+ = # Users Chatting

Bug Reports · All categories · Guildhall