SimplePortal

Support => International Support => Spanish => Topic started by: rafatuxgk on May 09, 2010, 12:07:47 PM

Title: linksharing
Post by: rafatuxgk on May 09, 2010, 12:07:47 PM
spain:
Hola!

Tengo una duda,estoy haciendo una web linksharing ,y bueno miren ustedes:
http://i39.tinypic.com/20g06j8.png

¿qué les parece? bueno , a mí me gusta.

El potencial de simple portal es increíble,así como su facilidad.

Por ello: gracias.

Pero querría hacer algo:
Que cada categoría tenga un icono,y salga en simpleportal. Estilo taringa.net

gracias!

Hello!

I have a question, I'm doing a linksharing web, and you look good:
http://i39.tinypic.com/20g06j8.png

What do you think? well, I like it.

The potential is incredible simple portal and ease.

So: thanks.

But I would like to do something:
That each category has an icon, and exit at simpleportal. Taringa.net Style

thanks!
Title: Re: linksharing
Post by: alex1215 on May 23, 2010, 03:49:16 AM
Nadie sabe como haser eso?
Title: Re: linksharing
Post by: 130860 on May 23, 2010, 06:54:48 PM
y que tal si buscan un poco?

http://simpleportal.net/index.php?topic=4151.0
Title: Re: linksharing
Post by: alex1215 on May 25, 2010, 10:47:02 AM
y que tal si buscan un poco?

http://simpleportal.net/index.php?topic=4151.0

Ya intente con este codigo
Code: [Select]
elseif ($display == 'full')

   {

      echo '

                        <table class="sp_fullwidth">';



      foreach ($items as $item)

         echo '

                           <tr>
                              <td class="sp_recent_icon sp_center">
                               <img src="'.$settings['theme_url']. '/icons/' . $item ['board']['id'] . '/on.png" width="20" height="20" >
                              </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[302] . '" border="0" /></a>', '<br />
                              </td>
                           </tr>';


Pero al agregar el bloque me sale error en la base de datos, el tipo de bloque es PHP mi versión de portal es 2.3
Title: Re: linksharing
Post by: 130860 on May 25, 2010, 12:00:00 PM
el codigo no lo debes de poner directamente en un bloque php, debes de modificar el bloque recent_topics en Sources/Portalblocks.php   busca ese bloque y reemplazar el codigo por el que te dieron
Title: Re: linksharing
Post by: alex1215 on May 25, 2010, 07:04:45 PM
el codigo no lo debes de poner directamente en un bloque php, debes de modificar el bloque recent_topics en Sources/Portalblocks.php   busca ese bloque y reemplazar el codigo por el que te dieron

busque en ese archivo que me dijistes busque esto recent_topics  pero no lo encontre :S
Title: Re: linksharing
Post by: 130860 on May 26, 2010, 10:32:19 AM
utiliza un editor de codigo como notepad++

esta alrededor de la linea 1045:  function sp_recent($parameters, $id, $return_parameters = false)
SimplePortal 2.3.8 © 2008-2024, SimplePortal