The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Okay I'm trying to get ratings from db and put them into a table. For some reason I only get the first row, here is what I have.
PHP Code:
I could get this to work with echo easily enough, but not with templates.
|
|
#2
|
||||
|
||||
|
I think it's the query.
What's your table for user like? U mentioned using templates, so you are querying the default 'user' table of vb ? You've added a rating field ? |
|
#3
|
|||
|
|||
|
PHP Code:
|
|
#4
|
||||
|
||||
|
PHP Code:
You forgot the concatenation operator (.=)
|
|
#5
|
||||
|
||||
|
I love you guys.
![]() $standingbit was in my template, user table was vbulletin, except for the added rating field, but all works. Thanks a bunch. |
|
#6
|
||||
|
||||
|
How would I get it to display the result #?
[SOLVED]
|
|
#7
|
||||
|
||||
|
Glad you got it all worked out
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|