Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Displaying Other Users XP

by martymart (Deacon)
on Feb 05, 2003 at 10:37 UTC ( [id://232787]=monkdiscuss: print w/replies, xml ) Need Help??

Fellow Monks,

I wonder what your opinion would be on a suggestion to add a users XP after their screen-name in the other users column? I know currently its sorted in order of XP, the current online monk with the most XP appears at the top, this is great, but why not just add the actual XP just after the name? What I'm suggesting would be like:
Others lurking around the monastery: (24) Zaxo - 15173 BrowserUk - 9562 jmcnamara - 6516 etc.
It'd be nice for newbies (like me), and maybe get them interested in joining/voting/gaining XP, etc. Any other feedback/improvements? Is it feasible?

Martymart

Replies are listed 'Best First'.
Re: Displaying Other Users XP
by Coruscate (Sexton) on Feb 05, 2003 at 11:06 UTC

    Myself personally, I don't think that such an addition is really necessary. As it is, you can click on anyone's username within the Other Users nodelet to see their XP level. Also, I don't like the idea of having more text on my screen than I need. The numbers would just make the list look odd and misshapen (sp?).

    Now, as I wrote the above, one idea did occur to me. The chatterbox has already seen an improvement that could help with this. If you hover your mouse over the name of the user posting the message (and you use a browser that shows such things correctly), you'll get one of those popup hints saying how long ago that message was submitted to the CB. This is made possible by the wonderful html 'title' attribute. How about placing each monk's XP in the 'title' attribute for each name in the CB?

    The only question that remains in my brain now is whether this would create any additional strain on the database. Would another database query have to be executed to get user XP values in the Other Users nodelet, or is this information already loaded and ready to access? If it requires another database hit, I'd lean towards the direction of no, let's not add this functionality. But hey, if it's sitting there waiting for us to use it somehow, I say add it as a 'title' attirbute :)


          C:\>shutdown -s
          >> Could not shut down computer:
          >> Microsoft is logged in remotely.
        

      How about placing each monk's XP in the 'title' attribute for each name in the CB?
      I like the sound of this idea, as for creating extra strain on the servers, I agree this is important, but I do tend to click on peoples screen-names a lot just to see what XP they have (and see their other write-ups etc.) Maybe this feature would cut down on this type of server request?
      Martymart
Re: Displaying Other Users XP
by Heidegger (Hermit) on Feb 05, 2003 at 12:11 UTC

    In the chatterbox if you move your mouse onto a user's name and wait, the "hint" tells you when the user posted his message and how many seconds ago it happpened.

    In the "Other Users" nothing happens if you leave your mouse on the user's name. Some info could be put there (like XP or something else for example). Of course that would increase server load.

Re: Displaying Other Users XP
by theorbtwo (Prior) on Feb 05, 2003 at 11:48 UTC

    I think that XP is already plenty visable enough. Entries in Other Users are already sorted by XP, so it would only be a very tiny amount of additional load to show the XP, either in a title attribute or in the text. I just don't think it's a purticularly good thing to do.


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Re: Displaying Other Users XP
by chromatic (Archbishop) on Feb 05, 2003 at 20:53 UTC

    I'd actually rather go the other way and remove visible XP numbers from homenodes. (I'd leave it for the actual node owner.) Making XP more visible seems to perpetuate the illusion that it actually matters.

      Perl Monks is a land of options. Let the node owner decide if he wants his xp displayed or not.

      Can someone new get voted down and wind up with negative experience? We could make them wear it for life like a Red Badge of Courage or a Scarlet letter, depending on their fancy ;)
Re: Displaying Other Users XP
by Anonymous Monk on Feb 05, 2003 at 21:24 UTC
    Blah! This site is already slow enough. Let's not put more strain on the DB. How about removing some nodes? I say lets get rid of the chatterbox. Perhaps we can give it it's own page, and make it an optional node.
Re: Displaying Other Users XP
by Petras (Friar) on Feb 12, 2003 at 09:56 UTC
    Oh, sure, so the Other Users box would say something like

    Petras - 12

    Isn't that borderline hazing? c",)

    -Petras

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://232787]
Approved by Coruscate
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found