Celes
Members-
Posts
2 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Celes's Achievements
Poring (1/15)
0
Reputation
-
Thanks. Can you point me into the right direction to properly include it? I've tried adding this in header and footer php: <?php include ($_SERVER['DOCUMENT_ROOT']."/themes/new/server/status.php"); ?> But still gives undefined error on all pages except module=server&action=status page (on that specific page it shows at the side). But I'd like for it to show on every page. Sorry, php newbie here. ?
-
Hi rAthena. ? I've been messing around with customizing a web-template and things went pretty flawless at first but now I've come to a point were I'm stuck. The thing is I've made a player online and peak player section on the right side of the template including a div and css element belonging to it, but I'm unable to actually make the online count (from status.php) display in the part of my custom code. Here is the image: And here my div element: <div class="onlineplayers"> </div> <div class="onlinepeak"> </div> I've tried to put <?php echo $gameServer['playersOnline'] ?> and <?php echo $gameServer['playersPeak'] ?> but it returns an error that $gameServer isn't being defined, however when I go to the original '/?module=server&action=status' link it works fine. Could anyone be so kind to help? I'm sure I'm missing some very important step. Thanks a lot.