Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to add RevCMS parameters.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="shaheemz" data-source="post: 98013" data-attributes="member: 12496"><p><strong>Revms</strong></p><p>This is an super easy tutorial.</p><p>If you want to add {<span style="color: #d3d3d3">params</span>}, use this tutorial.</p><p> </p><p>I will use vip_points as an example.</p><p> </p><p><strong>Step 1:</strong></p><p>Go to your revcms folder and open the <u>app</u> folder.</p><p>Click and open <u>class.template.php</u></p><p> </p><p><strong> Step 2:</strong></p><p>Now look for...</p><p>[CODE]if($users->isLogged())</p><p>{[/CODE]</p><p>You need to put it below that code so people will only see this if they are logged in.</p><p> </p><p>Paste this code under the code above.</p><p>[CODE]$this->setParams('NAMEHERE', $users->getInfo($_SESSION['user']['id'], 'vip_points'));[/CODE]</p><p>You can also edit <strong><u>'vip_points'</u></strong> to <strong>'respect'</strong> , <strong>'rank' </strong>, <strong>'volume'</strong> etc. But no dates like account_created. Will explain that below.</p><p> </p><p>Don't forget to edit NAMEHERE to the name of your currency.</p><p> </p><p>Now save it</p><p> </p><p><strong>Step 3:</strong></p><p>Go to the page where you want to run this code. And use {NAMEHERE} or whatever you have changed NAMEHERE to.</p><p> </p><p>It will work if you're doing this right.</p><p> </p><p></p><p> </p><p> </p><p> </p><p>Sorry for my bad english.</p></blockquote><p></p>
[QUOTE="shaheemz, post: 98013, member: 12496"] [B]Revms[/B] This is an super easy tutorial. If you want to add {[COLOR=#d3d3d3]params[/COLOR]}, use this tutorial. I will use vip_points as an example. [B]Step 1:[/B] Go to your revcms folder and open the [U]app[/U] folder. Click and open [U]class.template.php[/U] [B] Step 2:[/B] Now look for... [CODE]if($users->isLogged()) {[/CODE] You need to put it below that code so people will only see this if they are logged in. Paste this code under the code above. [CODE]$this->setParams('NAMEHERE', $users->getInfo($_SESSION['user']['id'], 'vip_points'));[/CODE] You can also edit [B][U]'vip_points'[/U][/B] to [B]'respect'[/B] , [B]'rank' [/B], [B]'volume'[/B] etc. But no dates like account_created. Will explain that below. Don't forget to edit NAMEHERE to the name of your currency. Now save it [B]Step 3:[/B] Go to the page where you want to run this code. And use {NAMEHERE} or whatever you have changed NAMEHERE to. It will work if you're doing this right. Sorry for my bad english. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to add RevCMS parameters.
Top