![]() |
Need Help Simple Query, If Statement
1 Attachment(s)
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:
PHP Code:
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? |
instead of $bbuserinfo you should use $vbulletin->userinfo
|
it's for 3.0.7, so I think bbuserinfo is still correct under that source code right?
|
right
next time it would help to mention you are using an old version :) but it's $thread not $threadinfo :) |
Sorry, Ok thanks. Anyone else help with whatever I need that would be greatful. Thanks again in advance
|
All times are GMT. The time now is 09:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|