Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

December 09, 2022, 06:36:49 PM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193628
  • Total Topics: 21108
  • Online today: 56
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 42
Total: 42

Author Topic: tp downloads corrupt display  (Read 992 times)

0 Members and 1 Guest are viewing this topic.

Offline Replayuk

  • Jr. Member
  • **
  • Posts: 49
tp downloads corrupt display
« on: June 15, 2022, 04:20:48 PM »
On a mobile phone it looks fine on full screen layout it`s skewed all over to the left hand side of the screen any idea`s as to why it`s doing this.

we are running 2.0.19 and TinyPortal 1.6.9 everything looks great on the settings but for some reason everything pushes to the left hand side of the screen all squashed up and un-readable.

 :)

Offline @rjen

  • Support Team
  • *
  • Posts: 3342
    • FJR-club Nederland
Re: tp downloads corrupt display
« Reply #1 on: June 15, 2022, 11:39:01 PM »
What page are we talking about: the main page ? A category page? Individual download? All?

Do you have panels showing on the downloads ?

Please provide screenshots of the problem pageā€¦ 
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline Replayuk

  • Jr. Member
  • **
  • Posts: 49
Re: tp downloads corrupt display
« Reply #2 on: June 16, 2022, 08:37:21 AM »
Hi @rjen thankyou for your fast reply, the problem is not on the main tp downloads page but in a category page i have attached a snap shot of the problem.


Offline @rjen

  • Support Team
  • *
  • Posts: 3342
    • FJR-club Nederland
Re: tp downloads corrupt display
« Reply #3 on: June 16, 2022, 11:37:08 AM »
I think I have seen that before. Most likely the issue is caused by the "shortening" of the body text. In 1.6.9 (which is no longer developed by the way) the body text is "cut off' at a certain number of characters.

If the body text contains html code, the cut may be made between tags. A stray <div > without closing tag wil cause this effect.

Check the descriptions of you downloads for html en try to avoid it...

The only permanent solution is to upgrade to TinyPortal 2.2.2 (the latest version) where the shortening logic is adapted to prevent this issue

If you cannot find the cause in the descriptions you can send me a pm with an account for your forum: I can then see where it comes from...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline @rjen

  • Support Team
  • *
  • Posts: 3342
    • FJR-club Nederland
Re: tp downloads corrupt display
« Reply #4 on: June 17, 2022, 09:01:11 AM »
Exacly what I thought: you are using the Wysiwyg editor, and I suspect you are copying the content from some website into the editor: that brings in a LOT of HTML formatting, which gets CUT in the middle...

I see in attachment one that there is formatting applied.

Go to edit and in the editor click on the 'View source' button

Then I see all the HTM (attachment 3)

Best way to go about this: NEVER copy formatted text from other sources, instead just type the text in the editor.
Safer way to go about it: switch to the BBC code editor instead.
I fixed a few of the descriptions by copying the text, switching to Source view and pasting the clean text as source code.
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline Replayuk

  • Jr. Member
  • **
  • Posts: 49
Re: tp downloads corrupt display
« Reply #5 on: June 17, 2022, 09:50:00 AM »
Ah so because the user who`s uploaded them has copied his text from another source and just pasted it in there is clashes with the tp code too,

So what i need to do now is edit all the uploaded files that are out of alignment and just goto source and type it is so it clean and that should do it.


Offline @rjen

  • Support Team
  • *
  • Posts: 3342
    • FJR-club Nederland
Re: tp downloads corrupt display
« Reply #6 on: June 17, 2022, 09:50:56 AM »
Yes
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline Replayuk

  • Jr. Member
  • **
  • Posts: 49
Re: tp downloads corrupt display
« Reply #7 on: June 17, 2022, 09:52:39 AM »
Cheers @rjen your a gent,

 ;)

Offline Replayuk

  • Jr. Member
  • **
  • Posts: 49
Re: tp downloads corrupt display
« Reply #8 on: June 17, 2022, 10:01:51 AM »
Now as i look at the source code editor i can see the clash in the code now,

So it looks like i have a very long boring job of editing all the uploads now LOL

But that being said its worth it,

 ;)

Offline @rjen

  • Support Team
  • *
  • Posts: 3342
    • FJR-club Nederland
Re: tp downloads corrupt display
« Reply #9 on: June 17, 2022, 10:14:03 AM »
Mind you, this functionality has been improved in the new branche . I still recommend that you upgrade to tp 2.2.2
Running Latest TP on SMF2.1 at: www.fjr-club.nl