The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Display user infos. How?
Hi,
I want to display some user info (taken from the postbits) on a different page on my vbulletin. I'm talking about things like postcount, user rank, reputation.. How would I go about that? When i try to insert something like <span>{vb:raw post.postcount}</span> I end up having an empty span element on my page. Why is it like that? Can somebody help me out please? |
#2
|
||||
|
||||
What page are you trying to display this on?
|
#3
|
||||
|
||||
On every page in the "header".
I want to add some statistics up there and I'm confused because usually it worked like that.. |
#4
|
||||
|
||||
No, it won't work like that, as {vb:raw post.postcount} is only available in the postbit template.
You would need to write queries for the info you want, and then register the variables to what ever template you are going to display them in. |
#5
|
||||
|
||||
Ugh, I guess this goes far behind my knowledge.
Is there any tip you can give me or a link on how to do this? And once again, thank you ozzy for helping out. |
#6
|
||||
|
||||
Actually now that I think about it, postcount is available in the header like this, {vb:raw bbuserinfo.posts}
As well as, user rank, reputation |
Благодарность от: | ||
CAG CheechDogg |
#7
|
||||
|
||||
Damn, thank you!
You just saved me a lot of time Works perfectly |
#8
|
||||
|
||||
Glad it's working for you.
I just had to think about it for a minute, because I remembered I added such info before, and I was pretty sure I did not add any queries. |
#9
|
||||
|
||||
Got you.
I tend to think more complicated than i actually need to too, lol. Thanks again man |
#10
|
||||
|
||||
Believe me, I waaay over think coding side of things all the time.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|