Vota por nosotros en el ranking web que participamos

Curso Hacker
Bienvenido(a), Visitante. Favor de ingresar o registrarse.
¿Perdiste tu email de activación? - Octubre 12, 2008, 09:33:28
Inicio Ayuda Ingresar Registrarse
Visita: Articulos - Juegos Gratis - Da Foros

Comunidad Underground Hispana  |  Programacion  |  Programacion para webmasters  |  Consultas Generales (Moderadores: rOnNyLdInHo™, SaTeLuCo)  |  Tema: Ayuda urgente! 0 Usuarios y 1 Visitante están viendo este tema. « anterior próximo »
Páginas: [1] Ir Abajo Imprimir
Autor Tema: Ayuda urgente!  (Leído 212 veces)
josereimondez
Miembro
*****
Desconectado Desconectado

Mensajes: 85


Panameño 101%

jose_reimondez@hotmail.com
Ver Perfil Email
« en: ſeptiembre 17, 2007, 06:33:17 »

por favor alguien me podria explicar como puedo hacer para bajar un banner ejemplo, yo tengo el smart FTP client me intereza ya que es el que tengo, tengo "X" foro verdad, es de SMF igual que este osea sabran que tiene una opcion de subirle themes nuevos que vienen comprimidos en rar completos, tambien de agregarle un banner pero se lo hice y no aparece nada ademas si se viera se veria feo ya que se descuadraria el theme, bien le instale el theme muy bonito, pero me dijeron que se puede editar el theme por ejemplo quiero ponerle mi titulo en la parte de arriba, me dijeron que con este programa se baja la parte donde quiero agregar mi titulo y despues se sube, alguien me podria decir, please que ya no doy mas, soy nuevo en esto, por cierto buenas, es que siento que entre como tof y no salude jejeje!" sorry, ayuda porfavor, acudi aqui por que se que es el mejor foro y estan los mejores!!!

P.D.: por cierto si me explican como subir el banner editado al foro me pareceria magnifico, seria mi siguiente pregunta, recuerden que tengo el smart ftp o si me recomiendan uno mejor, en español y mas facil de usar seria magnifico

Por cierto, sueño con llegar algun dia al nivel de este foro, jo cuando sera dentro de un par de años jajaja!!!
« Última modificación: ſeptiembre 17, 2007, 06:53:08 por josereimondez » En línea

TheDarkFear
Miembro
*****
Desconectado Desconectado

Mensajes: 108



Ver Perfil WWW
« Respuesta #1 en: ſeptiembre 18, 2007, 06:30:35 »

trata de Ver el codigo fuente del foro y ve si te sirve por ahii.
Oh como es el tema?, a lo mejor lo podrias cambiar por ahi...
Lo del banner rebiza bien la configuración a lo mejor esta todvia el banner por defecto...
Saludos
En línea

La informacion es poder y hay que luchar por ese poder.

josereimondez
Miembro
*****
Desconectado Desconectado

Mensajes: 85


Panameño 101%

jose_reimondez@hotmail.com
Ver Perfil Email
« Respuesta #2 en: ſeptiembre 18, 2007, 07:11:18 »

trata de Ver el codigo fuente del foro y ve si te sirve por ahii.
Oh como es el tema?, a lo mejor lo podrias cambiar por ahi...
Lo del banner rebiza bien la configuración a lo mejor esta todvia el banner por defecto...
Saludos

me dijeron que me pusiera arriba de la parte que quiero editar del foro, presionara boton derecho, propiedades y URL perfecto hasta ahi llego, el URL ya lo tengo lo que quiero que se me eexplique por favor como hago para bajarlo con el smart FTP y despues subirlo ya editado o si me recomiendan algun otro programa se le agradeceria, gracias por atenderme, hasta luego.
En línea

(¯°»¦«¤ Ave de Fuego ¤»¦«°¯)
Moderador Global
Colaborador
*****
Desconectado Desconectado

Mensajes: 859


(¯°»¦«¤ Ave de Fuego ¤»¦«°¯)


Ver Perfil WWW
« Respuesta #3 en: ſeptiembre 19, 2007, 07:35:16 »

Veamos.....

si tienes acceso a un un administrador de archivos web.... podrias hacerlo desde ahi.... claro editando el texto.... tambien podrias hacerlo en tu pc editando y subiendo tus pruebas.....


Tu index.template es mas o menos asi....

Código:
<?php
// Version: 1.0; index

/*

*/

// Initialize the template... mainly little settings.
function template_init()
{
   global 
$context$settings$options$txt;

   
/* Use images from default theme when using templates from the default theme?
      if this is 'always', images from the default theme will be used.
      if this is 'defaults', images from the default theme will only be used with default templates.
      if this is 'never' or isn't set at all, images from the default theme will not be used. */
   
$settings['use_default_images'] = 'never';

   
/* What document type definition is being used? (for font size and other issues.)
      'xhtml' for an XHTML 1.0 document type definition.
      'html' for an HTML 4.01 document type definition. */
   
$settings['doctype'] = 'xhtml';
}

// The main sub template above the content.
function template_main_above()
{
   global 
$context$settings$options$scripturl$txt;

   
// Show right to left and the character set for ease of translating.
   
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
   <meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
   <meta name="description" content="'
$context['page_title'], '" />
   <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
   <script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js"></script>
   <script language="JavaScript" type="text/javascript"><!--
      var smf_theme_url = "'
$settings['theme_url'], '";
      var smf_images_url = "'
$settings['images_url'], '";
   // --></script>
   <title>'
$context['page_title'], '</title>
   <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css" />';

   
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   
if ($context['browser']['needs_size_fix'])
      echo 
'
   <link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

   
// Show all the relative links, such as help, search, contents, and the like.
   
echo '
   <link rel="help" href="'
$scripturl'?action=help" target="_blank" />
   <link rel="search" href="' 
$scripturl '?action=search" />
   <link rel="contents" href="'
$scripturl'" />';

   
// If we're viewing a topic, these should be the previous and next topics, respectively.
   
if (!empty($context['current_topic']))
      echo 
'
   <link rel="prev" href="' 
$scripturl '?action=;topic=' $context['current_topic'] . '.0;prev_next=prev" />
   <link rel="next" href="' 
$scripturl '?action=;topic=' $context['current_topic'] . '.0;prev_next=next" />';

   
// If we're in a board, or a topic for that matter, the index will be the board's index.
   
if (!empty($context['current_board']))
      echo 
'
   <link rel="index" href="' 
$scripturl '?action=;board=' $context['current_board'] . '.0" />';

   
// Output any remaining HTML headers. (from mods, maybe?)
   
echo $context['html_headers'], '
</head>
<body>'
;

   
// The logo, user information, news, and menu.
   
echo '
   <table cellspacing="0" cellpadding="0" border="0" align="center" width="95%" class="tborder">
      <tr style="background-color: #ffffff;">
         <td valign="middle" align="left"><img src="'
$settings['images_url'], '/left_logo.jpg" alt="" /></td>
         <td valign="middle">'
;

   
// If the user is logged in, display stuff like their name, new messages, etc.
   
if ($context['user']['is_logged'])
   {
      echo 
'
            '
$txt['hello_member'], ' <b>'$context['user']['name'], '</b>'$context['allow_pm'] ? ', ' $txt[152] . ' <a href="' $scripturl '?action=pm">' $context['user']['messages'] . ' ' . ($context['user']['messages'] != $txt[153] : $txt[471]) . '</a>' $txt['newmessages4'] . ' ' $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1']) : '''.';

      
// Are there any members waiting for approval?
      
if (!empty($context['unapproved_members']))
         echo 
'<br />
            '
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=regcenter">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'];

      
// Is the forum in maintenance mode?
      
if ($context['in_maintenance'] && $context['user']['is_admin'])
         echo 
'<br />
            <b>'
$txt[616], '</b>';
   }
   
// Otherwise they're a guest - so politely ask them to register or login.
   
else
      echo 
'
            '
$txt['welcome_guest'];

   echo 
'
            <br />'
$context['current_time'], '
         </td>
      </tr>
      <tr class="windowbg2">
         <td colspan="2" valign="middle" align="center" class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">'
;


   
template_menu();
   
// Show the publicidad.

   
echo '
         </td>
      </tr>'
;
     


   
// Show a random news item? (or you could pick one from news_lines...)
   
if (!empty($settings['enable_news']))
      echo 
'
      <tr class="windowbg2">
         <td colspan="2" height="24" class="tborder" style="border-width: 1px 0 0 0; padding-left: 1ex;">
            <b>'
$txt[102], ':</b> '$context['random_news_line'], '
         </td>
      </tr>'
;
     

   echo 
'
   
   </table>

<center>
<font size="1" face="tahoma">

[b]Entre cada cierre de </table> puedes meter codigo....</font>
</center>   [/b] 

   <table cellspacing="0" cellpadding="10" border="0" align="center" width="95%" class="tborder">
      <tr><td valign="top" bgcolor="#ffffff"> '
;

 
template_publicidad();   

}


function 
template_main_below()
{
   global 
$context$settings$options$scripturl$txt;

   echo 
'
      </td></tr>
   </table><center>
Visitas IP reles: </center>


'
;

   
// Show the "Powered by" and "Valid" logos, as well as the copyright.  Remember, the copyright must be somewhere!
   
echo '
<center>   
  <table width="95%" border="1" bordercolor="#CCCCCC">
    <tr>
      <td bordercolor="#FFFFFF" bgcolor="#FFCC00">

 <font color="#FFFFFF" size="1" face="Courier New, Courier, mono">
texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html <br></font> 

 </td>


    </tr>
  </table>


texto o link html texto o link html texto o link html texto o link html 
texto o link html 
   <table cellspacing="0" cellpadding="3" border="0" align="center" width="95%" class="tborder">
      <tr style="background-color: #ffffff;">
         <td width="28%" valign="middle" align="right">
         
                <br>
            
         </td>
         <td width="44%" valign="middle" align="center">
            '
theme_copyright(), '
         </td>
         <td width="28%" valign="middle" align="left">

         </td>
      </tr>
   </table>'
;

   
// Show the load time?
   
if ($context['show_load_time'])
      echo 
'
   <div align="center" class="smalltext">
      '
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '
   </div>'
;

   
// And then we're done!
   
echo '
</body>
</html>'
;
}

// Show a linktree.  This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
   global 
$context$settings$options;

   
// Folder style or inline?  Inline has a smaller font.
   
echo '<span class="nav"'$settings['linktree_inline'] ? ' style="font-size: smaller;"' '''>';

   
// Each tree item has a URL and name.  Some may have extra_before and extra_after.
   
foreach ($context['linktree'] as $link_num => $tree)
   {
      
// Show the | | |-[] Folders.
      
if (!$settings['linktree_inline'])
      {
         if (
$link_num 0)
            echo 
str_repeat('<img src="' $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />'$link_num 1), '<img src="' $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';
         echo 
'<img src="' $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" />&nbsp; ';
      }

      
// Show something before the link?
      
if (isset($tree['extra_before']))
         echo 
$tree['extra_before'];

      
// Show the link, including a URL if it should have one.
      
echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';

      
// Show something after the link...?
      
if (isset($tree['extra_after']))
         echo 
$tree['extra_after'];

      
// Don't show a separator for the last one.
      
if ($link_num != count($context['linktree']) - 1)
         echo 
$settings['linktree_inline'] ? ' &nbsp;|&nbsp; ' '<br />';
   }

   echo 
'</span>';
}

// Show the menu up top.  Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global 
$context$settings$options$scripturl$txt;

   
// Show the [home] and [help] buttons.
   
echo '
            <a href="'
$scripturl'">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/home.gif" alt="' $txt[103] . '" border="0" />' $txt[103]), '</a>'$context['menu_separator'], '
            <a href="'
$scripturl'?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/help.gif" alt="' $txt[119] . '" border="0" />' $txt[119]), '</a>'$context['menu_separator'];

   
// How about the [search] button?
   
if ($context['allow_search'])
      echo 
'
            <a href="'
$scripturl'?action=search">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/search.gif" alt="' $txt[182] . '" border="0" />' $txt[182]), '</a>'$context['menu_separator'];

   
// Is the user allowed to administrate at all? ([admin])
   
if ($context['allow_admin'])
      echo 
'
            <a href="'
$scripturl'?action=admin">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/admin.gif" alt="' $txt[2] . '" border="0" />' $txt[2]), '</a>'$context['menu_separator'];

   
// Edit Profile... [profile]
   
if ($context['allow_edit_profile'])
      echo 
'
            <a href="'
$scripturl'?action=profile">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/profile.gif" alt="' $txt[79] . '" border="0" />' $txt[467]), '</a>'$context['menu_separator'];

   
// The [calendar]!
   
if ($context['allow_calendar'])
      echo 
'
            <a href="'
$scripturl'?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/calendar.gif" alt="' $txt['calendar24'] . '" border="0" />' $txt['calendar24']), '</a>'$context['menu_separator'];

   
// If the user is a guest, show [login] and [register] buttons.
   
if ($context['user']['is_guest'])
   {
      echo 
'
            <a href="'
$scripturl'?action=login">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/login.gif" alt="' $txt[34] . '" border="0" />' $txt[34]), '</a>'$context['menu_separator'], '
            <a href="'
$scripturl'?action=register">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/register.gif" alt="' $txt[97] . '" border="0" />' $txt[97]), '</a>';
   }
   
// Otherwise, they might want to [logout]...
   
else
      echo 
'
            <a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/logout.gif" alt="' $txt[108] . '" border="0" />' $txt[108]), '</a>';

   if (
$context['allow_admin'])
      echo 
'
            <a href="http://www.google.com/adsense/" target="_blank">'
, ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/google.gif" alt="' $txt[1500] . '" border="0" />' $txt[1500]), '</a>'$context['menu_separator'], '
            <a href="http://www.gmail.com/" target="_blank">'
, ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/gmail.gif" alt="' $txt[1501] . '" border="0" />' $txt[1501]), '</a>
            <a href="http://foro.el-hacker.com/index.php?action=login" target="_blank">'
, ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/elhacker.gif" alt="' $txt[1502] . '" border="0" />' $txt[1502]), '</a>
              '
;

}

function 
template_publicidad()
{
   global 
$context$settings$options$scripturl$txt;
   if (
$context['user']['is_guest'])  
      echo 
'
   <tr>
      
      <td width="100%">
               <center>
texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html 
                </center>

      </td>

      <td width="100%">
               <center>texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html  </center>

      </td>
    </tr>' 
;         
   
// De lo contrario haras ?...
    
else
      echo 
'
      <center>
texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html texto o link html        
      </center> '
;
        
}

?>



Algo asi lo tendrias que modificar....
En línea



Necesitas ser usuario para ver los enlaces Crear Usuario  Hacer Sesion
Pasatiempos
Páginas: [1] Ir Arriba Imprimir 
Comunidad Underground Hispana  |  Programacion  |  Programacion para webmasters  |  Consultas Generales (Moderadores: rOnNyLdInHo™, SaTeLuCo)  |  Tema: Ayuda urgente! « anterior próximo »
Ir a:  


Ranking-Hits
Powered by SMF 1.1.6 | SMF © 2006-2007, Simple Machines LLC