Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

duda simple portal

Aloittaja santi11492, kesäkuu 04, 2011, 10:49:32 IP

« edellinen - seuraava »

santi11492

hola tengo una duda con el simple portal
yo lo instale y quiero qe me aparesca como la pagina ultimatez.net qe le aparece los temas y iconos
no se de donde lo instalo a ese bloque

si alguien save si me lo dice gracias :)

RAULVK

Si preguntas en la página de simpleportal te podrán ayudar mejor. De todas formas creo que esto es lo que estas buscando: http://simpleportal.net/index.php?topic=6196.msg36182#msg36182 o por lo menos se acerca mucho.

santi11492

Necesito tener los temas a la izquierda como esta pagina http://www.noexiste.net/ o como esta ultimatez.net
por favor ayuda ;)

RAULVK

Desde la administración de SimplePortal, le das a "Agregar bloque" - "Temas/mensajes recientes" - y en las opciones, donde pone columna, eliges izquierda.

La anchura se la das desde "Configuración de bloques".

Niell

Eso lo eh visto :

Abre el archivo : Sources/PortaBlocks.php y Buscar

      foreach ($items as $item)
         echo '
                           <tr>
                              <td class="sp_recent_icon sp_center">
                                 ', sp_embed_image(empty($parameters['type']) ? 'post' : 'topic'), '
                              </td>
                              <td class="sp_recent_subject">
                                 <a href="', $item['href'], '">', $item['subject'], '</a>
                                 ', $item['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $item['topic'] . '.msg' . $item['new_from'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt['new'] . '" border="0" /></a>', '<br />[', $item['board']['link'], ']
                              </td>
                              <td class="sp_recent_info sp_right">
                                 ', $item['poster']['link'], '<br />', $item['time'], '
                              </td>
                           </tr>';


Reemplazar por :

      foreach ($items as $key => $item)
      {
       $truncated = (strlen($item['subject']) > 20) ? substr($item['subject'], 0, 20) . '...' : $item['subject'];
         echo '
                           <tr>
                              <td class="sp_recent_icon sp_center">
                                 <img src="'.$settings['images_url']. '/s-icons/' . $item ['board']['id'] . '.png" width="23" height="23" alt="*" />
                              </td>
                              <td class="sp_recent_subject">
                                 <a href="' . $scripturl . '?topic=' . $item['topic'] . '.0" title="', $item['subject'], '">', $truncated , '</a>
                              </td>
                              <td class="sp_recent_info sp_right">
                                 <a href="', $item['href'], '"></a>
                              </td>
                           </tr>';
        }


y para los iconos en cada foro : crear una carpeta llamada s-icons en Theme/tutheme y pon las imagenes 1.png 2.png 3.png de acuerdo al foro,

Fuente : http://www.forodeptc.info/index.php?topic=744.0

santi11492


Advertisement: