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

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 07:03:39 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 266
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 130
  • Total: 130

¿Error css or a bad configuration?

Started by Rock Lee, August 17, 2020, 10:27:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rock Lee

Link to my forum: LocalHost
SMF version: 2.0.17
TP version: 1.6.7
Default Forum Language: Spanish Latin UTF8 / English
Theme name and version: Default
Browser Name and Version: Firefox 79
Mods installed: none

I do not know if it is an error as such but trying some things on a localhost (reinstall everything again) do not finish to square.

It seems to put a very large image or a lot of text it cannot process or it finishes accommodating everything, create another category and it is visualized well with at least 1 post.

I have to do more tests but I do not know if it is an error, a bug, or referring to something (I will leave this topic in the form of a thread in the future).


Regards! :D

@rjen

What exactly are you trying to do that causes the issues? Cannot make that out from your description
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Rock Lee

Quote from: @rjen on August 17, 2020, 10:30:45 PM
What exactly are you trying to do that causes the issues? Cannot make that out from your description

Nothing weird I started posting images, with random text. I wanted to modify how much the categories can be seen and I came across this. It seems that the hierarchies/inheritances conflict on the theme, in theory it should appear like this on this page but it does not.


Regards!

@rjen

Sorry, cannot understand what you are doing. Since it is local I will not ask for a link.

Please describe step by step what you do in TinyPortal to create this result.

Are you using articles, blocks? How did you create them?
Where do you see a large image or text? How did you put that in?

If you are using articles, what type of article are you using? HTML, BBC or PHP?
If it is a block, what type of block?

If you want us to help you, you should provide a clear description of the issue and how to reproduce it...

Perhaps a screen shot of the complete screen would help, because just looking at three images of a footer section tells us nothing more then that it seems that there is one or more unclosed <divs> in the page somewhere...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Rock Lee

As they say a picture is worth a thousand words https://www.bombercode.net/Sitio/index.php?action=tpmod;dl=cat1 Sigo agregando elementos sin mas y empieza a deformarse. It's a clean forum I just downloaded TP and installed it. This by default only change does not show the portal. And the text you copied is just:

Quote
¿Qué es Lorem Ipsum?

Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto. Lorem Ipsum ha sido el texto de relleno estándar de las industrias desde el año 1500, cuando un impresor (N. del T. persona que se dedica a la imprenta) desconocido usó una galería de textos y los mezcló de tal manera que logró hacer un libro de textos especimen. No sólo sobrevivió 500 años, sino que tambien ingresó como texto de relleno en documentos electrónicos, quedando esencialmente igual al original. Fue popularizado en los 60s con la creación de las hojas "Letraset", las cuales contenian pasajes de Lorem Ipsum, y más recientemente con software de autoedición, como por ejemplo Aldus PageMaker, el cual incluye versiones de Lorem Ipsum.
¿Por qué lo usamos?

Es un hecho establecido hace demasiado tiempo que un lector se distraerá con el contenido del texto de un sitio mientras que mira su diseño. El punto de usar Lorem Ipsum es que tiene una distribución más o menos normal de las letras, al contrario de usar textos como por ejemplo "Contenido aquí, contenido aquí". Estos textos hacen parecerlo un español que se puede leer. Muchos paquetes de autoedición y editores de páginas web usan el Lorem Ipsum como su texto por defecto, y al hacer una búsqueda de "Lorem Ipsum" va a dar por resultado muchos sitios web que usan este texto si se encuentran en estado de desarrollo. Muchas versiones han evolucionado a través de los años, algunas veces por accidente, otras veces a propósito (por ejemplo insertándole humor y cosas por el estilo).

If you want, I'll give you an account so you can watch.


Regards!

@rjen

So the downloads then, thanks.

I recognize this issue now.
The files view uses a 'stripped' summary of the download files description: stripped to 400 characters.

If you are using the HTML editor and you paste texts with formatting this may happen because the description text is cut off between a <div> ... and a </div>

The problems starts here: https://www.bombercode.net/Sitio/index.php?PHPSESSID=a488675da104e1ed3869c78599c3768d&action=tpmod;dl=item14

and is repeated in more files...

This is the opening description...
Quote<!--  StartFragment  -->
</p>
<div>
   <h2>
      ¿Qué es Lorem Ipsum?
   </h2>
   <p>
      Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto. Lorem Ipsum ha sido el texto de relleno estándar de las industrias desde el año 1500, cuando un impresor (N. del T. persona que se dedica a la imprenta) desconocido usó una galería de textos y los mezcló de tal manera que logró hacer un libro de textos especimen. No sólo sobrevivió 500 años, sino que tambien ingresó como texto de relleno en documentos electrónicos, quedando esencialmente igual al original. Fue popularizado en los 60s con la creación de las hojas &quot;Letraset&quot;, las cuales contenian pasajes de Lorem Ipsum, y más recientemente con software de autoedición, como por ejemplo Aldus PageMaker, el cual incluye versiones de Lorem Ipsum.
   </p>
</div>

And it cut like this...
Quote<!--  StartFragment  -->
</p>
<div>
   <h2>
      ¿Qué es Lorem Ipsum?
   </h2>
   <p>
      Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto. Lorem Ipsum ha sido el texto de relleno estándar de las industrias desde el año 1500, cuando un impresor (N. del T. persona que se dedica a la imprenta) desconocido usó una galería de textos y los mezcló d

You see the opening <div> and does not have an ending </div>?

The only way to fix this at the moment is to check the description txt (in source view) and fix it in the text... make sure that there is also a closing div in the first 400 characters. Or (recommended): do not past html formatted text, but paste plain text and do the formatting yourself...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on August 19, 2020, 07:56:31 AM
So the downloads then, thanks.

I recognize this issue now.
The files view uses a 'stripped' summary of the download files description: stripped to 400 characters.


Nice catch @rjen.  I was thinking it was something to do with the cut off, but wasn't sure of the limit.  Maybe we should document this scenario, assuming there's no fix for it. 

@rjen

Quote from: lurkalot on August 19, 2020, 08:51:59 AM
Nice catch @rjen.  I was thinking it was something to do with the cut off, but wasn't sure of the limit.  Maybe we should document this scenario, assuming there's no fix for it.

Actually you brought this up a while ago. It was discussed as an improvement opportunity for 2.0.0.

https://www.tinyportal.net/index.php?topic=36303.msg297403#msg297403

still on the backlog though...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Yep I remember that now, when I added a link and it cut the code off in mid flight so to speak.  This does make using the html editor somewhat difficult to use in this scenario. Maybe why I either use the bbc or no editor at all..

tino

Quote from: @rjen on August 19, 2020, 09:43:42 AM
Quote from: lurkalot on August 19, 2020, 08:51:59 AM
Nice catch @rjen.  I was thinking it was something to do with the cut off, but wasn't sure of the limit.  Maybe we should document this scenario, assuming there's no fix for it.

Actually you brought this up a while ago. It was discussed as an improvement opportunity for 2.0.0.

https://www.tinyportal.net/index.php?topic=36303.msg297403#msg297403

still on the backlog though...

There is a fix of sorts for the other issue, it will not cut a link short anymore.

The div thing is harder to do without a full parser to count all the opening tags and add the missing ones and the output will look weird.

My preference is for html to be allowed but only a subset of html so no div tags, but that isn't so flexible. So it's really down to the user to check.