The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[Need Help] Show {vb:raw post.reputation} in everywhere
Hi all,
I want show {vb:raw post.reputation} in Forumhome, Memberinfo, ... but it no work ( Please help me, thank you so much !!! |
#2
|
||||
|
||||
$post is only used int he postbit templates. The variable name is different in different templates. You will need to look in the templates and get the variable name. Then also check the query and make sure the reputation field was grabbed there or you will need to add it to the query.
|
#3
|
||||
|
||||
Thanks Lynne!!!
But i want show in Forumhome and Memberinfo, how to add query? |
#4
|
||||
|
||||
You may not need a query if the info is already available.
You really need to be more specific though. On the forumhome, where are you going to put this? And who's reputation are you going to show? and exactly where? Same thing with the memberinfo page - who's reputation and exactly where? Have you looked in the templates for the variables? What have you tried and where? |
#5
|
||||
|
||||
Thanks Lynne, please view attach
|
#6
|
||||
|
||||
You are talking about different users for each place. For the Welcome box, you are wanting the reputation of *you*, so $bbuserinfo[reputation] and on the member page, you want it for that member - you'll have to look in the template and find that variable name since I can't remember it (userinfo or prepared or something like that).
|
#7
|
||||
|
||||
oh yeah, thanks Lynne so much, it work perfect!!!
|
#8
|
||||
|
||||
Im trynna get this to work in the header template. Tried a few things n cant seem to the find right string...
{vb:raw bbuserinfo.reputation} {vb:raw session.reputation} {vb:raw userinfo.reputation} trynna put it directly after the Welcome, $username. Any help? |
#9
|
||||
|
||||
If any of those are going to work, it would be {vb:raw bbuserinfo.reputation}. But I can't remember the variable name used in the header template, so you will need to look that up and adjust the variable name as needed.
|
#10
|
||||
|
||||
Thanks Lynne, {vb:raw bbuserinfo.reputation} worked. For some odd reason (probably a typo) it didnt work the first time i tried it lol.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|