Jump to content

Gerome

Members
  • Posts

    185
  • Joined

  • Last visited

Everything posted by Gerome

  1. you mean every time you transfer Credits to any character ? i think the level doesn't changed.. (did you mean the Gm level w/c is now group_id ?)
  2. it depends, if i have php tags php format should be use. just a simple margin: 0 auto; width: 1024px; height: 768px; and you cannot just set the margins to auto without specifying the width of the block. The method above is the standard technique for centering a DIV block using standards-compliant CSS. With this, you can center your blocks without using deprecated HTML tags like <center>. same above.. margin: 0 auto; width: 1024px; height: 768px;
  3. all you need is just a simple query. make a file, name it count_player.php <?php $host = 'localhost'; $username = 'username'; // Your Mysql Username $password = 'password'; // Your Mysql Password $db = 'ragnarok'; // Database name $link = mysql_connect($host, $username, $password) or die(mysql_error()); @mysql_select_db($db,$link); $query = 'SELECT COUNT(char_id) AS players_online FROM `char` WHERE online > 0'; $result = mysql_query($query,$link); mysql_close($link); $arr = mysql_fetch_array($result); $players_online = $arr['players_online']; ?> <p><?php echo $players_online; ?></p> on your header just put this line of code <?php include('count_player.php'); ?>
  4. ok.. Flux CP menu actually must have categories base on getMenuItems() function.. correct me if i'am wrong.. as you can see in application.php the menu format looks like this 'MenuItems' => array( 'Main Menu' => array( // Category of the menu 'Home' => array('module' => 'main'), 'Forums' => array('exturl' => 'http://www.fluxro.com/community'), ), ) w/c you must add a category.. so you can't do like this. 'MenuItems' => array( 'Main Menu' => array( 'module' => 'main, 'action' => 'index, ), There are 2 solutions to your problem one is rewrite getMenuItems() function w/c is not really remommended. 2nd use plain Html in your designno2/main/sidebar.php add this line of code <li><a href="#">Server Information</a></li> after.. <?php endif ?> <?php endforeach ?> so your designno2/main/sidebar.php look like this <?php if (!defined('FLUX_ROOT')) exit; $menuItems = $this->getMenuItems(); ?> <ul class="sf-menu" > <?php if (!empty($menuItems)): ?> <?php foreach ($menuItems as $menuCategory => $menus): ?> <?php if (!empty($menus)): ?> <li><a href="#"><?php echo htmlspecialchars($menuCategory) ?></a> <ul> <?php foreach ($menus as $menuItem): ?> <li> <a href="<?php echo $menuItem['url'] ?>"<?php if ($menuItem['module'] == 'account' && $menuItem['action'] == 'logout') echo ' onclick="return confirm(\'Are you sure you want to logout?\')"' ?>> <?php echo htmlspecialchars($menuItem['name']) ?> </a> </li> <?php endforeach ?> </ul> </li> <?php endif ?> <?php endforeach ?> <li><a href="#">Forum</a></li> <?php endif ?> </ul>
  5. Version 1.0

    1479 downloads

    Author/Creator: Gerome General Information: PSD and Fonts Included.
    Free
  6. did you added the gva sprite in "sprite/¾Ç¼¼»ç¸®/¿©/" and "sprite/¾Ç¼¼»ç¸®/³²/" ?
  7. Version 1.0

    1045 downloads

    PSD and Font Included,
    Free
  8. SInce its Sunday.. http://www.youtube.com/watch?v=4WBZwLkvpFI
  9. i Think Jaypees Vote4Points have that one..http://rathena.org/board/files/file/2344-fluxcp-addon-vote-for-points/
  10. Working on Flux Themes Design no 4...

  11. Nice.. i like all you Works.. Ive find it Clean and hmmm..Sexy.. two thumbs up! /no I'll give you 9/10
  12. Try to see your map_server console if theres an error..
  13. Make sure youve configured correctly your Flux CP .. Open config/application.php and configured it.
  14. I've got no Problem.. Thanks Jaypee.. if youre using another Flux Themes. make sure to rename the "addons/voteforpoints/themes/default" to" addons/voteforpoints/themes/<yourfluxtheme>"
  15. Use Harmony.. https://harmonize.it/ .. if you dont have yet Money used Mine its Free.. but still in beta..
  16. @makemefamous Extract voteforpoints.rar to your "fluxcp/addons" folder
×
×
  • Create New...