Problem with connection script ranking with status

Results 1 to 6 of 6
  1. #1
    Registered Tommyi is offline
    MemberRank
    Jun 2018 Join Date
    /home/TommyiLocation
    12Posts

    Problem with connection script ranking with status

    Hello guys :)

    I have problem with connection i think ,cuz i don't see players in my ranking .....

    All setting is correct SQL><SCRIPT i mean username,password etc.

    I use one of release "Normal Ranking With Status".

    Ranking from Beshoy is working fine.

    If anyone can help me, I will be grateful.
    Old Hanin Project
    http://kalonline.hopto.org
    Comming Soon...


  2. #2
    Fusion Kal Reloaded V2 ItsTaP is offline
    True MemberRank
    Feb 2013 Join Date
    EgyptLocation
    398Posts

    Re: Problem with connection script ranking with status

    So you mean that the Ranking comes with Beshoy Scripts is working fine so why you don't use it instead ?

    Check also that your players are having 0 in Admin roles in the db.


  3. #3
    Registered Tommyi is offline
    MemberRank
    Jun 2018 Join Date
    /home/TommyiLocation
    12Posts

    Re: Problem with connection script ranking with status

    Quote Originally Posted by ItsTaP View Post
    So you mean that the Ranking comes with Beshoy Scripts is working fine so why you don't use it instead ?

    Check also that your players are having 0 in Admin roles in the db.
    "Normal Ranking With Status" is more easy for me i mean when i edit :P

    And anyway i need ranking with top3 ^^

    - - - Updated - - -

    I need line to include ind dns php ODBC Driver username,pass,server etc but i can't find correctly -.-
    Old Hanin Project
    http://kalonline.hopto.org
    Comming Soon...

  4. #4
    Fusion Kal Reloaded V2 ItsTaP is offline
    True MemberRank
    Feb 2013 Join Date
    EgyptLocation
    398Posts

    Re: Problem with connection script ranking with status

    create a .php file call it dbconnect.php and add the following code in it. Don't forget to replace the stuff in the code with yours.

    PHP Code:
    <?php
    $connect 
    mssql_connect("Replace it with yours\SQLEXPRESS","User (sa) by default","PW");
    mssql_select_db('php'$connect);
    ?>
    Then go to your php pages and add this code in it.

    PHP Code:
    <?php
      $config 
    = array(
        
    'db_username' => 'sa'// database username
        
    'db_password' => '',   // database password
        
    'db_dsn'      => 'Driver={SQL Server};Server=Add yours\SQLEXPRESS;Database=kal_db;',   

        
    'debug'       => 'false',               // show SQL errors if true
    );




            
    $conn odbc_connect($config['db_dsn'],
                                 
    $config['db_username'],
                                 
    $config['db_password']);
    ?>
    Hope i helped you <3

    Kind Regards,
    ItsTaP


  5. #5
    Registered Tommyi is offline
    MemberRank
    Jun 2018 Join Date
    /home/TommyiLocation
    12Posts

    Re: Problem with connection script ranking with status

    Quote Originally Posted by ItsTaP View Post
    create a .php file call it dbconnect.php and add the following code in it. Don't forget to replace the stuff in the code with yours.

    PHP Code:
    <?php
    $connect 
    mssql_connect("Replace it with yours\SQLEXPRESS","User (sa) by default","PW");
    mssql_select_db('php'$connect);
    ?>
    Then go to your php pages and add this code in it.

    PHP Code:
    <?php
      $config 
    = array(
        
    'db_username' => 'sa'// database username
        
    'db_password' => '',   // database password
        
    'db_dsn'      => 'Driver={SQL Server};Server=Add yours\SQLEXPRESS;Database=kal_db;',   

        
    'debug'       => 'false',               // show SQL errors if true
    );




            
    $conn odbc_connect($config['db_dsn'],
                                 
    $config['db_username'],
                                 
    $config['db_password']);
    ?>
    Hope i helped you <3

    Kind Regards,
    ItsTaP
    Thanks alot ! Working fine <3

    Old KalOnline
    Last edited by Tommyi; 3 Days Ago at 08:13 PM.
    Old Hanin Project
    http://kalonline.hopto.org
    Comming Soon...

  6. #6
    Member luizatena95 is online now
    MemberRank
    May 2018 Join Date
    54Posts

    Re: Problem with connection script ranking with status

    Dont forget
    Like = Thanks!



Advertisement