PDA

View Full Version : Postbit modifications to create another table column on the RIGHT


MadMorbius
10-21-2005, 03:17 PM
Hey there,

I'm using the postbit_legacy. I'd like to create another column on the right of the post display, where I can put addidional "qualification icons" to keep the right side "cleaner". I'm using if statements to check for group membership and display an image if the member is part of the group in question.

Attached are two images, CURRENT showing the current configuration and FUTURE showing how I'd ultimately like it to look.

It's a simple matter of inserting the table, but I need help with the code to make this happen.

Thanks

Wired1
10-21-2005, 04:07 PM
Damn, I had an answer, but it was for 3.5.0...

Ok, here's a 3.0.x answer :)

</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a></if>

ENTER IN NEW TEMPLATE INFO HERE


</td>

NOTE: I don't use postbit_legacy, but that should work, or at least get you started on the right path.

MadMorbius
10-21-2005, 04:27 PM
Close, but not quite. That puts the images next to the postcount number, although that's got me thinking about something else...I'll play around with it but if anyone can see how to add another destinct column beneath the postcount icon but not in that same row, I'd appreciate it.

Wired1
10-21-2005, 10:24 PM
OK, no more coding @ work for me. Got it this time though :)

FIND:
<!-- / edit note -->
</if>

</td>
AFTER this post:
<td>

PLACE NEW STUFF HERE

</td>