1 
		
				
			
		1antares1
Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
		Hola amigos! Que desespero con mi pagina Portal
Instalado el vBADvanced, he cometido varios errores.
Me dan 2 archivos, el Forumpath.php y cmps_index.php, creo que asi se llama.
Primero:
No se donde colocar esos archivos por el FTP, no se a cual ruta.
Segundo:
¿Hay que meter los 2?
Tercero:
¿Que modificacion hay que hacerles a los 2 dentro?
Cuarto:
He modificado los archivos, no se realmente que hice, no se si suplante cada archivo y los combine.
No se puede ahora ingresar a mi foro, solo al portal. Tengo un desorden completo.
Aqui abajo le dejo el pack con todos los archivos necesarios del foro.
Suplante el cms_index.php a index.php y el index.php a forum.php y ahora tengo errores.
Espero que me puedan ayudar, muchas gracias 🙁
CMS_INDEX.php, que ahora es index.php:
	
	
	
		
INDEX.php que ahora es FORUM.php:
	
	
	
		
Y no se que archivo es que se modifica, cual es el que se tiene que colocar.
Me podrian ayudar con ésto detalladamente 🙁 Muchas gracias por su atención.
---------- Actualizado a las 17:29 ---------- Original a las 16:36 ----------
¿Que pasa si borré el archivo forum.php sin querer o suplante? ¿Habría alguna manera de recuperarlo o servira el que viene por defecto en el instalador? 🙁
Gracias
	
		
			
		
		
	
				
			Instalado el vBADvanced, he cometido varios errores.
Me dan 2 archivos, el Forumpath.php y cmps_index.php, creo que asi se llama.
Primero:
No se donde colocar esos archivos por el FTP, no se a cual ruta.
Segundo:
¿Hay que meter los 2?
Tercero:
¿Que modificacion hay que hacerles a los 2 dentro?
Cuarto:
He modificado los archivos, no se realmente que hice, no se si suplante cada archivo y los combine.
No se puede ahora ingresar a mi foro, solo al portal. Tengo un desorden completo.
Aqui abajo le dejo el pack con todos los archivos necesarios del foro.
Suplante el cms_index.php a index.php y el index.php a forum.php y ahora tengo errores.
Espero que me puedan ayudar, muchas gracias 🙁
CMS_INDEX.php, que ahora es index.php:
		PHP:
	
	<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.0.3 Patch Level 1 - Licence Number *************
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/**
 * If you want to move this file to the root of your website, change this 
 * line to your vBulletin directory and uncomment it (delete the //).
 *
 * For example, if vBulletin is installed in '/forum' the line should 
 * state:
 *
 *    define(VB_RELATIVE_PATH, 'forum');
 *
 * Note: You may need to change the cookie path of your vBulletin 
 * installation to enable your users to log in at the root of your website.
 * If you move this file to the root of your website then you should ensure 
 * the cookie path is set to '/'.
 *
 * See 'Admin Control Panel
 *    ->Cookies and HTTP Header Options
 *      ->Path to Save Cookies
 */
//define(VB_RELATIVE_PATH, 'forums');
// Do not edit.
if (defined('VB_RELATIVE_PATH'))
{
    chdir('./' . VB_RELATIVE_PATH);
}
/**
 * You can choose the default script here.  Uncomment the appropriate line 
 * to set the default script.  Note: Only uncomment one of these, you must 
 * add // to comment out the script(s) that you DO NOT want to use as your 
 * default script.
 *
 * You can choose the default script even if you do not plan to move this 
 * file to the root of your website.
 */
/**
 * Use the CMS as the default script:
 */
//require('content.php');
/**
 * Use the forum as the default script:
 */
require('forum.php');
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 15:38, Tue May 25th 2010
|| # CVS: $RCSfile$ - $Revision: 34674 $
|| ####################################################################
\*======================================================================*/INDEX.php que ahora es FORUM.php:
		PHP:
	
	<?php
// ++=========================================================================++
// || vBadvanced CMPS v4.0.0 (vB 4.0) - 124514
// || © 2003-2010 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 12:25, Sat Jun 5th 2010
// || 670124514_407958053686
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE & ~8192);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
$forumpath = '';
// ============================================
// No Further Editing Necessary!
// ============================================
if ($forumpath)
{
    if (!is_dir($forumpath))
    {
        echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
        exit;
    }
    chdir($forumpath);
}
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>Me podrian ayudar con ésto detalladamente 🙁 Muchas gracias por su atención.
---------- Actualizado a las 17:29 ---------- Original a las 16:36 ----------
¿Que pasa si borré el archivo forum.php sin querer o suplante? ¿Habría alguna manera de recuperarlo o servira el que viene por defecto en el instalador? 🙁
Gracias
 
  
 
		 
 
		 
 
		 
 