how do i add XXX Point

LineUp

New Member
hi,
yesterday i install vBPlaza mod.
how do i add code of show me how much point the user have (in block member info i think)
like that :

Join Date: Dec 2008
Posts: XXX
Point: XXX (in vBPlaza).

ty :)
 
you need to look in the read me file.

Pic what you need,

Template Edits:
A) Inside templates 'postbit' AND 'postbit_legacy':

Find:
PHP:
<div id="postmenu_$post[postid]">

Replace With:


PHP:
<!-- vbPlaza start -->
<div id="postmenu_$post[postid]" <if condition="$post['namestyle']">style="$post[namestyle]"</if>>
<!-- vbPlaza end -->

Next Find:
PHP:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>

Replace With:
PHP:
<!-- vbPlaza start -->
<if condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
<!-- vbPlaza end -->


Then Find:


PHP:
$vbphrase[posts]: $post[posts]

Replace With:


PHP:
$vbphrase[posts]: $post[posts]
<!-- vbPlaza start -->
<if condition="$show['pointsinpostbit']"><br />
$vbphrase[vbbux_points]: $post[points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<!-- vbPlaza end -->

Then Find:

PHP:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Add Below:


PHP:
<!-- vbPlaza start -->
<if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>
<!-- vbPlaza end -->


(more info here = http://www.vbteam.info/trash/1835-req-vbbux-vbplaza-v1-5-8-points-store-system.html )
 
Back
Top