Log in

View Full Version : Pulling from a custom table.


applehat
08-19-2005, 05:09 PM
I created a new field in my post table called mod.

I want to make an if conditional in my postbit that will not show the message if mod is set to 1, and show it if its set to 0.

Anyone wanna help me write the plugin i need?

never mind...theres already something inplace... $post[]

<-- RETARD

MrNase
08-19-2005, 08:22 PM
Problem solved?

Kirk Y
08-19-2005, 08:59 PM
I'm not sure... you wouldn't use the $post var though unless you wanted to post the value of that particular field. Use this instead:

<if condition="$bbuserinfo['fieldxx']==1">Whatever you want displayed.</if>