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 |
#202
|
|||
|
|||
Ok, I fixed my old problem but now I have a new one.
The icon that show if the user is away or not is to the left to the "profile", "pm", "email", "www", "search" & "buddy" icon instead of in the correct box that has the name and stuff in it. |
#203
|
||||
|
||||
did you upload the image
|
#204
|
|||
|
|||
yeah, but its on the wrong side....
|
#205
|
||||
|
||||
Hi,
did somebody install this hack on version 2.2.5? I did and get an parse error in member.php on line (about) 1370! Can somebody help me? Thanks. Regars Birdie501 |
#206
|
||||
|
||||
Hi,
i found the error: In the installation instructions you should change step 4 in member.php You have to insert the code not after PHP Code:
PHP Code:
PHP Code:
Birdie501 |
#207
|
||||
|
||||
Hi,
i just found another error: in Admin Cp if i want to change a template it shows this error: Warning: Missing argument 7 for makechoosercode() in /homepages/test/admin/adminfunctions.php on line 312 ???????? What to do? Thanks! |
#208
|
|||
|
|||
Well the hack works OK for the users but Im getting this error when I tyr to change user stuff in the Admins CP:
Database error in vBulletin Control Panel 2.2.5: Invalid SQL: SELECT *,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar FROM user LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid WHERE user.userid=36 mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar ' at line 2 mysql error number: 1064 |
#209
|
||||
|
||||
Hi all
Can someone tell me if this hack is OK with 2.2.5 as I keep getting a parse error in member.php on line 1383 I have installed this on older versions without any problems and I have tried to go through the upgrade three times and still the same parse error.. Can someone help me out Thanks Lucy |
#210
|
||||
|
||||
Ok I have sorted it...
Worth pointing out that the mistake was in the install script though it told me to enter the last change in the member.php in the wrong place.. Step 4 of 4 in the member PHP told me to add the code here: eval("\$referrals = \"".gettemplate("getinfo_referrals")."\";"); } It needed to be after: eval("\$referrals = \"".gettemplate("getinfo_referrals")."\";"); } else { $referrals = ''; } Just though I would let you know about that Lucy |
#211
|
||||
|
||||
this is a great hack. I have it installed and love it.
I use the Online/Offline hack so I had to change the _away template to display the word "Away". One thing that would be really nice is to be able to also display "Return Date" under "Away". Is there an easy way to get index.php to evaluate $returndate in the event that the date is not 'unknown'???? This would be great. thanks in advance. - jeff |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|