Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Mar 2011, 21:04
hoangserip's Avatar
hoangserip hoangserip is offline
 
Join Date: Jun 2009
[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 !!!
Reply With Quote
  #2  
Old 23 Mar 2011, 22:15
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
$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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 23 Mar 2011, 22:30
hoangserip's Avatar
hoangserip hoangserip is offline
 
Join Date: Jun 2009
Thanks Lynne!!!
But i want show in Forumhome and Memberinfo, how to add query?
Reply With Quote
  #4  
Old 23 Mar 2011, 23:31
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 24 Mar 2011, 08:43
hoangserip's Avatar
hoangserip hoangserip is offline
 
Join Date: Jun 2009
Thanks Lynne, please view attach
Attached Images
File Type: png vb1.png (12.4 KB, 47 views)
File Type: png vb2.png (7.0 KB, 33 views)
Reply With Quote
  #6  
Old 24 Mar 2011, 16:18
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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).
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #7  
Old 24 Mar 2011, 18:01
hoangserip's Avatar
hoangserip hoangserip is offline
 
Join Date: Jun 2009
oh yeah, thanks Lynne so much, it work perfect!!!
Reply With Quote
  #8  
Old 02 Feb 2012, 23:59
TopFloorDjs's Avatar
TopFloorDjs TopFloorDjs is offline
 
Join Date: Sep 2008
Real name: Brad
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?
Reply With Quote
  #9  
Old 03 Feb 2012, 03:57
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #10  
Old 06 Feb 2012, 04:56
TopFloorDjs's Avatar
TopFloorDjs TopFloorDjs is offline
 
Join Date: Sep 2008
Real name: Brad
Thanks Lynne, {vb:raw bbuserinfo.reputation} worked. For some odd reason (probably a typo) it didnt work the first time i tried it lol.
Reply With Quote
  #11  
Old 24 Aug 2012, 00:42
nyenius's Avatar
nyenius nyenius is offline
 
Join Date: Jun 2012
I've posted a question like this here http://www.vbulletin.org/forum/showthread.php?p=2359478

the different is, I want to show give reputation button in forumdisplay, not the reputation point or rep bar.

--------------- Added 24 Aug 2012 at 00:51 ---------------

Originally Posted by Lynne View Post
$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.
where to check the query?
__________________
www.id-zippo.com

~ Brotherhood of Famous Flame ~
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements Show Reputation Each Post Has Got In PostBit AngelBlue Modification Graveyard 38 01 Jul 2010 11:15



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:33.

Layout Options | Width: Wide Color: