Quote:
Originally Posted by sully02
Gamingforce, any progress on adding this to the postbit?
|
I've managed to add it in my postbits, to see what I've done, please check the following:
http://forum.m1911.org/showthread.php?t=623
If you like what you see, I can provide you with my files, but the changes I've made to the original hack, are significant, and I haven't kept exact records in the form of "find this, replace it with", so you will need to do some work yourself.
However, in order to have the original "User is away" message, here is some code which goes in the postbit template (and postbitlegacy).
PHP Code:
<!-- Code change for user being away -->
<if condition="$post['awaystatus'] == 1">
<td width="100%"><CENTER><div class="smallfont"><FONT COLOR="red">User $post[musername] is away at the moment.</FONT><BR>
<if condition="$post['awaymessage'] != ''">
Reason: $post[awaymessage]<BR>
<else />
No reason was given.<BR>
</if>
</div></CENTER></td>
<else />
<td width="100%"> </td>
</if>
<!-- end of code for user being away -->
This piece of code, goes right below the part shown below:
PHP Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
Let me know if I can be of more help.
Rgds