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 |
#252
|
|||
|
|||
egh on 2.2.6 in the functions I can't find where to put the
PHP Code:
|
#253
|
||||
|
||||
[QUOTE]Originally posted by Birdie501
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 |
#254
|
||||
|
||||
ok. I installed everything, and have no error messages, but also NOTHING shows up either! I can set the away status in the Admin control panel only, but as far as the main site is concerned, there is nothing showing in the usercp or the members profile..anyone?
|
#255
|
||||
|
||||
ok, quick update. The hack is technically working, but only from the admins control panel. If I set my status to away, it shows it correctly in my profile, and if PM'ed, the user will get the auto reply. However, I still can't get this to show up in the "edit profile" area. I have edited the template as directed, but still nothing!..ugh!
|
#256
|
||||
|
||||
Ok, fixed it myself, and It was a user mistake. thanks anyway guys, and yes, it is a great hack!
|
#257
|
|||
|
|||
@talon3dhq i have the same prob. Can you tell me what you have fix?
|
#258
|
||||
|
||||
yes me too, i can't see in my user profil th away option
please tell us what did you do |
#259
|
||||
|
||||
Sure..
The VERY first change that needs to be made to the "member.php" file says find Code:
eval("dooutput(\"".gettemplate("modifyprofile")."\");"); Code:
// Leave Away Message in Profile (v1.2) if ($bbuserinfo[away]=="1") { $awaystatus = "<font color=\"{hovercolor}\"><b>You have been marked as 'away' since ".vbdate($calformat1, $bbuserinfo[awaydate])."</b></font>"; $away1checked = "checked"; $returndate = explode("-",$bbuserinfo[returndate]); $dayname = "day".$returndate[2]."away"; $$dayname = "selected"; $monthname = "month".$returndate[1]."away"; $$monthname = "selected"; $yearname = "year".$returndate[0]."away"; $$yearname = "selected"; } else { $awaystatus = "select whether you are away or not"; $away0checked = "checked"; } eval("\$awaytext = \"".gettemplate("modifyprofile_away")."\";"); // Leave Away Message in Profile (v1.2) Hope that helps. |
#260
|
|||
|
|||
Great hack but i wont a field for the "post subject" in the box. Can you make a code for this? Thank You.
|
#261
|
||||
|
||||
Im useing vB2.2.6 and cannot find any of these :
Quote:
Quote:
Anyone have any thoughts ?? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|