Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline GendrixonEvgeny  
#1 Posted : Wednesday, November 8, 2017 3:33:41 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Added a page to the forum for news.

Conclusion with IPB: (good)
Sn8_gTEdSJqNWRWVKydwFQ.png

Conclusion with YAF: (bad)
tR4D1jE2TzeQKrj4th2P8Q.png


Added by: YAF/controls/News.ascx like that https://www.codeproject....d-in-an-ASP-NET-Web-Page

Added to YAF/pages/forum.ascx for the test

Code:
<%@ Register TagPrefix="YAF" TagName="News" Src="../controls/News.ascx" %>
<YAF:News ID="News" runat="server"/>

Edited by moderator Sunday, November 12, 2017 6:16:04 AM(UTC)  | Reason: added syntax highlighting

Sponsor
Offline GendrixonEvgeny  
#2 Posted : Sunday, November 12, 2017 6:05:35 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

The problem remains unresolved. On the main page of the forum you need to bring news (RSS) from the topic with news. But for some reason we get an error using the RCC from our YAF Forum. With the rest of the streams, for example with the IPB/IPS everything is fine.
Offline tha_watcha  
#3 Posted : Sunday, November 12, 2017 6:12:02 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
Originally Posted by: GendrixonEvgeny Go to Quoted Post
The problem remains unresolved. On the main page of the forum you need to bring news (RSS) from the topic with news. But for some reason we get an error using the RCC from our YAF Forum. With the rest of the streams, for example with the IPB/IPS everything is fine.


Sorry but we can not help you with custom code

Code:
<YAF:News ID="News" runat="server"/>


that part of code is not part of YAF. And you don't post here any code to help you. Instead of using code you could try to use widgets instead for example

https://feed.mikle.com/



Offline GendrixonEvgeny  
#4 Posted : Saturday, November 25, 2017 12:16:09 PM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: GendrixonEvgeny Go to Quoted Post
The problem remains unresolved. On the main page of the forum you need to bring news (RSS) from the topic with news. But for some reason we get an error using the RCC from our YAF Forum. With the rest of the streams, for example with the IPB/IPS everything is fine.


Sorry but we can not help you with custom code

Code:
<YAF:News ID="News" runat="server"/>


that part of code is not part of YAF. And you don't post here any code to help you. Instead of using code you could try to use widgets instead for example

https://feed.mikle.com/




Good evening. I would not like to use extraneous widgets ... Is there an opportunity for the forum to display news from this topic on a kastum? In the first message, I published a link to the code that works and was successfully added to the forum. But unfortunately it does not work with the threads of the YAF forum itself.

It is necessary to understand for what reasons we receive an error using a link of the form: http :// www .yetanotherforum. net/forum/rsstopic/ft0-forum-rss?pg=3

If we use a link like: https ://lenta. ru/rss/news that all works flawlessly.
Offline tha_watcha  
#5 Posted : Sunday, November 26, 2017 7:16:30 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 3/6/2010(UTC)
Posts: 3,743
Germany

Thanks: 70 times
Was thanked: 1149 time(s) in 979 post(s)
I tested the the code from Codeproject and the forum link works without problems

rss.PNG

You have not provided what that control

Code:
<YAF:News ID="News" runat="server"/>


actually does, or any code
Offline GendrixonEvgeny  
#6 Posted : Sunday, November 26, 2017 9:35:57 AM(UTC)
GendrixonEvgeny


Rank: YAF Camper

Reputation:

Joined: 11/5/2017(UTC)
Posts: 19

Originally Posted by: tha_watcha Go to Quoted Post
I tested the the code from Codeproject and the forum link works without problems

rss.PNG

You have not provided what that control

Code:
<YAF:News ID="News" runat="server"/>


actually does, or any code


I'm sorry, it's working. In view of the fact that in this forum my IP address is regularly blocked - I received this error ...

Edited by user Sunday, November 26, 2017 9:46:09 AM(UTC)  | Reason: Not specified

Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error