I have used the showing it on the message user info, that works correctly. However trying to use it around other templates will show it as "0 cash" at all times. Wondering if it's possible to do it.
Depends on the Template. In MOST cases, only $visitor (the viewing users data) is going to be exposed. $visitor.sportsbook_cash shows the viewing user THEIR Sportsbook cash. $user.sportsbook_cash will show the viewing user a specific users sportsbook cash (which is for places like the post bit on threads for specific users).
You are probably trying to user $user where the $user variable is not being exposed by the controller for the page OR you are using $user when you should be using $visitor.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.