The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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. Cheers, Bira newest version by sho here: https://vborg.vbsupport.ru/showthrea...606#post287606 Show Your Support
|
Comments |
#282
|
|||
|
|||
![]()
Hello, need a lillte clarification on this hack.
I have $onlinestatus in postbit template which show Online or Offline If i install this hack can i get it to change 'offline' to 'away' if user sets themselves as being 'away'. Would look silly having 'offline' and 'away' message. cheers |
#283
|
||||
|
||||
![]()
When you install the hack, it adds it to the functions.php so it will show the away message accordingly in the postbit.
![]() [QUOTE]Originally posted by carpman Hello, need a lillte clarification on this hack. I have $onlinestatus in postbit template which show Online or Offline If i install this hack can i get it to change 'offline' to 'away' if user sets themselves as being 'away'. Would look silly having 'offline' and 'away' message. cheers |
#284
|
|||
|
|||
![]()
I'm using 2.2.6 and I can't get it working. I keep getting a parse error in Usercp.php line 382. Line 382 is just ?>
There is code differences to that in the installer script. Dunno if that is causing the problem. The code is actually if ($buddy['lastactivity'] > $datecut and !$buddy['invisible'] and $buddy['lastvisit'] != $buddy['lastactivity']) { $onoff="on"; } else { $onoff="off"; } As there was no mention of userid==6 stuff I left that out. I've spent 2 days trying to suss it to no avail. I thought installing the weather hack and vbpad might have been more difficult but they went smoothly compared to this. ![]() Anyone know why I'm getting that parse error? |
#285
|
||||
|
||||
![]()
can i get a TEXT installation for version 1.2.........thx
|
#286
|
||||
|
||||
![]()
https://vborg.vbsupport.ru/showthrea...017#post257017
[QUOTE]Originally posted by ZiRu$ can i get a TEXT installation for version 1.2.........thx |
#287
|
||||
|
||||
![]()
thx man
|
#288
|
||||
|
||||
![]()
You're very welcome there, sir.
![]() |
#289
|
|||
|
|||
![]()
ok, this thread is 20 pages long so maybe this has been answered already but I am getting this error
Quote:
*EDIT* Never mind, I started looking through the pages while I was waiting for a reply and I think I got it fixed. |
#290
|
||||
|
||||
![]()
I think you need a comma after FROM_UNIXTIME(awaydate) AS awaydate like this:
FROM_UNIXTIME(awaydate) AS awaydate, |
#291
|
||||
|
||||
![]()
how can i put the away icon in the sig??
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|