Retroceder   Foros del Web > Diseño de Sitios web > Aplicaciones pre-fabricadas

Respuesta
 
Herramientas Desplegado
Antiguo 27-abr-2004, 08:28   #1 (permalink)
_NaTraX_ está en el buen camino
 
Fecha de Ingreso: abril-2004
Mensajes: 7
hola, adjuntar archivos

hola, quiero poner en mi foro q se puedan adjuntar archivos pero no se muxo d php y me lio cn los condigos y eso y tampoco se q hay k poner, k tendria k poner? o donde puedo decargarlo

SAludos
_NaTraX_ está desconectado   Responder Citando
Antiguo 27-abr-2004, 10:28   #2 (permalink)
elmajaron está en el buen camino
 
Avatar de elmajaron
 
Fecha de Ingreso: febrero-2003
Mensajes: 826
que foro usas phpbb,invision,vbullentin otros? un saludo
elmajaron está desconectado   Responder Citando
Antiguo 27-abr-2004, 11:07   #3 (permalink)
_NaTraX_ está en el buen camino
 
Fecha de Ingreso: abril-2004
Mensajes: 7
hola, es phpbb
_NaTraX_ está desconectado   Responder Citando
Antiguo 27-abr-2004, 11:37   #4 (permalink)
elmajaron está en el buen camino
 
Avatar de elmajaron
 
Fecha de Ingreso: febrero-2003
Mensajes: 826
para eso puedes usar el Mod Attachment lo puedes encontrar aqui http://www.phpbbhacks.com un saludo
elmajaron está desconectado   Responder Citando
Antiguo 27-abr-2004, 12:34   #5 (permalink)
_NaTraX_ está en el buen camino
 
Fecha de Ingreso: abril-2004
Mensajes: 7
aaah vale, pero es q tngo una duda:
Código:
# 
#-----[ OPEN ]--------------------------------------------- 
# 
extension.inc

#
#-----[ FIND ]---------------------------------------------
# around line 22
$phpEx = "php";

#
#-----[ AFTER, ADD ]-------------------------------------- 
# 
$attach_num_queries = 0;

# 
#-----[ OPEN ]---------------------------------------------
# 
attach_mod/includes/constants.php

# 
#-----[ FIND ]---------------------------------------------
# around line 30
define('ATTACH_DEBUG', 0);
// define('ATTACH_DEBUG', 1);

#
#-----[ REPLACE WITH ]--------------------------------------- 
# 
// define('ATTACH_DEBUG', 0);
define('ATTACH_DEBUG', 1);

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/functions.php

# 
#-----[ FIND ]---------------------------------------------
# Around line 494
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')
{
	global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header;

#
#-----[ AFTER, ADD ]---------------------------------------
# 
	global $attach_num_queries;

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/page_tail.php

# 
#-----[ FIND ]---------------------------------------------
# Around line 89
exit;

#
#-----[ BEFORE, ADD ]--------------------------------------- 
# 
if ( ATTACH_DEBUG )
{
	print "<center><font size=\"-2\">For the Attachment Mod " . $attach_num_queries . " queries were executed.</font></center>";
}

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 


--------------- ALL QUERY ------------------

# 
#-----[ OPEN ]--------------------------------------------- 
# 
extension.inc

#
#-----[ FIND ]---------------------------------------------
# around line 22
$phpEx = "php";

#
#-----[ AFTER, ADD ]-------------------------------------- 
# 
$mtime = microtime();    
$mtime = explode(" ",$mtime);    
$mtime = $mtime[1] + $mtime[0];    
$starttime = $mtime; 
$attach_num_queries = 0;

# 
#-----[ OPEN ]---------------------------------------------
# 
attach_mod/includes/constants.php

# 
#-----[ FIND ]---------------------------------------------
# around line 30
define('ATTACH_DEBUG', 0);
// define('ATTACH_DEBUG', 1);

#
#-----[ REPLACE WITH ]--------------------------------------- 
# 
// define('ATTACH_DEBUG', 0);
define('ATTACH_DEBUG', 1);

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/functions.php

# 
#-----[ FIND ]---------------------------------------------
# Around line 494
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')
{
	global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header;

#
#-----[ AFTER, ADD ]---------------------------------------
# 
	global $attach_num_queries;

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/page_tail.php

# 
#-----[ FIND ]---------------------------------------------
# Around line 89
exit;

#
#-----[ BEFORE, ADD ]--------------------------------------- 
# 
$generation_time =  printf("<br /><center><font size=\"-2\">phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime); 

if ( ATTACH_DEBUG )
{
	print "<center><font size=\"-2\">For the Attachment Mod " . $attach_num_queries . " queries were executed.</font></center>";
}

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 


# EoM
tengo que copiar esto asi como viene? o tengo q modifikar algo?
y lo tendria q copiar a continuacion de la ultima palabra q haya en el archivo q tngo q modifikar? weno los archivos k son muxos xD :(

Edit: common.php, faq.php, modcp.php, posting.php, privmsg.php, viewforum.php, viewtopic.php,
## admin/admin_forumauth.php, admin/admin_ug_auth.php, includes/auth.php, includes/functions.php,
## includes/prune.php, includes/topic_review.php, modcp_body.tpl, posting_body.tpl, posting_preview.tpl,
## posting_topic_review.tpl, privmsgs_body.tpl, privmsgs_preview.tpl, privmsgs_read_body.tpl,
## viewforum_body.tpl, viewtopic_body.tpl
saludos
_NaTraX_ está desconectado   Responder Citando
Antiguo 27-abr-2004, 14:04   #6 (permalink)
elmajaron está en el buen camino
 
Avatar de elmajaron
 
Fecha de Ingreso: febrero-2003
Mensajes: 826
Código:
 
#-----[ ABRIR ]--------------------------------------------- 
# 
extension.inc

#
#-----[ ENCONTRAR ]---------------------------------------------
# around line 22
$phpEx = "php";

#
#-----[ AGREGAR DESPUES ]-------------------------------------- 
# 
$attach_num_queries = 0;

# 
#-----[ ABRIR ]---------------------------------------------
# 
attach_mod/includes/constants.php

# 
#-----[ ENCONTRAR ]---------------------------------------------
# around line 30
define('ATTACH_DEBUG', 0);
// define('ATTACH_DEBUG', 1);

#
#-----[ REEMPLAZAR POR ]--------------------------------------- 
# 
// define('ATTACH_DEBUG', 0);
define('ATTACH_DEBUG', 1);

# 
#-----[ ABRIR ]---------------------------------------------
# 
includes/functions.php

# 
#-----[ ENCONTRAR ]---------------------------------------------
# Around line 494
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')
{
	global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header;

#
#-----[ AGREGAR DESPUES ]---------------------------------------
# 
	global $attach_num_queries;

# 
#-----[ ABRIR ]---------------------------------------------
# 
includes/page_tail.php

# 
#-----[ ENCONTRAR ]---------------------------------------------
# Around line 89
exit;

#
#-----[ AGREGAR ANTES ]--------------------------------------- 
# 
if ( ATTACH_DEBUG )
{
	print "<center><font size=\"-2\">For the Attachment Mod " . $attach_num_queries . " queries were executed.</font></center>";
}

# 
#-----[ GUARDAR LOS ARCHIVOS ]------------------------------------------ 
# 


--------------- ALL QUERY ------------------

# 
#-----[ ABRIR ]--------------------------------------------- 
# 
extension.inc

#
#-----[ ENCONTRAR ]---------------------------------------------
# around line 22
$phpEx = "php";

#
#-----[ AGREGAR DESPUES ]-------------------------------------- 
# 
$mtime = microtime();    
$mtime = explode(" ",$mtime);    
$mtime = $mtime[1] + $mtime[0];    
$starttime = $mtime; 
$attach_num_queries = 0;

# 
#-----[ ABRIR ]---------------------------------------------
# 
attach_mod/includes/constants.php

# 
#-----[ ENCONTRAR ]---------------------------------------------
# around line 30
define('ATTACH_DEBUG', 0);
// define('ATTACH_DEBUG', 1);

#
#-----[ REEMPLAZAR POR ]--------------------------------------- 
# 
// define('ATTACH_DEBUG', 0);
define('ATTACH_DEBUG', 1);

# 
#-----[ ABRIR ]---------------------------------------------
# 
includes/functions.php

# 
#-----[ ENCONTRAR ]---------------------------------------------
# Around line 494
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')
{
	global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header;

#
#-----[ AGREGAR DESPUES ]---------------------------------------
# 
	global $attach_num_queries;

# 
#-----[ ABRIR ]---------------------------------------------
# 
includes/page_tail.php

# 
#-----[ ENCONTRAR ]---------------------------------------------
# Around line 89
exit;

#
#-----[ AGREGAR ANTES ]--------------------------------------- 
# 
$generation_time =  printf("<br /><center><font size=\"-2\">phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime); 

if ( ATTACH_DEBUG )
{
	print "<center><font size=\"-2\">For the Attachment Mod " . $attach_num_queries . " queries were executed.</font></center>";
}

# 
#-----[ GUARDAR LOS ARCHIVOS ]------------------------------------------ 
# 


# EoM
un saludo
elmajaron está desconectado   Responder Citando
Antiguo 27-abr-2004, 15:12   #7 (permalink)
_NaTraX_ está en el buen camino
 
Fecha de Ingreso: abril-2004
Mensajes: 7
hola he puesto ese codigo en todos los archivos y me sale esto:
http://usuarios.lycos.es/deliriumklan/phpBB2/
un monton d letrs raras y no sale na d subir archivo :( k hago mal?

salu2
_NaTraX_ está desconectado   Responder Citando
Respuesta

No hay votos aún.


Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

BB code is Activado
Caritas están Activado
[IMG] está Activado
Código HTML está Desactivado


La Zona horaria es GMT -6. Ahora son las 01:52.


Message Board Statistics

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93