[Web]Cype Content Management System

  1. #1966
    Enthusiast Garbulewski is offline
    MemberRank
    Apr 2009 Join Date
    46Posts

    Re: Cype Content Management System

    Quote Originally Posted by Murawd View Post
    Post a screenshot of your config folder.



    I honestly have no clue.
    Here is the ss of my config folder
    Spoiler:

  2. #1967
    Account Upgraded | Title Enabled! Popozow1012 is offline
    MemberRank
    Jul 2008 Join Date
    Where it's nine in the afternoonLocation
    549Posts

    Re: Cype Content Management System

    love this man thanks

  3. #1968
    Account Upgraded | Title Enabled! steerclear is offline
    MemberRank
    Apr 2009 Join Date
    Upstate, NYLocation
    488Posts

    Re: Cype Content Management System

    Quote Originally Posted by Murawd View Post
    Post a screenshot of your config folder.



    I honestly have no clue.
    cant he get his own WZ?
    since its the same all-around

  4. #1969
    Enthusiast Garbulewski is offline
    MemberRank
    Apr 2009 Join Date
    46Posts

    Re: Cype Content Management System

    Quote Originally Posted by Murawd View Post
    Post a screenshot of your config folder.



    I honestly have no clue.
    Here is the ss of my config folder
    Spoiler:

  5. #1970
    Account Upgraded | Title Enabled! steerclear is offline
    MemberRank
    Apr 2009 Join Date
    Upstate, NYLocation
    488Posts

    Re: Cype Content Management System

    Quote Originally Posted by Garbulewski View Post
    Here is the ss of my config folder
    Spoiler:
    ok,. garb i will attempt to help you.
    i will not scroll up to see what you have posted so just reply with all the information.
    then ask your question

  6. #1971
    Enthusiast Garbulewski is offline
    MemberRank
    Apr 2009 Join Date
    46Posts

    Re: Cype Content Management System

    Quote Originally Posted by steerclear View Post
    ok,. garb i will attempt to help you.
    i will not scroll up to see what you have posted so just reply with all the information.
    then ask your question
    okay well... i finished the installation then when i go to my cype url it is all white, (it would be better to scroll up and read )

  7. #1972
    :) Horizon is offline
    MemberRank
    Jan 2009 Join Date
    Illinois, U.S.Location
    2,381Posts

    Re: Cype Content Management System

    Quote Originally Posted by Garbulewski View Post
    okay well... i finished the installation then when i go to my cype url it is all white, (it would be better to scroll up and read )
    Rename database.php to just database

  8. #1973
    Account Upgraded | Title Enabled! steerclear is offline
    MemberRank
    Apr 2009 Join Date
    Upstate, NYLocation
    488Posts

    Re: Cype Content Management System

    Quote Originally Posted by Garbulewski View Post
    okay well... i finished the installation then when i go to my cype url it is all white, (it would be better to scroll up and read )
    seems like he helped you out lol.





    @murad. could you help me with the server thing?

  9. #1974
    :) Horizon is offline
    MemberRank
    Jan 2009 Join Date
    Illinois, U.S.Location
    2,381Posts

    Re: Cype Content Management System

    Quote Originally Posted by steerclear View Post
    seems like he helped you out lol.

    @murad. could you help me with the server thing?
    Change

    $m = $pcap;

    to (Replace PLAYERCAP with your server player cap.)

    $m = PLAYERCAP;

  10. #1975
    Account Upgraded | Title Enabled! steerclear is offline
    MemberRank
    Apr 2009 Join Date
    Upstate, NYLocation
    488Posts

    Re: Cype Content Management System

    Quote Originally Posted by Garbulewski View Post
    okay well... i finished the installation then when i go to my cype url it is all white, (it would be better to scroll up and read )
    Quote Originally Posted by Murawd View Post
    Change

    $m = $pcap;

    to (Replace PLAYERCAP with your server player cap.)

    $m = PLAYERCAP;
    allright, the error was removed(THANKS)
    however, nothing shows up.
    i skimmed through the script but didnt see any directory
    however, i foun a statusbar.(shockwave) in the image folder.
    is that what it "refers" to?

  11. #1976
    :) Horizon is offline
    MemberRank
    Jan 2009 Join Date
    Illinois, U.S.Location
    2,381Posts

    Re: Cype Content Management System

    Quote Originally Posted by steerclear View Post
    allright, the error was removed(THANKS)
    however, nothing shows up.
    i skimmed through the script but didnt see any directory
    however, i foun a statusbar.(shockwave) in the image folder.
    is that what it "refers" to?
    Yes, it is.

  12. #1977
    Account Upgraded | Title Enabled! steerclear is offline
    MemberRank
    Apr 2009 Join Date
    Upstate, NYLocation
    488Posts

    Re: Cype Content Management System

    Quote Originally Posted by Murawd View Post
    Yes, it is.
    sorry if this is annoying, tried to get it for a while ><


    the serverbar.flash(shockwave or w.e.) is in my www\images

  13. #1978
    :) Horizon is offline
    MemberRank
    Jan 2009 Join Date
    Illinois, U.S.Location
    2,381Posts

    Re: Cype Content Management System

    Quote Originally Posted by steerclear View Post
    sorry if this is annoying, tried to get it for a while ><


    the serverbar.flash(shockwave or w.e.) is in my www\images
    Paste both of the scripts here.

  14. #1979
    Account Upgraded | Title Enabled! steerclear is offline
    MemberRank
    Apr 2009 Join Date
    Upstate, NYLocation
    488Posts

    Re: Cype Content Management System

    my config:
    PHP Code:
    <?php

    //SQL
    $host "localhost";
    $user "root";
    $pass "root";
    $schema "odinms";

    //Links
    $forum "forum";
    $files "http://games.on.net/file/22367/Maple_Story_Client_v6.2";
    $client "UntitledStory.exe";

    //Server
    $sitename "ValenceStory";
    $servername "ValenceStory";
    $sitebar "Welcome to ValenceStory!";
    $color "blue";
    $version "62";
    $exprate "65";
    $mesorate "25";
    $droprate "3";

    //server status
    $loginport "7575";
    $worldport "8484";
    $m "100";

    //Connect
    $connect mysql_connect($host,$user,$pass);
    $db mysql_select_db($schema$connect) or die(mysql_error());

    //Data
    $accounts mysql_num_rows(mysql_query("SELECT * FROM accounts"));
    $characters mysql_num_rows(mysql_query("SELECT * FROM characters where gm = 0"));
    $gms mysql_num_rows(mysql_query("SELECT * FROM characters where gm > 1"));
    $guilds mysql_num_rows(mysql_query("SELECT * FROM guilds"));
    $banned mysql_num_rows(mysql_query("SELECT * FROM accounts where banned = 1"));
    $online mysql_num_rows(mysql_query("SELECT * FROM accounts where loggedin = 2"));

    function 
    getname(){
        
    $a mysql_query("SELECT * FROM `skeer_name` WHERE `id`='".$_SESSION['id']."'");
        
    $b mysql_fetch_array($a);
        return 
    $b['name'];
    }

    function 
    getadmin(){
        
    $a mysql_query("SELECT * FROM `characters` WHERE `accountid`='".$_SESSION['id']."'") or die(mysql_error());
        
    $b mysql_fetch_array($a);
        if(
    $_SESSION['id']) {
            if (
    $b['gm'] > 2) {
                return 
    true;
                } else {                
                    return 
    false;
                }
        } else {
            return 
    false;
        }
    }
    ?>
    (btw hamachi for testing xD)

    statusbar.php:
    Code:
    <?php 
    /*
        Copyright (C) 2008 Murad H. <murad8@live.com>
    */
    
    // Original Author: Indounit
    // Modified by: Cype Developments
    
    $m = 100;
    $p = mysql_num_rows(mysql_query("SELECT * FROM accounts where loggedin = 2"));
    $t = "by IndoUnit";
    $fp = @fsockopen($serverip, $worldport, $errno, $errstr, 1);
    if (!$fp) {
    $t = "Server%20Offline";
    $bgcolor = "#8c0101";
    }else{
    $t = "Server%20Online";
    $bgcolor="#037708";
    }
    @fclose($fp);
    
    echo "
    <tr>
    	<td colspan='2' align='center' class='regtext' style='background-color:".$bgcolor.";'>
    		<script type=\"text/javascript\">ItsIanFlash('".$t."', '".$p."', '".$m."', '".$bgcolor."');</script>
    	</td>
    </tr>";
    
    ?>
    forums.php
    [code]
    <?php
    include("top.php");
    ?>
    <?php
    include("statusbar.php");
    ?>
    [/php]

  15. #1980
    Enthusiast micromick is offline
    MemberRank
    Jun 2008 Join Date
    28Posts

    Re: Cype Content Management System

    plz how to add reborn columns to my ranking ?



Advertisement