The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[solved] onlinestatus
Hello,
Currently I'm trying to adjust my postbit here and there, and having something like this setup: Code:
<td class="alt3" style="padding: 0px; background-image: url($stylevar[imgdir_misc]/back.gif); background-repeat: repeat-x; border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"> $post[onlinestatus] Code:
<if condition="$onlinestatus==1"><img src="$stylevar[imgdir_misc]/online.gif" style="float: right;" border="0"></if> |
#2
|
||||
|
||||
I hope it's ok to bump this one once
|
#3
|
||||
|
||||
Look at "postbit_onlinestatus" template.
I think this is what you need to edit to get what you want. . |
#4
|
|||
|
|||
"postbit_onlinestatus" contains all the information for the online status images.
|
#5
|
||||
|
||||
true, however I was trying to avoid the postbit_onlinestatus template, since changing things here also changes ie. the appearance of the memberprofile page.
I was hoping to just change the appearance of the postbit instead. |
#6
|
|||
|
|||
Then to answer that I think a hook will be needed. I asked the same question myself.
|
#7
|
||||
|
||||
I think another way may be to change this line of code in /includes/class_postbit.php in the function process_registered_user:
PHP Code:
PHP Code:
(Not tested.) |
#8
|
||||
|
||||
Quote:
Code:
<if condition="(THIS_SCRIPT == showthread) OR (THIS_SCRIPT == showpost)"> Postbit online code for threads <else /> Postbit online code for else where </if> |
#9
|
||||
|
||||
Quote:
Like a charm (and I should have known) Much apriciated both! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|