Status
Not open for further replies.
Hi guys, I've recently upgraded to vbulletin 4.2, after integrating my forum styles, I've come to the beginning of installing my modifications, anyway moving on,

Whilst installing vbShop Pro, i'm trying to add the "points: 0" into the postbit_lagacy template, I've copied the code "{vb:raw currency.bankpoints}" into the new postbit box, but on saving the new template, no number shows :{

liIVd.gif


This is the code I've put into postbit_legacy;
<div class="userinfo_item"><strong>Tokens</strong> » {vb:raw currency.bankpoints}</div>

And this is the original vbshop_postbit_stats template code:
<vb:if condition="!($bbuserinfo['dbtech_vbshop_settings'] & 4)"><dt>{vb:raw currency.title}</dt> <dd>{vb:raw currency.points}<vb:if condition="$vboptions['dbtech_vbshop_bank_postbit']"> ({vb:rawphrase dbtech_vbshop_x_banked, {vb:raw currency.bankpoints}})</vb:if></dd></vb:if>
 
That won't work, currency.bankpoints will only work inside the dbtech_vbshop_postbit_stats template. Sorry :(

You have to edit the postbit_stats template with any customisations you need for your style.
 
That won't work, currency.bankpoints will only work inside the dbtech_vbshop_postbit_stats template. Sorry :(

You have to edit the postbit_stats template with any customisations you need for your style.

Ah,

I've added the code to the postbit_stats, and it's now in the box, I've given myself 500 tokens (through admincp user profiles) and it shows on vbshop.php, however, under the postbit, it now shows Tokens » 0.
 
Can you try reverting the template and see if it appears properly before you customise it with your styling?
 
Status
Not open for further replies.

Legacy vBShop

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,261
Customer rating
0.00 star(s) 0 ratings
Back
Top