Page 4 of 6

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 16. May 2019 14:10
by Fritschie
Ok dann warten wir, zur Zeit habe ich auf der Originalseite den Blockstil auf an stehen.
So läuft es ja auch ohne Probleme
Hier der angekündigte Screenshot mit dem genannten Problem
https://www.anlagenmeisterei.de/images/screenshot2.jpg

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 16. May 2019 14:28
by Kirk
Bitte beantworte doch mal meine Frage!
Kirk wrote: 16. May 2019 14:01 Ist dieser Fehler auch in prosilver?

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 18. May 2019 14:29
by TrekRed
The text walker does not work correctly and therefore all blocks move out!

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 18. May 2019 19:32
by Kirk
TrekRed wrote: 18. May 2019 14:29 The text walker does not work correctly
I know that!
TrekRed wrote: 18. May 2019 14:29 and therefore all blocks move out!
Open: root/ext/board3/portal/portal/fetch_posts.php

Find:

Code: Select all

$message = str_replace(array("\n", "\r"), array("\n"), $row['post_text']);
Replace with:

Code: Select all

$message = str_replace(array("\n", "\r"), array('<br />', "\n"), $row['post_text']);

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 18. May 2019 21:14
by TrekRed
Kirk.
Now ok, but:
1. No description!
2. How to remove the frame and text "Attachments"?

If this is fixed, there will be a class !!!

Image

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 08:42
by Kirk
You have to click on the button "Place inline".
picture_place_inline.jpg
If there is no description, then it's the attachment.html of your style. This has nothing to do with the portal.

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 11:23
by TrekRed
1. Understood.
2. Kirk. Understood with 2 points, does not perceive the BB-code. How to fix? Not friendly with the codes in width, in the center, etc. How to make friends portal with BB codes?
3. How to change another link to the post?
Image

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 18:22
by Kirk
2. I do not understand
3. The link points to the respective topic.

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 18:49
by TrekRed
1. Due to BB codes, align by width, central, incorrectly recognized by the portal, when you disable these BB codes, then everything is fine! How to fix portal error with BB codes?
Image

Image

Image

See the difference?

2. When clicking on the link below, the view is: Image, Image.
when you click on the top link, the view is different: Image, Image

Therefore, I want to replace the bottom link with the top one!

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 19:28
by Kirk
1. + 2. It's because of this change, it is a compromise.
TrekRed wrote: 19. May 2019 18:49 Therefore, I want to replace the bottom link with the top one!
Open: root/ext/board3/portal/styles/prosilver/template/portal/modules/news_center.html
Find:

Code: Select all

<span class="portal-read-all-link">{news.news_row.OPEN}<a href="{news.news_row.U_READ_FULL}">{news.news_row.L_READ_FULL}</a>{news.news_row.CLOSE}</span>
Replace with:

Code: Select all

<span class="portal-read-all-link"><!-- IF news.news_row.S_UNREAD_INFO --><a class="unread" href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><!-- IF news.news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news.news_row.POST_ICON_IMG}" width="{news.news_row.POST_ICON_IMG_WIDTH}" height="{news.news_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>{news.news_row.TITLE}</strong></a></span>
In the end "ACP -> General" --> purge cache, it's recommended to purge your browser cache too.

Note:
In addition the place is too small, if there is a long topic title, it can come to problems.

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 19:36
by Fritschie
Kirk wrote: 16. May 2019 14:28 Bitte beantworte doch mal meine Frage!
Kirk wrote: 16. May 2019 14:01 Ist dieser Fehler auch in prosilver?
Ja kann ich bestätigen, gerade probiert.
Image

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 19:41
by Kirk
Schon gelesen?

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 19:46
by TrekRed
1. How to fix?
2. Leave the text "Read full", but with reference to the topic! No need to change the name below, just a link to the topic!

Thank you for your help, I ask for help solutions and patience!

Almost solved the problem! Left a little! Solve the issue with bb codes and do not change the name of the link below, but only to the topic itself!

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 20:07
by Kirk
1. I do not know that yet
2. Take this code:

Code: Select all

					<span class="portal-read-all-link"><!-- IF news.news_row.S_UNREAD_INFO --><a class="unread" href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>[ {news.news_row.L_READ_FULL} ]</strong></a></span>

Re: Cannot load XML: Premature end of data in tag r line 1

Posted: 19. May 2019 20:24
by TrekRed
1. This is the last problem! All because of the BB code "In the center" and "in width", I will wait for a decision! Thank! When there are no these bb codes, then everything is fine, but I need these codes for the text!
Image

2. Now, as it should! Thank!!!