una pregunta...

Started by Alex-BCN, May 18, 2006, 11:57:30 AM

Previous topic - Next topic

Alex-BCN

version foro: smf 1.0.7.
theme: default de smf

mi pregunta es k en el tema de dafault de smf arriba del todo te viene una flechita la cual si la apretas se te cierran/abren las estadisticas de tu perfil,foro,etc.... y mi pregutna es si hay alguna forma para hacer ke so de mostrar/esconder no funcione, es decir k siempre se muestren las estadisticas de arriba del todo, xq resulta k los del alojamiento web me han puesto un banner de esos flotantes, y cuando esta desplegado el foro, el banne me aparece la mitad abajo de las estadisticas, y la X para cerrarlo no se ve, y causa problemas(aunke si le das a encojer el foro, a la flechita esa de arriba de la izkierda, si k sale la X) pero yo kiero k no se pueda desplegar ni na el foro para k asi supuestamente el banner flotante ese no salga desconfigurado...

Pedi que me borren

Me imagino que te referis a esta: upshrink.gif = ...Abri el index.template.php busca:

// this is the upshrink button for the user info section
echo '
<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="margin: 0 1ex;" /></a>



Y borra:
<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="margin: 0 1ex;" /></a>

hacete una copia del original, por si el baner del hosting afecta esa zona...

Alex-BCN

// The "key stats" box.
   echo '
               <div class="headertitles" style="width: 260px;"><img src="', $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
               <div class="headerbodies" style="width: 260px; position: relative; background-image: url(', $settings['images_url'], '/box_bg.gif);">
                  <img src="', $settings['images_url'], '/', $context['user']['language'], '/keystats.gif" style="position: absolute; left: -1px; top: -16px;" alt="" />
                  <div style="height: 35px; padding: 5px;" class="smalltext">
                     <b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $modSettings['memberCount'], '</b> ', $txt[19], '<br />
                     ', $txt[656], ': <b> <a href="', $scripturl, '?action=profile;u=', $modSettings['latestMember'], '">', $modSettings['latestRealName'], '</a>
                  </div>
               </div>';

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

      <a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />';

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

   echo '
   </div>';



perdona pero... podias decirme k borro exactamente segun el texto ese k te muestro ahí.... xq borrando eso k me has dixo, me aparece un error en la plantilla, xfavor dime si hay k borrar algun algun echo' o un </td> o algo xfavor...
salu2

Pedi que me borren

Lo hiciste mal...
Volve a mirar el codigo...te deje una linea especifica para que puedas ubicarla:

// this is the upshrink button for the user info section

[darksteel]

// The "key stats" box.
   echo '
               <div class="headertitles" style="width: 260px;"><img src="', $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
               <div class="headerbodies" style="width: 260px; position: relative; background-image: url(', $settings['images_url'], '/box_bg.gif);">
                  <img src="', $settings['images_url'], '/', $context['user']['language'], '/keystats.gif" style="position: absolute; left: -1px; top: -16px;" alt="" />
                  <div style="height: 35px; padding: 5px;" class="smalltext">
                     <b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $modSettings['memberCount'], '</b> ', $txt[19], '<br />
                     ', $txt[656], ': <b> <a href="', $scripturl, '?action=profile;u=', $modSettings['latestMember'], '">', $modSettings['latestRealName'], '</a>
                  </div>
               </div>';

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

      <a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />

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

   echo '
   </div>';

borra lo de color rojo.



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Alex-BCN

Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.


borro eso exactamente, y siempre me aparece el mismo error

ademas,aparte de intentarlo con el foro k kiero hacer eso, lo he intentado tambien en otro k tengo para hacer pruebas, y me sale lo mismo...

[darksteel]

tas borrando algún ';

darksteel-



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Alex-BCN

lo logré, miles de gracias

Advertisement: