• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [Web] [Web] como colocar url a gesior

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1default [Web] [Web] como colocar url a gesior Mar Mar 30, 2021 4:24 pm

    poncex

    poncex
    Miembro
    Miembro
    Descripcion escribió:hola, quisiera saber como colocar una url a mi pagina de gesior, ya solo puedo entrar con localhost como url
    Captura del Error escribió:Imagen del error: [Web] [Web] como colocar url a gesior Empty
    El error radica en: WEB

    3 participantes

    gideonsit

    gideonsit
    Miembro
    Miembro
    y el codigo bro

    3 participantes

    poncex

    poncex
    Miembro
    Miembro
    Spoiler:
    <?PHP
    if ( ! function_exists('is_https'))
    {
       function is_https()
       {
           if ( ! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off')
           {
               return TRUE;
           }
           elseif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) === 'https')
           {
               return TRUE;
           }
           elseif ( ! empty($_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off')
           {
               return TRUE;
           }

           return FALSE;
       }
    }

    $is_https = is_https();

    if ($is_https) {
       $base_url = "https://" . $_SERVER['HTTP_HOST'];
       $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
    } else {
       $base_url = "http://" . $_SERVER['HTTP_HOST'];
       $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
    }

    $config['base_url'] = $base_url;
    $config['site']['base_url'] = $base_url;

    # Info Bar Config
    $config['site']['info_bar_active'] = true;

    # Using Ajax Field Validation, this is important if you want to use ajax check in your create account.
    $config['site']['sqlHost'] = "localhost";
    $config['site']['sqlUser'] = "root";
    $config['site']['sqlPass'] = "";
    $config['site']['sqlBD'] = "";

    # Config Shop
    $outfits_list = array();
    $loyalty_title = array(
       50 => 'Scout',
       100 => 'Sentinel',
       200 => 'Steward',
       400 => 'Warden',
       1000 => 'Squire',
       2000 => 'Warrior',
       3000 => 'Keeper',
       4000 => 'Guardian',
       5000 => 'Sage
    ');
    $config['shop']['newitemdays'] = 1;

    # Configure your active payment method with this
    $config['paymentsMethods'] = [
       'pagseguro' => false,
       'paypal' => true,
       'transfer' => false
    ];

    # Pagseguro configs
    $config['pagseguro']['testing'] = true;
    $config['pagseguro']['lightbox'] = true;
    $config['pagseguro']['tokentest'] = "";

    $config['pagseguro']['email'] = "";
    $config['pagseguro']['token'] = "";
    $config['pagseguro']['produtoNome'] = 'Tibia Coins';
    $config['pagseguro']['urlRedirect'] =  $config['base_url'];
    $config['pagseguro']['urlNotification'] = $config['base_url'].'retpagseguro.php';
    $config['donate']['offers'] = [
       500=>50,
       800=>125,
       1500=>250,
       2800=>500,
       4900=>1000
    ];

    # Bank transfer data
    $config['banktransfer']['bank'] = "Caixa Econômica";
    $config['banktransfer']['agency'] = "";
    $config['banktransfer']['account'] = "";
    $config['banktransfer']['name'] = "";
    $config['banktransfer']['operation'] = 003;

    # PayPal configs
    $config['paypal']['email'] = "";

    # Social Networks
    $config['social']['facebook'] = "https://www.facebook.com/tibia";
    $config['social']['discord'] = "";

    # Character Former name, time in days to show the former names
    $config['site']['formerNames'] = 10;
    $config['site']['formerNames_amount'] = 10;

    # PAGE: characters.php
    $config['site']['quests'] = array(
       "Demon Helmet" => 2213,
       "In Service of Yalahar" => 12279,
       "Pits Of Inferno" => 10544,
       "The Ancient Tombs" => 50220,
       "The Annihilator" => 2215,
       "The Demon Oak" => 1010,
       "Wrath Of The Emperor" => 12374
    );

    # PAGE: whoisonline.php
    $config['site']['private-servlist.com_server_id'] = 0;

    # Account Maker Config
    $config['site']['serverPath'] = "C:/Users/Necroshadow/Desktop/baiak 12.00/";
    $config['site']['encryptionType'] = 'sha1';
    $config['site']['useServerConfigCache'] = false;
    $towns_list = array(
    1 => 'Venore',
    2 => 'Thais',
    3 => 'Kazordoon',
    4 => 'Carlin',
    5 => 'Ab\'Dendriel',
    6 => 'Rookgaard',
    7 => 'Liberty Bay',
    8 => 'Port Hope',
    9 => 'Ankrahmun',
    10 => 'Darashia',
    11 => 'Edron',
    12 => 'Svargrond',
    13 => 'Yalahar',
    14 => 'Farmine',
    28 => 'Gray Beach',
    29 => 'Roshamuul',
    33 => 'Rathleton',
    34 => 'Krailos',
    51 => 'Dawnport',
    52 => 'Feyrist'
    );

    # Create Account Options
    $config['site']['one_email'] = true;
    $config['site']['create_account_verify_mail'] = false;
    $config['site']['verify_code'] = true;
    $config['site']['email_days_to_change'] = 3;
    $config['site']['newaccount_premdays'] = 0;
    $config['site']['send_register_email'] = true;
    $config['site']['flash_client_enabled'] = false;

    # Create Character Options
    $config['site']['newchar_vocations'] = array(0 => 'Rook Sample');
    $config['site']['newchar_towns'] = array(1);
    $config['site']['max_players_per_account'] = 7;

    # Emails Config
    $config['site']['send_emails'] = true;
    $config['site']['mail_address'] = "";
    $config['site']['mail_senderName'] = "";
    $config['site']['smtp_enabled'] = true;
    $config['site']['smtp_host'] = "ssl://smtp.gmail.com";
    $config['site']['smtp_port'] = 465;
    $config['site']['smtp_auth'] = true;
    $config['site']['smtp_user'] = "";
    $config['site']['smtp_pass'] = "";
    $config['site']['smtp_secure'] = true;

    # PAGE: accountmanagement.php
    $config['site']['send_mail_when_change_password'] = true;
    $config['site']['send_mail_when_generate_reckey'] = true;
    $config['site']['email_time_change'] = 7;
    $config['site']['daystodelete'] = 7;

    # PAGE: guilds.php
    $config['site']['guild_need_level'] = 150;
    $config['site']['guild_need_pacc'] = false;
    $config['site']['guild_image_size_kb'] = 50;
    $config['site']['guild_description_chars_limit'] = 2000;
    $config['site']['guild_description_lines_limit'] = 6;
    $config['site']['guild_motd_chars_limit'] = 250;

    # PAGE: adminpanel.php
    $config['site']['access_admin_panel'] = 6;

    # PAGE: latestnews.php
    $config['site']['news_limit'] = 6;

    # PAGE: killstatistics.php
    $config['site']['last_deaths_limit'] = 40;

    # PAGE: team.php
    $config['site']['groups_support'] = array(2, 3, 4, 5);

    # PAGE: highscores.php
    $config['site']['groups_hidden'] = array(3, 4, 5);
    $config['site']['accounts_hidden'] = array(1);

    # PAGE: lostaccount.php
    $config['site']['email_lai_sec_interval'] = 180;

    # Layout Config
    $config['site']['layout'] = 'tibiacom';
    $config['site']['vdarkborder'] = '#505050';
    $config['site']['darkborder'] = '#D4C0A1';
    $config['site']['lightborder'] = '#F1E0C6';

    3 participantes

    gideonsit

    gideonsit
    Miembro
    Miembro
    [Tienes que estar registrado y conectado para ver este vínculo] escribió:
    Spoiler:
    <?PHP
    if ( ! function_exists('is_https'))
    {
       function is_https()
       {
           if ( ! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off')
           {
               return TRUE;
           }
           elseif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) === 'https')
           {
               return TRUE;
           }
           elseif ( ! empty($_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off')
           {
               return TRUE;
           }

           return FALSE;
       }
    }

    $is_https = is_https();

    if ($is_https) {
       $base_url = "https://" . $_SERVER['HTTP_HOST'];
       $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
    } else {
       $base_url = "http://" . $_SERVER['HTTP_HOST'];
       $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
    }

    $config['base_url'] = $base_url;
    $config['site']['base_url'] = $base_url;

    # Info Bar Config
    $config['site']['info_bar_active'] = true;

    # Using Ajax Field Validation, this is important if you want to use ajax check in your create account.
    $config['site']['sqlHost'] = "localhost";
    $config['site']['sqlUser'] = "root";
    $config['site']['sqlPass'] = "";
    $config['site']['sqlBD'] = "";

    # Config Shop
    $outfits_list = array();
    $loyalty_title = array(
       50 => 'Scout',
       100 => 'Sentinel',
       200 => 'Steward',
       400 => 'Warden',
       1000 => 'Squire',
       2000 => 'Warrior',
       3000 => 'Keeper',
       4000 => 'Guardian',
       5000 => 'Sage
    ');
    $config['shop']['newitemdays'] = 1;

    # Configure your active payment method with this
    $config['paymentsMethods'] = [
       'pagseguro' => false,
       'paypal' => true,
       'transfer' => false
    ];

    # Pagseguro configs
    $config['pagseguro']['testing'] = true;
    $config['pagseguro']['lightbox'] = true;
    $config['pagseguro']['tokentest'] = "";

    $config['pagseguro']['email'] = "";
    $config['pagseguro']['token'] = "";
    $config['pagseguro']['produtoNome'] = 'Tibia Coins';
    $config['pagseguro']['urlRedirect'] =  $config['base_url'];
    $config['pagseguro']['urlNotification'] = $config['base_url'].'retpagseguro.php';
    $config['donate']['offers'] = [
       500=>50,
       800=>125,
       1500=>250,
       2800=>500,
       4900=>1000
    ];

    # Bank transfer data
    $config['banktransfer']['bank'] = "Caixa Econômica";
    $config['banktransfer']['agency'] = "";
    $config['banktransfer']['account'] = "";
    $config['banktransfer']['name'] = "";
    $config['banktransfer']['operation'] = 003;

    # PayPal configs
    $config['paypal']['email'] = "";

    # Social Networks
    $config['social']['facebook'] = "https://www.facebook.com/tibia";
    $config['social']['discord'] = "";

    # Character Former name, time in days to show the former names
    $config['site']['formerNames'] = 10;
    $config['site']['formerNames_amount'] = 10;

    # PAGE: characters.php
    $config['site']['quests'] = array(
       "Demon Helmet" => 2213,
       "In Service of Yalahar" => 12279,
       "Pits Of Inferno" => 10544,
       "The Ancient Tombs" => 50220,
       "The Annihilator" => 2215,
       "The Demon Oak" => 1010,
       "Wrath Of The Emperor" => 12374
    );

    # PAGE: whoisonline.php
    $config['site']['private-servlist.com_server_id'] = 0;

    # Account Maker Config
    $config['site']['serverPath'] = "C:/Users/Necroshadow/Desktop/baiak 12.00/";
    $config['site']['encryptionType'] = 'sha1';
    $config['site']['useServerConfigCache'] = false;
    $towns_list = array(
    1 => 'Venore',
    2 => 'Thais',
    3 => 'Kazordoon',
    4 => 'Carlin',
    5 => 'Ab\'Dendriel',
    6 => 'Rookgaard',
    7 => 'Liberty Bay',
    8 => 'Port Hope',
    9 => 'Ankrahmun',
    10 => 'Darashia',
    11 => 'Edron',
    12 => 'Svargrond',
    13 => 'Yalahar',
    14 => 'Farmine',
    28 => 'Gray Beach',
    29 => 'Roshamuul',
    33 => 'Rathleton',
    34 => 'Krailos',
    51 => 'Dawnport',
    52 => 'Feyrist'
    );

    # Create Account Options
    $config['site']['one_email'] = true;
    $config['site']['create_account_verify_mail'] = false;
    $config['site']['verify_code'] = true;
    $config['site']['email_days_to_change'] = 3;
    $config['site']['newaccount_premdays'] = 0;
    $config['site']['send_register_email'] = true;
    $config['site']['flash_client_enabled'] = false;

    # Create Character Options
    $config['site']['newchar_vocations'] = array(0 => 'Rook Sample');
    $config['site']['newchar_towns'] = array(1);
    $config['site']['max_players_per_account'] = 7;

    # Emails Config
    $config['site']['send_emails'] = true;
    $config['site']['mail_address'] = "";
    $config['site']['mail_senderName'] = "";
    $config['site']['smtp_enabled'] = true;
    $config['site']['smtp_host'] = "ssl://smtp.gmail.com";
    $config['site']['smtp_port'] = 465;
    $config['site']['smtp_auth'] = true;
    $config['site']['smtp_user'] = "";
    $config['site']['smtp_pass'] = "";
    $config['site']['smtp_secure'] = true;

    # PAGE: accountmanagement.php
    $config['site']['send_mail_when_change_password'] = true;
    $config['site']['send_mail_when_generate_reckey'] = true;
    $config['site']['email_time_change'] = 7;
    $config['site']['daystodelete'] = 7;

    # PAGE: guilds.php
    $config['site']['guild_need_level'] = 150;
    $config['site']['guild_need_pacc'] = false;
    $config['site']['guild_image_size_kb'] = 50;
    $config['site']['guild_description_chars_limit'] = 2000;
    $config['site']['guild_description_lines_limit'] = 6;
    $config['site']['guild_motd_chars_limit'] = 250;

    # PAGE: adminpanel.php
    $config['site']['access_admin_panel'] = 6;

    # PAGE: latestnews.php
    $config['site']['news_limit'] = 6;

    # PAGE: killstatistics.php
    $config['site']['last_deaths_limit'] = 40;

    # PAGE: team.php
    $config['site']['groups_support'] = array(2, 3, 4, 5);

    # PAGE: highscores.php
    $config['site']['groups_hidden'] = array(3, 4, 5);
    $config['site']['accounts_hidden'] = array(1);

    # PAGE: lostaccount.php
    $config['site']['email_lai_sec_interval'] = 180;

    # Layout Config
    $config['site']['layout'] = 'tibiacom';
    $config['site']['vdarkborder'] = '#505050';
    $config['site']['darkborder'] = '#D4C0A1';
    $config['site']['lightborder'] = '#F1E0C6';


    MODIFICA ESTAS LINEAS

    Código:
    $config['site']['sqlHost'] = "localhost";
    $config['site']['sqlUser'] = "root";
    $config['site']['sqlPass'] = "2247482";
    $config['site']['sqlBD'] = "bancodoserver";


    Código:
    # Account Maker Config
    $config['site']['serverPath'] = "/C:/Users/MOHAMED/Desktop/SERVER DATABASE/otxserver-new-master/";
    $config['site']['encryptionType'] = 'sha1';
    $config['site']['useServerConfigCache'] = false;
    $towns_list = array(


    3 participantes

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    [Tienes que estar registrado y conectado para ver este vínculo] escribió:
    Descripcion escribió:hola, quisiera saber como colocar una url a mi pagina de gesior, ya solo puedo entrar con localhost como url
    Captura del Error escribió:Imagen del error: [Web] [Web] como colocar url a gesior Empty
    El error radica en: WEB

    mi estimado no es colocar una url usted tiene que abrir puerto 80 para poder usar su ippublica



    [Web] [Web] como colocar url a gesior YNU5B25
    3 participantes
    https://www.tibiaface.com

    Contenido patrocinado


    3 participantes

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).