{vip_points}

Results 1 to 7 of 7
  1. #1
    Member mitchellas is offline
    MemberRank
    Jul 2012 Join Date
    33Posts

    wink {vip_points}

    Hey everyone,

    Last time i've seen a tutorial on how to let it see your vip points in the cms. But I forgot the link of it and now I don't remember how I made it.

    I want something like this, if I type {vip_points} in my cms it needs to show me my vip points.

    Thanks


  2. #2
    G'nome sayin' Exonize is offline
    Grand MasterRank
    May 2011 Join Date
    Czech RepublicLocation
    517Posts

    Re: {vip_points}

    Hello, which CMS are you using?

  3. #3
    Member mitchellas is offline
    MemberRank
    Jul 2012 Join Date
    33Posts

    Re: {vip_points}

    Quote Originally Posted by Exonize View Post
    Hello, which CMS are you using?
    RevCMS

  4. #4
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: {vip_points}

    Quote Originally Posted by mitchellas View Post
    RevCMS
    Lookup how {hotelname} is defined and try to copy it and change it to vip_points :) You'll learn the most when you try it yourself :)

  5. #5
    Newbie Baunsgaard is offline
    MemberRank
    Dec 2012 Join Date
    1Posts

    Re: {vip_points}

    I“am have vip points on my Hotel.
    Are the on Client or home page. ?
    I have a HTML File, you can insert on me.php in your htdocs or wwwroot
    Write back in a comment.

  6. #6
    Sorcerer Supreme Dysfunctional is offline
    Member +Rank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: {vip_points}

    Find the following code in app/class.template.php
    Code:
    $this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));
    and add this underneath it;
    Code:
    $this->setParams('vip_points', $users->getInfo($_SESSION['user']['id'], 'vip_points'));

  7. #7
    Member mitchellas is offline
    MemberRank
    Jul 2012 Join Date
    33Posts

    Re: {vip_points}

    Quote Originally Posted by Dysfunctional View Post
    Find the following code in app/class.template.php
    Code:
    $this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));
    and add this underneath it;
    Code:
    $this->setParams('vip_points', $users->getInfo($_SESSION['user']['id'], 'vip_points'));
    Cheers. :]



Advertisement