Log in

View Full Version : Adding info in postbit


kontrabass
04-25-2001, 01:59 AM
Here's what I'd like to do:

Say I've got two user titles, "Member" and "Supporting Member". Now, is it possible to modify showthread.php so that, underneath the avatar or post count of ONLY a "Member", a link would appear (like "Become a Supporting Member Today!)?

I've tried something like:

if ($post[usertitle]=="Member")
{ $support="link text here";
}

...and then I just stick $support into the postbit template. But it seems the boolean $post[usertitle]=="Member" isn't working (never true)... Am I using the right $post variable?

Any tips are appreciated... Thanks!

kontrabass
04-25-2001, 03:40 AM
Ahh, I got it! If anyone would like the solution (if you want to put different info beneath the poster's name depending on user title), drop me a line at doublebass@mail.utexas.edu