TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 12:28:19 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 78
  • Total: 78

Tinyportal y post en Index

Started by Vice, June 22, 2009, 11:39:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vice

I believe that more or less I have understood him.

Seen the topic SMF's core, only it has been the Theme that is used, I checked several PHP of which you comment, less in the indicated theme. 

Probably the webmaster passed to place it in my site. I will comment on it to him.

I suppose that what he does will be late a time. Just now he is in period of examinations in the University.

I might edit it, but first I will wait for your response.


PD: Sorry about my English  :-\

ZarPrime

Vice,

Lo que estoy diciendo es que la ubicación de los derechos de autor es diferente para TP 0,98 que para TP 1.x. Si está utilizando TP 0,98, la información sobre derechos de autor se encuentra en el index.template.php, tanto en el tema por defecto de SMF y en su tema personalizado.

La línea de buscar en ese archivo es ...


echo '<div>', tportal_version (), '</ div>';


Si no aparece esa línea en ese fichero, entonces hay que añadir por encima de (la mayoría de las veces) o justo debajo de la SMF información de copyright. En cuanto a su sitio, probablemente, se añadirá justo encima.

ZarPrime

In English ...

Vice,

What I am saying is that the location for the copyright information is different for TP 0.98 than it is for TP 1.x.  If you are using TP 0.98, the copyright information is located in the index.template.php, both in the default SMF theme and in your custom theme.

The line to look for in that file is ...


echo '<div>' , tportal_version() , '</div>';


If you don't see that line in that file, then it should be added right above (most of the time) or right below the SMF copyright information.  Looking at your site, it should probably be added right above.

ZarPrime

Herr Inoddorell

#22
Yo en mi caso lo que hice fue borrarlo del TPBlocksLayout.php, y copiarlo por mi cuenta como estaba y lo coloqué al lado del copyright de SMF, ya que con el codigo que estaba en TPBlocksLayout.php no lo pude poner. Lo importante es hacer mención del Copyright y poner el link de Tinyportal ahora edito y te muestro como lo coloqué en mi index.template.php.

EDIT: Esta es una forma práctica de poner el copyright en un lugar que no "moleste".

buscar:

', theme_copyright(), '

Añadir luego:


<span style="font-size: 10px;"> TinyPortal v1.0.5 beta 1© <a href="http://www.tinyportal.net/">Bloc</a></span>


En tu caso en lugar de poner v1.0.5 beta 1, deberias poner tu version de TP ;).

Saludos!

Vice


Lo he puesto algo distinto, Ã,¿sería válido así? Está abajo a la derecha!

Herr Inoddorell

Mmm en mi opinión así está bien también, porque menciona la licencia de TP y muestra el redireccionamiento hacia la web de TP, aunque mejor dejemos que ZarPrime responda, a ver qué opina ;).

ZarPrime

No es exactamente la derecha, pero es lo suficientemente cerca para no preocuparse por ella. Como ya he dicho, en el TP 0,98, la línea que falta es que en mi último post anterior, y se encuentra en el archivo index.template.php, pero en el TP versiones 1.x, la información sobre derechos de autor se encuentra en el TPBlocksLayout.php archivo como Herr Inoddorell mencionado. Y si al actualizar a 1.0 beta 4 TP, tendrá que desinstalar TP 0.98 primero y es posible que obtenga errores al hacer en caso de que algunas líneas no se puede encontrar.

ZarPrime