PDA

View Full Version : How to display individual user's points in Postbit?


streetfighter
04-27-2005, 04:17 AM
I have a question...
How can i display individual users points in POSTBIT?
I tried the following stuff in template edit: Points: $bbuserinfo[uttpoints]

But this places the current logged in user's points in all user's post fileds...
So, i want this to be individualised!

How can that be achieved??

Thanks

Link14716
04-27-2005, 10:51 AM
By following the template edits in the readme file.

streetfighter
04-27-2005, 02:03 PM
I found the following two changes in POSTBIT.. which are applied!


In your postbit and/or postbit_legacy template template: (2 Changes)
Find:<div id="postmenu_$post[postid]">
Replace with:<if condition="$post['uttstore_glow']"><div id="postmenu_$post[postid]" style="width:100%; filter:Glow(color=$post[uttstore_glow], strength=5);"><else /><div id="postmenu_$post[postid]"></if>


Find:$vbphrase[posts]: $post[posts]
Replace with:$vbphrase[posts]: $post[posts] | <if condition="$bbuserinfo['usergroupid'] == '6'"><a href="ushop.php?do=a&shortname=admindonate&userid=$post[userid]" target="_blank">$vbphrase[ucs_points]</a><else />$vbphrase[ucs_points]</if>: $points (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)


Both of them are applied.. still i cant see any where in postbit besides location/posts/ etc the status of POINTS of individual users!
All i can see is that it enables GLOW for those who have IE!

Can you tell me where am i wrong?
Can you tell me which phrase do i have to use for showing individual's points?

Thanks

Zachery
04-27-2005, 02:26 PM
I found the following two changes in POSTBIT.. which are applied!



Both of them are applied.. still i cant see any where in postbit besides location/posts/ etc the status of POINTS of individual users!
All i can see is that it enables GLOW for those who have IE!

Can you tell me where am i wrong?
Can you tell me which phrase do i have to use for showing individual's points?

Thanks
You sure you did all of the edits?

streetfighter
04-27-2005, 06:21 PM
Yeah.. sure. .i did!
If the UShop and all stuff is working... you should believe me on my template editing skills! ;)