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 |
#82
|
|||
|
|||
It is checked, but is not working for me...
|
#83
|
||||
|
||||
Thanks Bira, I'm gonna add the admin bit to the hack, great work, I'll let ya know if someone goes wrong, if not, then I'll be very silently and very happy
Thanks a lot for a great hack! ^_^ |
#84
|
||||
|
||||
an exelent hack, bira wonderfull work
|
#85
|
|||
|
|||
[QUOTE]mADmAX & Nemesis77: Go to the Admin Control Panel -> Options -> Forum Home Page Options, and select 'yes' for 'Display logged in users on home page'
|
#86
|
||||
|
||||
Maybe someone else will be able to tell you what should be checked. I don't use this option at all in postbit on my BB, so I don't know how to help you, sorry
|
#87
|
||||
|
||||
Hiya - great hack! It's only my second one, but it worked like a charm
Could someone please help me with a very stupid question - how do I add members' away status to what's displayed under the avatar? |
#88
|
||||
|
||||
"Excellent..."... Mongomery Burns
|
#89
|
||||
|
||||
Bira: how can I get a complet list of the members who has marked as away??? like the staff list or in the memberlist with an extra link in the navbar.
Can you explane me how can i do that! THX for this great hack. |
#90
|
||||
|
||||
[QUOTE]Originally posted by TheComputerGuy
I get this Database error in vBulletin 2.2.0: Invalid SQL: UPDATE user SET birthday='0',signature='',customtitle='0',usertitl e='Administrator',email='chrisdildy@hotmail.com',p arentemail='',coppauser='0',homepage='',icq='',aim ='',yahoo='',usergroupid='6' WHERE userid='1', ,away='1',awaydate='1008201008',returndate='01-12-13',awayreason='Testing this old thing out ' WHERE userid='1' mysql error: You have an error in your SQL syntax near ' ,away='1',awaydate='1008201008',returndate='01-12-13',awayreason='Testing this ' at line 1 mysql error number: 1064 Date: Wednesday 12th of December 2001 06:50:08 PM Script: http://www.webmafiaforums.com/***/***/member.php Referer: http://www.webmafiaforums.com/****/m...on=editprofile when I mark myself away in the admin cp it works great..but the usercp.com or it is the memeber.php that I get this error when I hit submit... |
#91
|
||||
|
||||
No lesane. It won't work.
He placed the Away SQL part AFTER the 'WHERE'. It will never work. The instructions were to find a line like (cut for shortness): $DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."', ........... ,usergroupid='$bbuserinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]' And change it to (cut for shortness): $DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."', ........... ,usergroupid='$bbuserinfo[usergroupid]' [high]$awaysql[/high] WHERE userid='$bbuserinfo[userid]' TheComputerGuy didn't copy and paste the entire line, he simply placed $awaysql in the WRONG location (after the WHERE). That's why he has errors, and removing the coma (which shouldn't exist there anyway) won't help. It would help, if he made sure he installed things as required |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|