Jump to content
MakeWebGames

Recommended Posts

Posted

This is my first free "mod", if you can call it that. I've come up with an idea a while back for a less scrollable in game "layout" as i don't like to scroll too much on pages. So why not basicly removing the header image to save up a little space?

(This mod won't suit your needs if you use mcc regular style, with the bars next to your logo image)

so here it goes...

On the preferences.php add the following code...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add the following SQL to users table

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now on header.php (where you have your top image showing, add something along these lines.

You need to edit this bit to suit your needs

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

A working mod can be seen here using "Black Layout"

Guest Sniko`
Posted

Re: Small mod to header [any version]

Nice one ill +1 you, Althought next time you post code please use the code tages as it helps users read it

Posted

Re: Small mod to header [any version]

 

+1 I Used It But I Changed It To Work With Showing My Game Icons.

That is the point indeed :) every setup needs to suit the needs to whoever applies it ;)

Posted

Re: Small mod to header [any version]

nice mod but

if ($ir['header_show'] == "Yes")

{

?>

yourlogoimage.png

<?php

}

could be

if ($ir['header_show'] == "Yes")

{

echo '

yourlogoimage.png';

}

  • 5 months later...
Posted
This is my first free "mod", if you can call it that. I've come up with an idea a while back for a less scrollable in game "layout" as i don't like to scroll too much on pages. So why not basicly removing the header image to save up a little space?

(This mod won't suit your needs if you use mcc regular style, with the bars next to your logo image)

so here it goes...

On the preferences.php add the following code...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add the following SQL to users table

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now on header.php (where you have your top image showing, add something along these lines.

You need to edit this bit to suit your needs

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

A working mod can be seen here using "Black Layout"

Your Game Wouldn't Let Me Log In After Registering....Kept Saying Error For Some Reason,That It Didn't Say

Guest georgelink
Posted

do you have the layout on sale? :P its really stunning i like it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...