Seleccionar idioma:
Favoritos - Portfolio - Donación - Descargas




* Como saco estas 2 cosas?
  Leído 774 veces
* Viendo el foro
 0 Usuarios y 1 Visitante están viendo este foro.


Tema Solucionado
*
may 20 2011


hola, quiero saber como se hace para sacar eso que dice en qeu parte del foro estas, ej: PruebaPS » Centro de Administración » Paquetes » Explorar paquetes

Y tmb quiero saber como hacer para sacar eso que dice los mensajes, los temas y los usuarios, ej: 2 Mensajes - 2 Temas - 2 Usuarios

Este es mi foro de prueba.......
http://pruebaps.eshost.es

Saludos.....

Animated Arena

Mensajes: 63


En línea

*
may 20 2011


ese es el LinkTree

adjunta tu index.template.php



In the beginner's mind there are many possibilities. In the expert's mind there are few.

Experimentado
#1

Mensajes: 322


En línea

*
may 20 2011


ca dejo el index.template.php

Animated Arena
#2

Mensajes: 63


En línea

*
may 23 2011


en tu index.template.php busca esto:

Código: [Seleccionar]
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="navigate_section">
<ul>';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

// 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 $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// 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 ' &#187;';

echo '
</li>';
}
echo '
</ul>
</div>';

$shown_linktree = true;
}

y lo eleminas, con eso borraras el pedazo que te muestra en que parte del foro estas.

PD: Para lo segundo que pides en tu post principal, no lo entendi



In the beginner's mind there are many possibilities. In the expert's mind there are few.

Experimentado
#3

Mensajes: 322


En línea

*
may 23 2011


en tu index.template.php busca esto:

Código: [Seleccionar]
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="navigate_section">
<ul>';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

// 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 $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// 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 ' &#187;';

echo '
</li>';
}
echo '
</ul>
</div>';

$shown_linktree = true;
}

y lo eleminas, con eso borraras el pedazo que te muestra en que parte del foro estas.

PD: Para lo segundo que pides en tu post principal, no lo entendi

Si elimina eso le va a dar un error!! para quitar el Linktree solo tiene que buscar y eliminar (index.template.php)
Código: [Seleccionar]
// Show the navigation tree.
theme_linktree();



Experimentado
#4

Mensajes: 226


En línea

*
may 23 2011


Algo me decia que era esa parte  :o



In the beginner's mind there are many possibilities. In the expert's mind there are few.

Experimentado
#5

Mensajes: 322


En línea

*
may 23 2011


en tu index.template.php busca esto:

Código: [Seleccionar]
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="navigate_section">
<ul>';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

// 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 $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// 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 ' &#187;';

echo '
</li>';
}
echo '
</ul>
</div>';

$shown_linktree = true;
}

y lo eleminas, con eso borraras el pedazo que te muestra en que parte del foro estas.

PD: Para lo segundo que pides en tu post principal, no lo entendi

Si elimina eso le va a dar un error!! para quitar el Linktree solo tiene que buscar y eliminar (index.template.php)
Código: [Seleccionar]
// Show the navigation tree.
theme_linktree();

muchas gracias pero al sacar el linktree me quedo mal el borde de la categoria, eso se podra arreglar de alguna manera? miren: http://pruebaps2.eshost.es/

Si no saben como hacerlo, igualmente muchas gracias ya por su ayuda......

Animated Arena
#6

Mensajes: 63


En línea

*
may 23 2011


m aver proba con este index aver como te va



Intermedio / Experimentado
#7

Mensajes: 73

Compartiendo las 24hs 

En línea

*
may 23 2011


m aver proba con este index aver como te va

es que ese index.template, es de otro tema, ahora tengo el animated arena..... si queres decime como hicisto o por las dudas te lo dejo adjuntado.....

Gracias de antemano  :D

Animated Arena
#8

Mensajes: 63


En línea

*
may 23 2011


bueno para lo segundo  tenes que hacer los en el boardindex.templante.php

busca esto
Código: [Seleccionar]
<p>
', $context['common_stats']['total_posts'], ' ', $txt['posts_made'], ' ', $txt['in'], ' ', $context['common_stats']['total_topics'], ' ', $txt['topics'], ' ', $txt['by'], ' ', $context['common_stats']['total_members'], ' ', $txt['members'], '. ', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br />

y remplasalo pro
Código: [Seleccionar]
<p>



Post unido automaticamente: 23/05/2011 (06:11:03) pm
ok proba con este index aver que pasa

lo que ice fue remplasar el linktree por solo el div que tiene esa cecion

Código: [Seleccionar]
echo'<div class="navigate_section">&nbsp;&nbsp;</div>';
quedando asi

detalles :

<div class="navigate_section"> aca estaria el supuesto codigo del linktree </div>
y lo que ice es usar el div con el css para que todo quede alineado corectamente para no desformar el diceño



Intermedio / Experimentado
#9

Mensajes: 73

Compartiendo las 24hs 

« Última Modificación: 23/05/2011 (06:11:03) pm por pipi2010 »
En línea




Otros temas de su interes




Usuario:
Contraseña:
Sesión: