The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need Help Simple Query, If Statement
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? |
#2
|
||||
|
||||
instead of $bbuserinfo you should use $vbulletin->userinfo
|
#3
|
||||
|
||||
it's for 3.0.7, so I think bbuserinfo is still correct under that source code right?
|
#4
|
||||
|
||||
right
next time it would help to mention you are using an old version but it's $thread not $threadinfo |
#5
|
||||
|
||||
Sorry, Ok thanks. Anyone else help with whatever I need that would be greatful. Thanks again in advance
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|