BGames
Olá visitante! Seja bem vindo á BGames!

Para ter total acesso ao nosso fórum é preciso que você se registre.

Registre-se Aqui!


PARA VER LINKS E IMAGENS É PRECISO SE REGISTRAR!


BGames
Olá visitante! Seja bem vindo á BGames!

Para ter total acesso ao nosso fórum é preciso que você se registre.

Registre-se Aqui!


PARA VER LINKS E IMAGENS É PRECISO SE REGISTRAR!

BGames
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

BGamesEntrar

Fórum de Desenvolvimento de Jogos e Programação


description[Resolvido][Dúvida]Facebook "Craftweb" Empty[Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Galera tou com um ploblema aqui após eu ativar o facebook , do Craftweb e ele fica em cima da barra do status do dos player do site ajuda coloca ele mais em baixo ?

Print

[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem]

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Baixe o dreamweaver e edite o designer do site ao seu gosto!!!

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Poderia fazer pra mim ?

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Olá,
Aconselho você a desabilitar, Pois Para você Mexer nesse Quadro você tem que entender de Código Php e Style.css !

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Vou postar o do meu servidor, já que vou parar de mexer com ele.

Jajá edito com o link

----------------------------------------------

Ai está

[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Você saberia identificar qual página está com os códigos ?

Se a resposta for sim, peço para que poste os códigos.

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Tá ae Switch

Código:

<?php
   if(!defined('INIT_SITE'))
      exit();
      
   #############################
   ## CRAFTEDWEB CONFIG FILE  ##
   ## GENERATION 1            ##
   ## Author:              ##
   ## Anthony @ CraftedDev    ##
   ## ------------------------##
   ## Please note that:      ##
   ## true = Enabled          ##
   ## false = Disabled        ##
   #############################
   
   /*************************/
   /* General settings     
   /*************************/
    $useDebug = false; //If you are having problems with your website, set this to "true", if not, set to "false".
    //All errors will be logged and visible in "includes/error-log.php". If set to false, error log will be blank.
    //This will also enable/disable errors on the Admin- & Staff panel.
   
    $maintainance = false; //Maintainance mode, will close the website for everyone. True = enable, false = disable
    $maintainance_allowIPs = array('herp.derp.13.37'); //Allow specific IP addresses to view the website even though you have maintainance mode enabled.
    //Example: '123.456.678', '987.654.321'
   
    $website_title = 'Nightwish WoW'; //The title of your website, shown in the users browser.
   
    $default_email = 'suporte.nightwish.wow@hotmail.com'; //The default email address from wich Emails will be sent.

    $website_domain = '127.0.0.1'; //Provide the domain name AND PATH to your website.
    //Example: http://yourserver.com/
    //If you have your website in a sub-directory, include that aswell. Ex: http://yourserver.com/cataclysm/
   
    $showLoadTime = true;
    //Shows the page load time in the footer.
   
    $footer_text = 'Copyright © Nightwish WoW 2012<br/>
    All rights reserved'; //Set the footer text, displayed at the bottom.
    //Tips: © = Copyright symbol. <br/> = line break.
   
    $timezone = 'Europe/Belgrade'; //Set the time zone for your website. Default: Europe/Belgrade (GMT +1)
    //Full list of supported timezones can be found here: http://php.net/manual/en/timezones.php
   
    $core_expansion = 2; //The expansion of your server.
    // 0 = Vanilla
    // 1 = The Burning Crusade
    // 2 = Wrath of The Lich King
    // 3 = Cataclysm
   
    $adminPanel_enable = true; //Enable or disable the Administrator Panel.
    $staffPanel_enable = true; //Enable or disable the Staff Panel.
   
    $adminPanel_minlvl = 5; //Minimum gm level of which accounts are able to log in to the Admin Panel. Default: 5
    $staffPanel_minlvl = 3; //Minimum gm level of which accounts are able to log in to the Staff Panel. Default: 3
   
    $staffPanel_permissions['Pages'] = false;
    $staffPanel_permissions['News'] = false;
    $staffPanel_permissions['Shop'] = false;
    $staffPanel_permissions['Donations'] = false;
    $staffPanel_permissions['Logs'] = true;
    $staffPanel_permissions['Interface'] = false;
    $staffPanel_permissions['Users'] = true;
    $staffPanel_permissions['Realms'] = false;
    $staffPanel_permissions['Services'] = false;
    $staffPanel_permissions['Tools->Tickets'] = true;
    $staffPanel_permissions['Tools->Account Access'] = false;
    $staffPanel_permissions['editNewsComments'] = true;
    $staffPanel_permissions['editShopItems'] = false;
   
    //Pages = Disable/Enable pages & Create custom pages.
    //News = Edit/Delete/Post news.
    //Shop = Add/Edit/Remove shop items.
    //Donations = View donations overview & log.
    //Logs = View vote & donation shop logs.
    //Interface = Edit the menu, template & slideshow.
    //Users = View & edit user data.
    //Realms = Edit/Delete/Add realms.
    //Services = Edit voting links & character services.
    //Tools->Tickets = View/Lock/Delete tickets.
    //Tools->Account Access = Edit/Remove/Add account access.
    //editNewsComments = Edit/Remove news comments.
    //editShopItems = Edit/Remove shop items.
   
   $enablePlugins = true; //Enable or disable the use of plugins. Plugins May slow down your site a bit.
   
   /*************************/
   /* Slideshow settings
   /*************************/
   $enableSlideShow = true; //Enable or Disable the slideshow. This will only be shown at the home page.
   
   /*************************/
   /* Website compression settings   
   /*************************/
   
   $compression['gzip'] = true; //This is very hard to explain, but it may boost your website speed drastically.
   $compression['sanitize_output'] = true; //This will strip all the whitespaces on the HTML code written. This should increase the website speed slightly.
   //And "copycats" will have a hard time stealing your HTML code :>
   
   $useCache = false; //Enable / Disable the use of caching. It's in early developement and is currently only applied to very few things in the core at the moment.
   //You will probably not notice any difference when enabling this, unless you have alot of visitors. Who knows, I havent tried.
   
   
   /*************************/
   /* News settings 
   /*************************/
   $news['enable'] = true; // Enable/Disable the use of the news system at the homepage.
   $news['maxShown'] = 2; //Maximum amount of news posts that will be shown on the home page.
                      //People can still view all posts by clicking the "All news" button.
   $news['enableComments'] = true; //Make people able to comment on your news posts.
   $news['limitHomeCharacters'] = false; //This will limit the characters shown in the news post. People will have to click the "Read more..." button
   //to read the whole news post.
   
   
   /***** Server status ******/
   $serverStatus['enable'] = true; //This will enable/disable the server status box.
   $serverStatus['nextArenaFlush'] = false; //This will display the next arena flush for your realm(s).
   $serverStatus['uptime'] = true; //This will display the uptime of your realm(s).
   $serverStatus['playersOnline'] = true; //This will show current players online
   $serverStatus['factionBar'] = true; //This will show the players online faction bar.
   
   
   /*************************/
   /* mySQL connection settings
   /*************************/
   
   $connection['host'] = '127.0.0.1';
   $connection['user'] = 'root';
   $connection['password'] = 'ascent';
   $connection['logondb'] = 'auth';
   $connection['webdb'] = 'site';
   $connection['worlddb'] = 'world';
   $connection['realmlist'] = '127.0.0.1';
   
   // host = Either an IP address or a DNS address
   // user = A mySQL user with access to view/write the entire database.
   // password = The password for the user you specified
   // logondb = The name of your "auth" or "realmdb" database name. Default: auth
   // webdb = The name of the database with CraftedWeb data. Default: craftedweb
   // worlddb = The name of your world database. Default: world
   // realmlist = This could be your server IP or DNS. Ex: logon.yourserver.com
   
   /*************************/
   /* Registration settings
   /*************************/
   $registration['userMaxLength'] = 16;
   $registration['userMinLength'] = 3;
   $registration['passMaxLength'] = 22;
   $registration['passMinLength'] = 5;
   $registration['validateEmail'] = false;
   $registration['captcha'] = false;
   
   //userMaxLength = Maximum length of usernames
   //userMinLength = Minimum length of usernames
   //passMaxLength = Maximum length of passwords
   //passMinLength = Minimum length of passwords
   //validateEmail = Validates if the email address is a correct email address. May not work on some PHP versions.
   //captcha = Enables/Disables the use of the captcha (Anti-bot)
   
   /*************************/
   /* Voting settings
   /*************************/
   $vote['timer'] = 43200;
   $vote['type'] = 'instant';
   $vote['multiplier'] = 1;
   
   // timer = Timer between every vote on each link in seconds. Default: 43200 (12 hours)
   // type = Voting system type.
   //        'instant' = Give vote points instantly when the user clicks the Vote button.
   //        'confirm' = Give Vote Points when the user has returned to your website. (Hopefully through clicking on your banner on the topsite)
   // multiplier = Multiply amount of Vote Points given for every vote. Useful for special holidays etc.
   
   /*************************/
   /* Donation settings
   /*************************/
   $donation['paypal_email'] = 'suporte.nightwish.wow@hotmail.com';
   $donation['coins_name'] = 'Donations Coins';
   $donation['currency'] = 'USD';
   $donation['emailResponse'] = true;
   $donation['sendResponseCopy'] = false;
   $donation['copyTo'] = 'suporte.nightwish.wow@hotmail.com';
   $donation['responseSubject'] = 'Thanks for your support!';
   $donation['donationType'] = 2;
   
   // paypal_email = The PayPal email address of wich payment will be sent to.
   // coins_name = The name of the donation coins that the user will buy.
   // currency = The name of the currency that you want the user to pay with. Default: USD
   // emailResponse = Enabling this will make the donator to recieve a validation email after their donation, containing the donation information.
   // sendResponseCopy = Set this to "true" if you wish to recieve a copy of the email response mentioned above.
   // copyTo = Enable the sendResponseCopy to activate this function. Enter the email address of wich the payment copy will be sent to.
   // responseSubject =  Enable the sendResponseCopy to activate this function. The subject of the email response sent to the donator.
   // donationType = How the user will donate. 1 = They can enter how many coins they wish to buy, and the value can be increased with the multiplier.
   // 2 = A list of options will be shown, you may set the list below.
   
   /*  EDITING THIS IS ONLY NECESSARY IF YOU HAVE 'donationType' SET TO 2    */
   /* Just follow the template and enter your custom values */
   /* array('NAME/TITLE', COINS TO ADD, PRICE) */
   $donationList = array(
         array('10 Donation Coins - 5$', 10, 5),
         array('20 Donation Coins - 8$', 20, 8),
         array('50 Donation Coins - 20$', 50, 20),
         array('100 Donation Coins - 35$', 100, 35 ),
         array('200 Donation Coins - 70$', 200, 70 )
   );
   
   /*************************/
   /* Vote & Donation shop settings
   /*************************/
   $voteShop['enableShop'] = true;
   $voteShop['enableAdvancedSearch'] = true;
   $voteShop['shopType'] = 1;
   
   // enableShop = Enables/disables the use of the Vote Shop. "true" = enable, "false" = disable.
   // enableAdvancedSearch = Enabled/disables the use of the advanced search feature. "true" = enable, "false" = disable.
   // shopType = The type of shop you wish to use. 1 = "Search". 2 = List all items available.
   
   
   /*************************/
   $donateShop['enableShop'] = true;
   $donateShop['enableAdvancedSearch'] = true;
   $donateShop['shopType'] = 1;
   
   // Explanations can be found above.
   
   /*************************/
   /* Social plugins settings
   /*************************/
   $social['enableFacebookModule'] = true;
   $social['facebookGroupURL'] = 'https://www.facebook.com/nightwihs.wow';
   
   // enableFacebookModule = This will create a Facebook box to the left, below the server status. "true" = enable, "false" = disable.
   // facebookGroupURL = The full URL to your facebook group.
   // NOTE! This feature might be a little buggy due to the width of some themes. I wish you good luck though.
   
   /*************************/
   /* Forum settings
   /*************************/
   $forum['type'] = 'phpbb';
   $forum['autoAccountCreate'] = false;
   $forum['forum_path'] = '/forum/';
   $forum['forum_db'] = 'phpbb';
   
   // type = the type of forum you are using. (phpbb,vbulletin)
   // autoAccountCreate = this function creates a forum account when the user register at the website.
   // forum_path = The path to the forum. Example: If you have it in YOURSITE.COM/forum/, then put "/forum/". (Without "")
   // forum_db = The database name of the forum. If you have the forum database on the same location as your logon database,
   //            this will enable 'Latest Forum Activity' on your Admin Panel.
   ######NOTE#######
   // autoAccountCreate is only supported for phpBB, vBulletin will be supported in near future.
   
   /************************/
   /* Advanced settings, mostly used for further developement.
   /* DO NOT TOUCH THESE CONFIGS unless you know what you are doing! */
   /************************/
   
   $core_pages = array('Account Panel' => 'account.php','Shopping Cart' => 'cart.php',
   'Change Password' => 'changepass.php','Donate' => 'donate.php','Donation Shop' => 'donateshop.php',
   'Forgot Password' => 'forgotpw.php','Home' => 'home.php','Logout' => 'logout.php',
   'News' => 'news.php','Refer-A-Friend' => 'raf.php','Register' => 'register.php',
   'Character Revive' => 'revive.php','Change Email' => 'settings.php','Support' => 'support.php',
   'Character Teleport' => 'teleport.php','Character Unstucker' => 'unstuck.php','Vote' => 'vote.php',
   'Vote Shop' => 'voteshop.php','Confirm Service' => 'confirmservice.php');
   
   ###LOAD MAXIMUM ITEM LEVEL DEPENDING ON EXPANSION###
   switch($GLOBALS['core_expansion'])
   {
      case(0):
      $maxItemLevel = 100;
      break;
      case(1):
      $maxItemLevel = 175;
      break;
      default:
      case(2):
      $maxItemLevel = 284;
      break;
      case(3):
      $maxItemLevel = 416;
      break;
   }
   
   if($GLOBALS['core_expansion']>2)
      $tooltip_href = 'www.wowhead.com/';
   else
      $tooltip_href = 'www.openwow.com/?';
   
   //Set the timezone.
   date_default_timezone_set($GLOBALS['timezone']);
   
   //Set the error handling.
   if(file_exists('includes/classes/error.php'))
      require('includes/classes/error.php');
      
   elseif(file_exists('../classes/error.php'))
      require('../classes/error.php');
      
   elseif(file_exists('../includes/classes/error.php'))
      require('../includes/classes/error.php');
   
   elseif(file_exists('../../includes/classes/error.php'))
      require('../../includes/classes/error.php');
   
   elseif(file_exists('../../../includes/classes/error.php'))
      require('../../../includes/classes/error.php');
   
   loadCustomErrors(); //Load custom errors
?>

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
Tópico ja foi resolvido ao respectivo criador, portanto.



Tópico resolvido e movido para sua área correspondente

description[Resolvido][Dúvida]Facebook "Craftweb" EmptyRe: [Resolvido][Dúvida]Facebook "Craftweb"

more_horiz
privacy_tip Permissões neste sub-fórum
Não podes responder a tópicos