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
RevCMS Staff Page With Nationalities
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="Khalil" data-source="post: 227746" data-attributes="member: 9938"><p>Go to your staff page and after this line:</p><p>[HTML]"<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p>"[/HTML]</p><p>Add this:</p><p>[HTML]echo "<p style=\margin-left:80px;margin-top:20px;\"><img src=\"LINK TO YOUR FLAGS FOLDER/{$Users['country']}.COUNTRY FLAG PIC EXTENSION\" />";[/HTML]</p><p></p><p>Note that for {$Users['country']} to work you need to find this line (and make sure you already have the country column added in your users table):</p><p>[PHP]$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']}");[/PHP]</p><p></p><p>And replace it with this:</p><p>[PHP]$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look,country FROM users WHERE rank = {$Ranks['id']}");[/PHP]</p><p></p><p></p><p></p><p>I do actually, not very popular and doesn't hit much users daily but meh, strexhotel.co.uk</p></blockquote><p></p>
[QUOTE="Khalil, post: 227746, member: 9938"] Go to your staff page and after this line: [HTML]"<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p>"[/HTML] Add this: [HTML]echo "<p style=\margin-left:80px;margin-top:20px;\"><img src=\"LINK TO YOUR FLAGS FOLDER/{$Users['country']}.COUNTRY FLAG PIC EXTENSION\" />";[/HTML] Note that for {$Users['country']} to work you need to find this line (and make sure you already have the country column added in your users table): [PHP]$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']}");[/PHP] And replace it with this: [PHP]$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look,country FROM users WHERE rank = {$Ranks['id']}");[/PHP] I do actually, not very popular and doesn't hit much users daily but meh, strexhotel.co.uk [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
RevCMS Staff Page With Nationalities
Top