vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   User Away Messages (https://vborg.vbsupport.ru/showthread.php?t=67250)

Marco van Herwaarden 03-17-2005 04:10 PM

Hmm to tell you the truth, i never even looked at the link myself :(

I will have a look and maybe see if i can post something better.

Starsurfer 04-02-2005 08:39 PM

You say EDIT TEMPLATE MODIFY PROFILE and then soem
================================================== ======
[FIND]-->
$customfields[required]

</div>
</div>
</td>
</tr>
</table>

<br />

[BELOW ADD]-->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">Current Away Information</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>Away Status</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>Check the box below to set yourself on away. Posting when you are away will take you off away mode automatically.</td>
</tr>
<tr>
<td><input type="checkbox" name="awaystatus" value="1" <if condition="$bbuserinfo[awaystatus] == 1">checked</if>>I am currently away.$awaysincedisplay</td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>Away Message</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td colspan="2">Enter an away message that will be visible in your profile.</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="awaymessage" id="tb_awaymessage" value="$bbuserinfo[awaymessage]" size="50" maxlength="200" /></td>
</tr>
</table>
</fieldset>
</div>
</div>
</td>
</tr>
</table><br />

then you say

[EDIT TEMPLATE MEMBERINFO]

then more how do you edit these templates?

womensden 04-03-2005 01:52 AM

Go into your Admin Control Panel --> Styles and Templates (on the left) --> Style Manager-->

Click on the button to the right that looks like this --- [<< >>].

The templates will be shown on that page. Find the template you want to edit and open it --> then edit.

womensden 04-03-2005 03:07 AM

How about adding something in the postbit to show when a user is away? For instance a small image or something? Maybe near the "online" light?

--I really like how it takes the away message when a post is made by the "away" user.

Starsurfer 04-03-2005 11:09 AM

Its on the first post but where do you implement it?

Sir_Yaro 06-16-2005 09:46 AM

Click install :)

btw. change content of "userawaynopm" phrase to:
Code:

<u><b>Attention : </b></u> Your PM cannot be send to its intended recipients.<br>User <b>$user[username]</b> is away since the $awaysincedate.<br>
User leave message - <b>$user[awaymessage]</b><br>
Expected return date was $awayuntilmsg.<br>Your PM was not delivered to  <b>$user[username]</b>.

it looks better :)

between worlds 06-24-2005 09:41 PM

Works perfectly! Thank you!

SHANE-D-PAIN 07-04-2005 02:37 PM

Love this, took less than 5 mins, hope my users dont use it as much as i will though!!! :)

RGSMDNR 07-05-2005 02:31 AM

hmm.. nothing is showing up when i set this..
[ OD is away since - ]
Reason:

thats all it says?

SHANE-D-PAIN 07-05-2005 08:27 PM

Have you ran the SQL Query at the top of vb3 userawaymessages install.txt, that should add the phrases, if so then check through all the file edits, works fine for me!


All times are GMT. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01102 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete