Ver Mensaje Individual
  #8 (permalink)  
Antiguo 08/09/2007, 06:51
Avatar de bookmaster
bookmaster
 
Fecha de Ingreso: febrero-2002
Ubicación: Toledo
Mensajes: 976
Antigüedad: 22 años, 3 meses
Puntos: 67
Re: ayuda con visualizacion de sitio

Ya he instalado el foro SMF, esta es la configuración del mio:

Código PHP:
<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance 0;        # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle 'Maintenance Mode';        # Title for the Maintenance Mode message.
$mmessage 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';        # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname 'Prueba LHW';        # The name of your forum.
$language 'spanish_es';        # The default language file set for the forum.
$boardurl 'http://smf.lohacemosweb.net';        # URL to your forum's folder. (without the trailing /!)
$webmaster_email '[email protected]';        # Email address to send emails from. (like [email protected].)
$cookiename 'SMFCookie474';        # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = ;
$db_name 'SMF';
$db_user '';
$db_passwd '';
$db_prefix 'smf_';
$db_persist 0;
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir 'C:\\Inetpub\\wwwroot\\Smf';        # The absolute path to the forum's folder. (not just '.'!)
$sourcedir 'C:\\Inetpub\\wwwroot\\Smf/Sources';        # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 0;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
    
$boarddir dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir '/Sources'))
    
$sourcedir $boarddir '/Sources';

?>
En este las lineas que llaman al directio en el servidor son estas:
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = 'C:\\Inetpub\\wwwroot\\Smf'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'C:\\Inetpub\\wwwroot\\Smf/Sources'; # Path to the Sources directory.

Y las que hacen la llamada al dominio es:
$boardurl = 'http://smf.lohacemosweb.net'; # URL to your

Espero que te sirva ;)
__________________
Decir si te a funcionado la respuesta es ¡GRATIS!. Por favor indicarlo.
http://www.lohacemosweb.net
http://tutoriales.lohacemosweb.net