Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to show VIP Points?

Joined
Nov 24, 2012
Messages
35
Reaction score
2
Hello Ragezoners.
Today i fixed a PayGol IPN script to my hotel.
But when i tried to show the points in the VIP Page i used {vip_points}, like on RevCMS {coins} shows you coins in the /me site, but with the {vip_points} it dont work?
So i can see the VIP Points in the users table in the database, but can't get them to work!
So i was wandering if anyone can give me the PHP code that shows the VIP Points?

Thanks,
HabHost.

PS: Sorry for my bad English, im from Norway!
 
Experienced Elementalist
Joined
Jul 22, 2012
Messages
298
Reaction score
221
FIND THIS
PHP:
$this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));
in app/class.template.php

AND ADD THIS BELOW IT

PHP:
$this->setParams('vip_points', $users->getInfo($_SESSION['user']['id'], 'vip_points'));
 
Upvote 0
Back
Top