mirivlad
-
Content Count
7 -
Joined
-
Last visited
-
Days Won
1
Posts posted by mirivlad
-
-
Thank you! It works good now!
Last question, where can I change the color font and the background? (About this message)
in css stylesheet your theme - class - message.
.message{background-color: #faa;color: #222;}
Alexandria reacted to this -
Messages generated in modules and store in session. This code output this is messages^
<!-- Messages --> <?php if ($message=$session->getMessage()): ?> <p class="message"><?php echo htmlspecialchars($message) ?></p> <?php endif ?>
You can put this code in any field your tempate.
Thank you for answering. But in what file do you want me in insert that code?
You can put any file in your template. But if i understand - you want to get the same result as in the default theme. Then yoy put this code in index.php or any other file that the theme is based on a template and always displayed. In default theme is a file - themes/default/header.php
Alexandria reacted to this -
Messages generated in modules and store in session. This code output this is messages^
<!-- Messages --> <?php if ($message=$session->getMessage()): ?> <p class="message"><?php echo htmlspecialchars($message) ?></p> <?php endif ?>
You can put this code in any field your tempate.
Alexandria reacted to this -
Hi all! Please, help to understand what data is stored in fields `count1`-`count3` of the table quest?
And field `time` - it's when quest start? Do I understand correctly?
CREATE TABLE IF NOT EXISTS `quest` (`char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',`quest_id` INT(10) UNSIGNED NOT NULL,`state` ENUM('0','1','2') NOT NULL DEFAULT '0',`time` INT(11) UNSIGNED NOT NULL DEFAULT '0',`count1` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',`count2` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',`count3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',PRIMARY KEY (`char_id`,`quest_id`)) ENGINE=MyISAM;
Bug when teleporting or changing a map
in Source Support
Posted
May be it's server lag? What hardware your server? Use MySQL? What speed internet connection on server and client PC?