The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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 |
#212
|
||||
|
||||
I'm moving this one back to the top. I spend a number of hours this weekend onyl to come up empty handed. I REALLY want to show the date of return on the thread screen (showthread.php). I have code that retrieve the date of return and will display it properly via an echo from index.php or functions.php and place the date of return in a variable called $returningdate but I'll be darned if I can get it to show up in the left <td> of the postings screen. Will somebody please help me out?
thanks - jeff |
#213
|
|||
|
|||
hi bira - nice hack, got it working perfectly for 2.2.5. Just, had an Idea. Wouldnt it be nice if the admin got a mail saying that a user has switched his/her status to "away". Any ideas on how I could implement that?
regards Tina |
#214
|
|||
|
|||
Got this error
Parse error: parse error in www\member.php on line 1390 Anyone can assist? Attached is the file. |
#215
|
||||
|
||||
rascal - your problem is that you were supposed to replace lines 1390- 1392 with the new code and you inserted the new code instead.
delete lines 1390-1392 and it will work (assuming you did not make any other mistakes installing this hack code). |
#216
|
|||
|
|||
Got it.
Thanks jj! |
#217
|
||||
|
||||
Hello,
I'm not sure when this started happening, but one of my users found this problem recently -- the 'return date' is one day behind. 1. Go to 'Edit Profile' and choose that I'm away, enter a reason, and choose the 'return date' to be 6/21/02. 2. Save the changes. 3. If I then display my profile, it shows all the 'away' information correctly except the return date, which appears as 6/20/02. Do you have any ideas on how to troubleshoot this? Should I uninstall and reinstall? Thanks for any insight you can provide! Jennie |
#218
|
||||
|
||||
Nice hack - I installed it! I am getting a parse error in line 1496, member.php. Hope someone can help. Most likely its a minor thing I do not see myself!
I am on 2.2.5.. I have read the thread here and checked off the error for 2.2.5 and the other errors (they were fixed already in my download), included the comma etc. I can access everything in the Admin Panel, but when I enter usercp and click on change profile or change option... that parse error shows in the member.php. I have attached the file - some of it. Anyone have an idea.... Thanks!! ps. in the PHP Editor I get this error message: Parse error: parse error, unexpected $ in A:\member on line 1496 |
#219
|
||||
|
||||
jjj0293,
The hack I got says that you are supposed to INSERT the code above that point, not replace it. I had the same problem and I just moved the following code above the hack and it took care of the parse error. else { $referrals = ''; } That won't mess anything up will it? I can't see how the referrals would work without it. |
#220
|
||||
|
||||
I installed this hack and it is working fine now except that it shows 1 day off in the profile for what was picked in the options. Also, you can pick Feb 31 which will take it to mar 3 in the display.
|
#221
|
||||
|
||||
Please help someone...
I get a parse error message "unexpected $" in my member.php (when running it in the PHP Editor). In the browser it just says.. parse error. In the last line... no where near the installed code. Everything worked ok before this. I am on 2.2.5... and I did see the error in the install for that. Did anyone else get this message? No new members here until this is fixed.... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|