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 Q&A
Housekeeping Issue - RevCMS
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="Diddy8000" data-source="post: 341922" data-attributes="member: 5890"><p>Hello all,</p><p></p><p>I had this code in dashboard.php in wwwroot/app/housekeeping and then moved it to home.php in wwwroot/app/housekeeping/pages and its no broken, username does not show as it did and get an error for the rank </p><p></p><p></p><p>Here is the code thats now broken.</p><p>[CODE]<h1>{username}</h1></p><p><h2><?php</p><p>$rank = $users->getInfo($_SESSION['user']['id'], 'rank');</p><p>if ($rank == 4) { echo 'Media Journalist'; }</p><p>else if ($rank == 5) { echo 'Media Editor'; }</p><p>else if ($rank == 6) { echo 'Event Host'; }</p><p>else if ($rank == 7) { echo 'Event Assistant'; }</p><p>else if ($rank == 8) { echo 'Radio DJ'; }</p><p>else if ($rank == 9) { echo 'Head DJ'; }</p><p>else if ($rank == 10) { echo 'Forum Moderator'; }</p><p>else if ($rank == 11) { echo 'Management'; }</p><p>else if ($rank == 12) { echo 'Hidden Administration'; }</p><p>else if ($rank == 13) { echo 'Global General & Community Management'; }</p><p>else if ($rank == 14) { echo 'Ownership & Senior Administration'; }</p><p>?> </p><p></h2>[/CODE]</p><p></p><p>My Guessing is that the classes or what not can not 'stretch' to this location which I have no idea how to fix. Any ideas?</p><p>[USER=591]@Sledmore[/USER]</p></blockquote><p></p>
[QUOTE="Diddy8000, post: 341922, member: 5890"] Hello all, I had this code in dashboard.php in wwwroot/app/housekeeping and then moved it to home.php in wwwroot/app/housekeeping/pages and its no broken, username does not show as it did and get an error for the rank Here is the code thats now broken. [CODE]<h1>{username}</h1> <h2><?php $rank = $users->getInfo($_SESSION['user']['id'], 'rank'); if ($rank == 4) { echo 'Media Journalist'; } else if ($rank == 5) { echo 'Media Editor'; } else if ($rank == 6) { echo 'Event Host'; } else if ($rank == 7) { echo 'Event Assistant'; } else if ($rank == 8) { echo 'Radio DJ'; } else if ($rank == 9) { echo 'Head DJ'; } else if ($rank == 10) { echo 'Forum Moderator'; } else if ($rank == 11) { echo 'Management'; } else if ($rank == 12) { echo 'Hidden Administration'; } else if ($rank == 13) { echo 'Global General & Community Management'; } else if ($rank == 14) { echo 'Ownership & Senior Administration'; } ?> </h2>[/CODE] My Guessing is that the classes or what not can not 'stretch' to this location which I have no idea how to fix. Any ideas? [USER=591]@Sledmore[/USER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Housekeeping Issue - RevCMS
Top