Help ASAP - Credits Balance!

jakob215180

Member
Aug 7, 2013
113
4
I made a buy credits page for UberCMS but for some reason, I copy the code for buy points balance to display the points and pasted inside the balance file for credits, and changed %vipbalance% to %creditsbalance% and its not showing my coin balance..
Its showing this.
 

Lotus

Legacy, it's all anyone leaves behind.
Jun 8, 2012
1,637
501
I made a buy credits page for UberCMS but for some reason, I copy the code for buy points balance to display the points and pasted inside the balance file for credits, and changed %vipbalance% to %creditsbalance% and its not showing my coin balance..
Its showing this.


Try doing {coins} or {activitypoints}
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,396
960
It's %creditsBalance% (notice the capital B?)

PHP:
$tpl->Write('div id="column1" class="column">');
$pageName = new Template('page-tpl');
$pageName->setParam('creditsBalance', intval($users->GetUserVar(USER_ID, 'credits')));
$tpl->AddTemplate($pageName);
 

Users who are viewing this thread

Top