Me page diamonds

Status
Not open for further replies.

Rystbo

-Hotel Owner, -Customs Developer, -Arcturus
Apr 16, 2018
390
200
Hello. so on my me page under the user is the coins, duckets and then diamonds. Only issue is the diamonds variable isn't working.



here is a piece of the html, any helps appreciated. I also changed the diamonds to vip_points to match the db but it didnt work


<div class="label">
<font color="FFEF00" style="font-size:18px; text-shadow: 1px 1px #B59600;">{coins} <img src="{url}/app/tpl/skins/aura/img/coin.png"></font>
<font color="CC51C5" style="font-size:18px; text-shadow: 1px 1px #B1007D;">{activitypoints} <img src="{url}/app/tpl/skins/aura/img/ducket.png"></font>
<font color="B0F2A9"style="font-size:18px; text-shadow: 1px 1px #B2D87E;">{diamonds} <img src="{url}/app/tpl/skins/aura/img/diamond.png"></font>
 

cammy

Member
May 15, 2014
481
238
This can be added by your class core? Not entirely sure if that's right. It's one of them...

EDIT: It's actually class.template in wwwroot/app/

Add "$this->setParams('vip_points', $users->getInfo($_SESSION['user']['id'], 'vip_points'));"
And change {diamonds} to {vip_points} on the me page.

If that doesn't work. Send me your class.template in a paste bin and I'll do it for you.
 

Rystbo

-Hotel Owner, -Customs Developer, -Arcturus
Apr 16, 2018
390
200
This can be added by your class core? Not entirely sure if that's right. It's one of them...

EDIT: It's actually class.template in wwwroot/app/

Add "$this->setParams('vip_points', $users->getInfo($_SESSION['user']['id'], 'vip_points'));"
And change {diamonds} to {vip_points} on the me page.

If that doesn't work. Send me your class.template in a paste bin and I'll do it for you.
Thanks for the fast response, that did the trick :D thanks so much



I owe you one!
 
Status
Not open for further replies.

Users who are viewing this thread

Top