vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Away message for users (https://vborg.vbsupport.ru/showthread.php?t=33099)

bira 12-09-2001 10:00 PM

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:

https://vborg.vbsupport.ru/

The Edit Profile screen when a user IS away:

https://vborg.vbsupport.ru/

The Get Info (User Profile) screen when a user IS away:

https://vborg.vbsupport.ru/

The Get Info (User Profile) screen when a user is NOT away:

https://vborg.vbsupport.ru/

The postbit icon when a user is away:

https://vborg.vbsupport.ru/


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.

Cheers,

Bira

newest version by sho here:
https://vborg.vbsupport.ru/showthrea...606#post287606

squawell 12-10-2001 01:53 PM

bira~~

u do a great hack again~~~

thankz~~~

Lesane 12-10-2001 02:09 PM

Very tight Bira, i luv it. Thanks for such a great hack.

pipi 12-10-2001 02:16 PM

pretty kewl hack.....thanks for your shared..........

Tarion 12-10-2001 02:16 PM

great hack bira, thx a lot :cool:

trainer 12-10-2001 02:19 PM

that is a great hack, it is perfect for my board!

never would have thought of this hack!

thanks

Admin 12-10-2001 02:26 PM

Nice, I'll install it later when I get some time. :)

Admin 12-10-2001 03:07 PM

Done installing. :)

*cough* I see you've mastered my install script, eh? ;)

Oh and there's a little bug. You use the same variables to denote the day, month and year name as the birthday system uses. You'll need to change that or the birthday will become your away date when you edit your profile next. :)

bira 12-10-2001 03:14 PM

[QUOTE]Originally posted by FireFly
Done installing. :)

*cough* I see you've mastered my install script, eh? ;)

Radon3k 12-10-2001 03:18 PM

Nice hack man, thanks! :)


All times are GMT. The time now is 08:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01230 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete