Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Playing with NO Frames

Status
Not open for further replies.

byo

Newbie Spellweaver
Joined
Mar 18, 2004
Messages
81
Reaction score
0
I read some days ago that 1 guy wanna get rid of the nasty frames.
Well ... i did this thing, is not the perfect solution, but it work nicely.
So, as usual, u will do this by yourself:


Open includes/functions.php.
- Search for:
Code:
	$DisplayPage .= "<center>\n". $page ."\n</center>\n";

Replace with:
Code:
	if(!$AdminPage AND !$InLogin){
		$DisplayPage .='
		<br />
		<center>
		<div style="width:90%;">
			<div style="float:left; margin-right:25px;">' . $Menu . '</div>
			<div style="float:left; width: 600px;">' . $page . '</div>
		</div>
		</center>
		';
	}else{
		$DisplayPage .= "<center>\n". $page ."\n</center>\n";
	}

Inside the same function (ya, u r on a function called "display"), on the line 88, or near, search for:
Code:
global $link, $game_config, $debug, $user, $planetrow;

Replace with:
Code:
	global $link, $ugamela_root_path, $InLogin, $game_config, $debug, $user, $planetrow;
	
	include($ugamela_root_path . "leftmenu.php");
	$Menu = ShowLeftMenu ( $user['authlevel'] );

Open "login.php":
Find
Code:
header("Location: ./frames.php");
Replace with:
Code:
header("Location: ./overview.php");

Well .. we r not done yet:

Download the attached file "leftmenu.php", and paste it on your server.
It has a few lines disabled, but its more easy that edit 1 by 1.


If u have any problem with this, comment here.
 

Attachments

You must be registered for see attachments list
Joined
Jan 1, 2009
Messages
384
Reaction score
20
dont think it works, i wont test it, if you say it dose, i believe you and congrats you ;)
 
Joined
Oct 7, 2010
Messages
1
Reaction score
0
help me.....my game...
Light Fight to connect game
the leftmenu.php don't display
i use Xnova vesion 8.0 Xnova 8.0 Sp1 (Full English Translation) repack
Help Me....

or here
thank
pS: my English is not good

Please do not advertise.
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top