Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2002, 09:27 PM
Vile's Avatar
Vile Vile is offline
 
Join Date: Apr 2002
Location: Arizona, USA
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Postbit Modifications...

Hi,
I was wondering how to get the Online or Offline status in the postbit.

I know if I add "$onlinestatus" in the postibt template, it will just show "online" or whatever text I use, but how do I get it to say "offline" in the postbit, like it's setup here at vbb.org?

Thanks.
Reply With Quote
  #2  
Old 08-10-2002, 04:40 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Login to Admin CP > Templates > Modify > Template Set you're using > Postbit[expand] > postbit_offline(for what the offline status is displayed as) and postbit_online(for what the online status is displayed as).
Reply With Quote
  #3  
Old 08-10-2002, 04:56 AM
Vile's Avatar
Vile Vile is offline
 
Join Date: Apr 2002
Location: Arizona, USA
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds great.

Thanks for your help
Reply With Quote
  #4  
Old 08-10-2002, 05:22 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. I edited this myself so I knew where to go.
Reply With Quote
  #5  
Old 08-31-2002, 01:38 PM
Rock Rock is offline
 
Join Date: Nov 2001
Location: uk
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the var , after editing ?

$onlinestatus ??
Reply With Quote
  #6  
Old 08-31-2002, 01:42 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$onlinestatus shows your Online Status...

So it will either Show Online if you are Online, Away (if you have the Away hack installed), or Offline if you are Offline or Invisible...

Satan
Reply With Quote
  #7  
Old 09-01-2002, 02:01 PM
Rock Rock is offline
 
Join Date: Nov 2001
Location: uk
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oK, i see now ...
but i have this var @ my postbit
and it doesnt apear if its online or offline ..
thats the problem ..
i cant see,
looks like the var "$onlinestatus" is kinda off ...
so, i was regarding to see some help here ...

i will w8 ..
Reply With Quote
  #8  
Old 09-01-2002, 02:22 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post your postbit template?

Because I dont think you can turn off $onlinestatus...

Satan
Reply With Quote
  #9  
Old 09-01-2002, 03:08 PM
Rock Rock is offline
 
Join Date: Nov 2001
Location: uk
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah sure, here it goes:
Code:
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
	<td bgcolor="$post[backcolor]" width="120" valign="top">
	<a name="post$post[postid]"></a>
	$post[firstnewinsert]
	<normalfont><b>$post[username]</b></normalfont><br>
	<smallfont>$post[usertitle]</smallfont><br>
	$post[avatar]<p>
	<smallfont>Registered: $post[joindate]<br>
	Location: $post[field2]<br>
	Posts: $post[posts]<br>
                <br>            
  <br> ? Points: $post[storep] $donate <br>
$onlinestatus<br>
</smallfont></td>
	

<td bgcolor="$post[backcolor]" width="100%" height="100%" valign="top">
<table width="100%" border="0" cellpadding="0" align="left" height="100%">
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
$ftpinfo
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top"><p><normalfont>$post[message]</normalfont></p></td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" >$post[signature]</td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" align="left" valign="top" height="8">$post[editedby]</td>
<td bgcolor="$post[backcolor]" align="right" valign="top" height="8"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged] <br><a href='timeonline.php?s=$session[sessionhash]&action=view_leader'>Time Online:</a> $post[onlinetime]</smallfont></td>
</tr>
</table>
</td>
</tr>
<tr>
	<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
	$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
	
	<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr valign="bottom">
			<td><smallfont>$onlinestatus
			$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
			<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> 
			</smallfont></td>
			<td align="right" nowrap><smallfont>
		
	<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
			<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
			</smallfont></td>
		</tr>
		</table>
	</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
Reply With Quote
  #10  
Old 09-01-2002, 03:21 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see that you have the
Code:
$onlinestatus
variable there...

You should check that you have some content in the "postbit_online" and "postbit_offline" templates...If they are blank, just revert them and it should work...

Other than that, I dont know what could be wrong...

Satan
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:20 PM.


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.05734 seconds
  • Memory Usage 2,255KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete