paul41598
05-02-2006, 05:48 PM
I'm trying to do something simple I think. If a user has posts in a specific forum, I want to display some text to the right of their thread that says "hello" (to be changed later) Only on THEIR threads though. So in forumdisplay.php, I have something like this:
if ($threadinfo['postuserid'] == $bbuserinfo['userid'])
{
$jbtest = 'hello';
}
And then the variable $jbtest I have in the threadbit template. Am I missing a query for this to work? Cuz it doesnt work.
In essence what I wanna do is display a text link or graphic (preferrably) next to a users thread, that says "Item Sold?" Then once they click the link, it takes them to the editpost. Does that make sense?
if ($threadinfo['postuserid'] == $bbuserinfo['userid'])
{
$jbtest = 'hello';
}
And then the variable $jbtest I have in the threadbit template. Am I missing a query for this to work? Cuz it doesnt work.
In essence what I wanna do is display a text link or graphic (preferrably) next to a users thread, that says "Item Sold?" Then once they click the link, it takes them to the editpost. Does that make sense?