+ Responder a Tema
Página 2 de 7
PrimeroPrimero 1 2 3 4 ... ÚltimoÚltimo
Mostrando resultados del 11 al 20 de 65

Tema: Se buscan diseñadores de foros SMF

Bookmark and Share
  1. #11
    Avatar de Mery_1988
    Mery_1988 esta offline Súper Moderador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    3,744

    Predeterminado

    // The logo, user information, news, and menu.
    echo '
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td class="catbg" height="32">';

    if (empty($settings['header_logo_url']))
    echo '
    <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', '</span>';
    else
    echo '
    <img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

    echo '
    </td>
    <td align="right" class="catbg">
    <center><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></center>
    </td>
    </tr>
    </table>';

    // 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'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.';

    // Are there any members waiting for approval?
    if (!empty($context['unapproved_members']))
    echo '<br />
    ', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $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;">';

    // Show the menu here, according to the menu sub template.
    template_menu();

    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>

    <br />
    <table cellspacing="0" cellpadding="10" border="0" align="center" width="95%" class="tborder">
    <tr><td valign="top" style="background-color: #ffffff;">';
    }

    No sé si será suficiente con eso...

    Kelly Clarkson Spain, Club de fans OFICIAL de Kelly Clarkson en España

  2. #12
    Avatar de FanClub
    FanClub esta offline Administrador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    28,931

    Predeterminado

    Voy hacer una cosa, esta noche si tengo tiempo me lo instalo en mi servidor y lo pruebo un poco para saber exactamente como se modifican los themes y se añaden imágenes.
    ¿Te ha gustado esta noticia?
    Pulsa en Responder y coméntala.

    Foro Fan Club >> Noticias de tus artistas favoritos las 24 horas del día.

  3. #13
    Avatar de Mery_1988
    Mery_1988 esta offline Súper Moderador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    3,744

    Predeterminado

    Cita Iniciado por FanClub Ver Mensaje
    Voy hacer una cosa, esta noche si tengo tiempo me lo instalo en mi servidor y lo pruebo un poco para saber exactamente como se modifican los themes y se añaden imágenes.
    Lo de la imagen está solucionado... ahora lo k me fastidia son los iconos estos de inicio y tal pascual xD

    Kelly Clarkson Spain, Club de fans OFICIAL de Kelly Clarkson en España

  4. #14
    Avatar de FanClub
    FanClub esta offline Administrador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    28,931

    Predeterminado

    Cita Iniciado por Mery_1988 Ver Mensaje
    Lo de la imagen está solucionado... ahora lo k me fastidia son los iconos estos de inicio y tal pascual xD
    Debe estar más abajo del código que me has mandando. De todas maneras has debido de borrar algún tipo de info para que salga así. Probablemente borraras algún código similar a estos:
    Código:
    <br>
    </p>
    <br />
    ¿Te ha gustado esta noticia?
    Pulsa en Responder y coméntala.

    Foro Fan Club >> Noticias de tus artistas favoritos las 24 horas del día.

  5. #15
    Avatar de FanClub
    FanClub esta offline Administrador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    28,931

    Predeterminado

    Ah, y el color veo que lo manejas ya.... Date tiempo, que acabas de empezar.
    ¿Te ha gustado esta noticia?
    Pulsa en Responder y coméntala.

    Foro Fan Club >> Noticias de tus artistas favoritos las 24 horas del día.

  6. #16
    Avatar de Mery_1988
    Mery_1988 esta offline Súper Moderador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    3,744

    Predeterminado

    El color ya está. Lo único k kiero es arreglar eso xD

    Kelly Clarkson Spain, Club de fans OFICIAL de Kelly Clarkson en España

  7. #17
    Avatar de FanClub
    FanClub esta offline Administrador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    28,931

    Predeterminado

    Cita Iniciado por Mery_1988 Ver Mensaje
    El color ya está. Lo único k kiero es arreglar eso xD
    Ponme un poco más de código, a ver si localizo lo que te interesa.
    ¿Te ha gustado esta noticia?
    Pulsa en Responder y coméntala.

    Foro Fan Club >> Noticias de tus artistas favoritos las 24 horas del día.

  8. #18
    Avatar de Mery_1988
    Mery_1988 esta offline Súper Moderador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    3,744

    Predeterminado

    // The logo, user information, news, and menu.
    echo '
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td class="catbg" height="32">';

    if (empty($settings['header_logo_url']))
    echo '
    <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', '</span>';
    else
    echo '
    <img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

    echo '
    </td>
    <td align="right" class="catbg">
    <center><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></center>
    </td>
    </tr>
    </table>';

    // 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'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.';

    // Are there any members waiting for approval?
    if (!empty($context['unapproved_members']))
    echo '<br />
    ', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $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;">';

    // Show the menu here, according to the menu sub template.
    template_menu();

    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>

    <br />
    <table cellspacing="0" cellpadding="10" border="0" align="center" width="95%" class="tborder">
    <tr><td valign="top" style="background-color: #d6947d;">';
    }

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

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

    // Show a vB style login for quick login?
    if ($context['show_quick_login'])
    {
    echo '
    <table cellspacing="0" cellpadding="0" border="0" align="center" width="95%">
    <tr><td nowrap="nowrap" align="right">
    <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>

    <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '><br />
    <input type="text" name="user" size="7" />
    <input type="password" name="passwrd" size="7" />
    <select name="cookielength">
    <option value="60">', $txt['smf53'], '</option>
    <option value="1440">', $txt['smf47'], '</option>
    <option value="10080">', $txt['smf48'], '</option>
    <option value="43200">', $txt['smf49'], '</option>
    <option value="-1" selected="selected">', $txt['smf50'], '</option>
    </select>
    <input type="submit" value="', $txt[34], '" /><br />
    ', $txt['smf52'], '
    <input type="hidden" name="hash_passwrd" value="" />
    </form>
    </td></tr>
    </table>';
    }

    // Don't show a login box, just a break.
    else
    echo '
    <br />';

    // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
    echo '
    <br />

    <table cellspacing="0" cellpadding="3" border="0" align="center" width="95%" class="tborder">
    <tr style="background-color: #d6947d;">
    <td width="28%" valign="middle" align="right">
    <a href="http://www.mysql.com/" target="_blank"><img src="', $settings['images_url'], '/mysql.gif" alt="', $txt['powered_by_mysql'], '" width="88" height="31" border="0" /></a>
    <a href="http://www.php.net/" target="_blank"><img src="', $settings['images_url'], '/php.gif" alt="', $txt['powered_by_php'], '" width="88" height="31" border="0" /></a>
    </td>
    <td width="44%" valign="middle" align="center">
    ', theme_copyright(), '
    </td>
    <td width="28%" valign="middle" align="left">
    <a href="http://validator.w3.org/check/referer" target="_blank"><img src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="88" height="31" border="0" /></a>
    <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="88" height="31" border="0" /></a>
    </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>';

    // The following will be used to let the user know that some AJAX process is running
    echo '
    <div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</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">', ($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'];

    Ahí va el trozo de los botones k creo k son los k me dan problemas...

    Kelly Clarkson Spain, Club de fans OFICIAL de Kelly Clarkson en España

  9. #19
    Avatar de FanClub
    FanClub esta offline Administrador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    28,931

    Predeterminado

    Esta es la parte que dices:
    Código:
    // 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">', ($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'];
    Aunque a simple vista no veo el problema, debe haber otra cosa que interfiere. Prueba a restaurar el theme, vuelvelo a cargar.

    Por cierto, recuerda que puedes trasladar todo el foro que tienes a este: usuarios, mensajes, subforos...
    ¿Te ha gustado esta noticia?
    Pulsa en Responder y coméntala.

    Foro Fan Club >> Noticias de tus artistas favoritos las 24 horas del día.

  10. #20
    Avatar de Mery_1988
    Mery_1988 esta offline Súper Moderador
    Fecha de Ingreso
    octubre-2008
    Mensajes
    3,744

    Predeterminado

    Puedo?? Aunke el otro sea phpb?? :S

    por cierto, k ese trocito no lo he tocado ninguna vez... T_T asik no creo k poner el tema otra vez ayudase

    Kelly Clarkson Spain, Club de fans OFICIAL de Kelly Clarkson en España

+ Responder a Tema
Página 2 de 7
PrimeroPrimero 1 2 3 4 ... ÚltimoÚltimo

Temas Similares

  1. Nuevos Foros Abiertos
    By FanClub in forum Novedades
    Respuestas: 4
    Último mensaje: 21-nov-2008, 05:25
  2. Nuevos foros
    By FanClub in forum Novedades
    Respuestas: 0
    Último mensaje: 25-oct-2008, 21:58

Tags for this Thread

Normas de Publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes





Search Engine Optimization by vBSEO