Version: , by bira
Developer Last Online: Jun 2013
Version: 2.2.x
Rating:
Released: 12-09-2001
Last Update: Never
Installs: 109
No support by the author.
Hi,
This is something that is common in IRC - /me is away
In BBs, a user is either online or offline (or invisible).
But, on my Bulletin Board, the folks created such a community that every time someone goes on a holiday or goes offline for a while, he/she posts a new thread to annouce they're 'away.
So, I wrote a hack allowing a user to change his/her status to "away", including a return date and an away reason which will show up in their profile.
Likewise, the online/offline icon in postbit and buddy list will change to an away icon (a very faded version of the 'offline' one).
Some demo captures:
The Edit Profile screen, when a user is NOT away:
The Edit Profile screen when a user IS away:
The Get Info (User Profile) screen when a user IS away:
The Get Info (User Profile) screen when a user is NOT away:
The postbit icon when a user is away:
How to install:
Download the attached zip file. Upload away.gif to your images dir (or create your own away.gif).
Upload install_awayuser.php to your admin dir and follow the instructions.
Hmm, attached is a zip file of the modified templates in my User Info Display ... I used custom colors on some parts, so just change them to the colors that go good with your site...
If you don't have the user points hack, just remove the "support points" fields
[QUOTE]Originally posted by Nemesis77 Great Hack thanks. I installed this with no probs at all except The Icon in the postbit area (away.gif) does not show when a user is away. I didn't see anything in the install instructions about adding anything to the postbit template.
I don't know if the Admin's should be able to mess with a user's away status. The "cancel away status" add-on would do for that, the only thing else that you could do then is abusing it, so... :/
Members could abuse and put offending messages as the away reason, so it's important to have the ability to change it.
Also bira while you're at it, censor the reason before it's saved.
Meta, then add the "Cancel 'Away' when user posts" add-on, about 6 posts up
It won't help. Because they are (!!!) away. Now. In this very moment. So there is nobody who can say that they are away. Except me ... the admin. But i can't.
Quote:
I don't know if the Admin's should be able to mess with a user's away status.
May be. But ... the admin can mess with all. With all of userinformation like birthdays and AOL-Names and so on ... but also with the posts or whatever he wants. Even he can erase all of the board or forget to pay the bill.
If you don't trust the admin ... whom do you will?
I think messing around with the away-status is something i will not do. I only want to enter for users, who are in this moment absent ... that they are absent. In fact ... thats one of the reasons why i installed the hack.