Jump to content
  • 0

Flux cp online status with user online counter.


KoriAK

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

(just FYI there a server time in the status.php if you open it look for this url, ( http://free.timeanddate.com ) and you can change the time for you or where ever your server is located.)

I have been getting alot of message from alot of users asking me how i did the server status thing in flux cp and i will inform you how i did it.

Remember the download this attachment, you must be login.

status.zip

When your adding these files make sure you follow what i tell you.

Make sure u add these file and text in the right places.

Open your flux header.php, find <body> click enter two and paste this code after that. (Don't delete any thing in the header.php or you will mess up ur flux cp)

<div class="topbar">
<?php include 'main/status.php' ?>
</div>

then save it and close the file.

Next open both ur flux.css and main.css go to the bottom and paste this code in to flux after you press enter two time

/* Server status */
#server_status th, #server_status td {
padding: 8px 12px 8px 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}

#server_status {
border-spacing: 0;
border-collapse: collapse;
border: 1px solid #ddd;
}

#server_status .server {
color: #222;
}

#server_status .status {
text-align: center;
}

then save it close it.

open main.css and go to the bottom and press enter two time then paste this code

/* Server status */
.status
{
width: 190px;
padding-top: 25px;
margin-left: 245px;
float: left;
}
.online_count
{
width: 120px;
height: 50px;
margin-left: 99px;
text-align: center;
float: left;
color: #85a785;
font-size: 35px;
font-weight: bold;
padding: 30px 0 0 0px;
}
.login-stat
{
margin-left: 5px;
}
.char-stat
{
margin-left: 25px;
}
.map-stat
{
margin-left: 20px;
}
.time
{
float: left;
width: 145px;
padding: 22px 0 0 15px;
}
float:right;
}
.loginpanel
{
width: 230px;
height: 140px;
float: left;
}

then save it and close it.

sorry about any misspellings in this post.

  • Upvote 1
Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

Can't get this to work on my fluxcp 

Hoping for more clear Guide. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Do you have an actual Screenshot of what your FLUXCP looks like with this addon/design you've just released?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   1
  • Joined:  02/21/12
  • Last Seen:  

where i can find main.css ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

I just released it i don't have screemshot just trust me i know it works. Plus btw its a addon.

Do you have an actual Screenshot of what your FLUXCP looks like with this addon/design you've just released?

Open the FLUX CP Dir. in the theme folder open that, then the default folder, then you will see the css folder, you many have to make a main.css, or if its there, but the code at the bottom inside of the main.css file.

where i can find main.css ?

Edited by Yachiru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

Hey if you fine any issue with this addon please info me asap.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

help me how to remove this login box

23kyrs9.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

just edit the code a remove the login div in the css and in the php

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

wow really nice yachiru :) i love you php script.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

thank you very much sir i work really hard on it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  05/13/12
  • Last Seen:  

my css folder contains only flux.css, ie.css,recaptcha.css,untip.css

where I can get main.css ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  313
  • Reputation:   23
  • Joined:  12/27/11
  • Last Seen:  

Thx.nice one /lv

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

With this your going to have to make your own main.css, cause its custom and 3rd party, so flux cp will not have it.

Thank you

GM Helena Harper Momoe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

how about i have two map how can i add another online count status? :)

Link to comment
Share on other sites

×
×
  • Create New...