Hello guys today i tryed to add a online server status on my ipb forum theme to be exactly inside the boardIndexTemplate and its working but i have some problems, let me show you what i am talking about:
Well the server status working as you see but i added it in the Server Status box and he goes automaticly out from the theme template top left. Why? What i am doing wrong?
The code looks like that:
Gameserver:<php>$server="my ip address";$port="my port";$socket=@fsockopen($server,$port);if($socket==true){echo " Game: Online";}else{echo " Game: Offine";}</php>Login:<php>$server="my ip address";$port="my port";$socket=@fsockopen($server,$port);if($socket==true){echo " Login: Online";}else{echo " Login: Offine";}</php>
I am looking forword for any solutions. Thanks guys.
Question
Guest Yeezus
Hello guys today i tryed to add a online server status on my ipb forum theme to be exactly inside the boardIndexTemplate and its working but i have some problems, let me show you what i am talking about:
Well the server status working as you see but i added it in the Server Status box and he goes automaticly out from the theme template top left. Why? What i am doing wrong?
The code looks like that:
Gameserver:<php>$server="my ip address";$port="my port";$socket=@fsockopen($server,$port);if($socket==true){echo " Game: Online";}else{echo " Game: Offine";}</php>Login:<php>$server="my ip address";$port="my port";$socket=@fsockopen($server,$port);if($socket==true){echo " Login: Online";}else{echo " Login: Offine";}</php>I am looking forword for any solutions. Thanks guys.
P.S: Help me
Edited by YeezusLink to comment
Share on other sites
3 answers to this question
Recommended Posts