Jump to content
MakeWebGames

Recommended Posts

Posted

ok from reading the forum i have relised that someything similer has been done but hey i though mines different so i though i would post it here for you guys to mess around with or something. it is based on the default mccodes codes.

This mod makes it easier to change th styles of the header like colour, table colours, stat names and messages in and aroundthe header

it has been tested and works, i know its very very basic but it is one of my first done by me without help so +1s would be nice,

thanks

staff.php

You're unable to view this code.

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

 

header.php

You're unable to view this code.

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

 

[mysql]-- --------------------------------------------------------

--

-- Table structure for table `settings`

--

CREATE TABLE IF NOT EXISTS `settings` (

`conf_id` int(11) NOT NULL auto_increment,

`conf_name` varchar(255) NOT NULL default '',

`conf_value` text NOT NULL,

PRIMARY KEY (`conf_id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=40 ;

-- --------------------------------------------------------

--

-- Dumping data for table `settings`

--

INSERT INTO `settings` (`conf_id`, `conf_name`, `conf_value`) VALUES

(17, 'energyname', 'Energy'),

(18, 'willname', 'Will'),

(19, 'expname', 'EXP'),

(20, 'healthname', 'Health'),

(21, 'bravename', 'Brave'),

(22, 'menucolor', '#000000'),

(23, 'bkcolor', '#000000'),

(24, 'nonlinkcolor', 'blue'),

(25, 'linkcolor', 'red'),

(26, 'textboxcolor', 'black'),

(27, 'bkcolor1', '#000000'),

(28, 'headerpic', 'title.jpg'),

(29, 'clockcolor', 'blue'),

(30, 'linksize', '12'),

(31, 'textfont', 'arial'),

(32, 'tableborder', '#000000'),

(33, 'tablebackground', '#dedede'),

(34, 'intro_description', 'message here'),

(35, 'intro_color', 'green'),

(36, 'todaymessage', 'welcomeon'),

(37, 'todaymessagecolor', 'green'),

(38, 'todaymessagesize', '4');

[/mysql]

Posted

Care to elaborate on the function(s) of this modification?

it makes the header more custom so it can be updated with the colours etc from the staff panel so you dont have to keep going into the cpanel all the time to change the style of the game and you can update the welcome messages and the intro from the staff panel aswell
Posted
ividen can you fix this so its not green in game and we can change cololrs in staff panel?or can someone fix this!?

hi, yh i cant do that sorry, i tried doing that myself, it does work fine in mozilla firefox but i cant seem to get it to work right in Internet Explorer.

Posted

Well maybe you can search google for an IE fix? Cuz we all know Mozilla is the superior browser, but people still use internet explorer. If you want to increase your game member size, you'll want to use this mod with an IE fix.

Posted

Warning: Division by zero in /mnt/w0810/d07/s00/b031023b/www/game.com/header.php on line 138

any one know why ihave that at the top and i changed all the colors but icant get the middle of the game from Green ?

Posted
Warning: Division by zero in /mnt/w0810/d07/s00/b031023b/www/game.com/header.php on line 138

any one know why i have that at the top and i changed all the colors but i cant get the middle of the game from Green ?

can any one help me why i am getting that error on the top of the header i hate to remove this mod off my game i kinda like this mod don't to remove it

Posted
can any one help me why i am getting that error on the top of the header i hate to remove this mod off my game i kinda like this mod don't to remove it

You're unable to view this code.

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

  • 8 months later...
Posted

wow, my old account and my old mod

wow looking thro the forums is fun, especially when u find old accounts like this one, and this mod, well i remember making this mod, tho its alot more complexed now, i might upload the newer version of this if anyone wants 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...