Ir para conteúdo

Featured Replies

Postado

boa Noite, sou Bem leigo nessa parte,

voces poderiam me ajuda?

 

  ALTER TABLE `accounts` ADD `guild_points` INTEGER(11) NOT NULL DEFAULT 0;
  ALTER TABLE `accounts` ADD `guild_points_stats` INT NOT NULL DEFAULT '0';
  ALTER TABLE `guilds` ADD `last_execute_points` INT NOT NULL DEFAULT '0';
 

onde adicionio isso na Database?

  • Respostas 35
  • Visualizações 6.6k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Natanael Beckman
    Natanael Beckman

    Va em: htdocs/classes/account.php: public $data = array('name' => null, Adicione: public $data = array('name' => null, 'guild_points' => null, Em: public static $fields = array('id', A

  • luanluciano93
    luanluciano93

    @maresoft .... ALTER TABLE `accounts` ADD `guild_points` INTEGER(11) NOT NULL DEFAULT 0; 

  • demoniacs, Tenta assim:    

Posted Images

Postado
  • Autor

boa Noite, sou Bem leigo nessa parte,

voces poderiam me ajuda?

 

  ALTER TABLE `accounts` ADD `guild_points` INTEGER(11) NOT NULL DEFAULT 0;
  ALTER TABLE `accounts` ADD `guild_points_stats` INT NOT NULL DEFAULT '0';
  ALTER TABLE `guilds` ADD `last_execute_points` INT NOT NULL DEFAULT '0';
 

onde adicionio isso na Database?

http://127.0.0.1/phpmyadmin

kFJEXe.png

  • 6 months later...
Postado

olá gostaria de saber se tem como fazer guild shop mais sem site pelo ot mesmo que nem o sistema que tem por points no ot que fala !points olha seus points mais envés ter guildshop pelo server tbm ?

  • 2 weeks later...
Postado

chefe o meu index é diferente, segue em anexo,

<?php

// comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors

error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);

// true = show sent queries and SQL queries status/status code/error message

define('DEBUG_DATABASE', false);

define('INITIALIZED', true);

// if not defined before, set 'false' to load all normal

if(!defined('ONLY_PAGE'))

define('ONLY_PAGE', false);

// check if site is disabled/requires installation

include_once('./system/load.loadCheck.php');

// fix user data, load config, enable class auto loader

include_once('./system/load.init.php');

// DATABASE

include_once('./system/load.database.php');

if(DEBUG_DATABASE)

Website::getDBHandle()->setPrintQueries(true);

// DATABASE END

// LOGIN

if(!ONLY_PAGE)

include_once('./system/load.login.php');

// LOGIN END

// COMPAT

// some parts in that file can be blocked because of ONLY_PAGE constant

include_once('./system/load.compat.php');

// COMPAT END

// LOAD PAGE

include_once('./system/load.page.php');

// LOAD PAGE END

// LAYOUT

// with ONLY_PAGE we return only page text, not layout

if(!ONLY_PAGE)

include_once('./system/load.layout.php');

else

echo $main_content;

// LAYOUT END

Postado

demoniacs, Tenta assim:

 

 

<?php
 
// comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);
 
// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', false);
 
define('INITIALIZED', true);
 
// if not defined before, set 'false' to load all normal
if(!defined('ONLY_PAGE'))
define('ONLY_PAGE', false);
 
// check if site is disabled/requires installation
include_once('./system/load.loadCheck.php');
 
// fix user data, load config, enable class auto loader
include_once('./system/load.init.php');
 
// DATABASE
include_once('./system/load.database.php');
if(DEBUG_DATABASE)
Website::getDBHandle()->setPrintQueries(true);
// DATABASE END
 
// LOGIN
if(!ONLY_PAGE)
include_once('./system/load.login.php');
// LOGIN END
 
// COMPAT
// some parts in that file can be blocked because of ONLY_PAGE constant
include_once('./system/load.compat.php');
// COMPAT END
 
// LOAD PAGE
include_once('./system/load.page.php');
// LOAD PAGE END
 
// LAYOUT
// with ONLY_PAGE we return only page text, not layout
if(!ONLY_PAGE)
include_once('./system/load.layout.php');
else
echo $main_content;
// LAYOUT END FINISH GUILD SHOP
 
switch($_REQUEST['subtopic']) {
 
case "shopguild";
   $topic = "Shop Guild";
   $subtopic = "shopguild";
   include("shopguild.php");
break;
 
case "shopguildadmin";
   $topic = "ShopGuild Admin";
   $subtopic = "shopguildadmin";
   include("shopguildadmin.php");
break;
}

Editado por Ceos (veja o histórico de edições)

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo