YAFLogo

PCSTech
  • PCSTech
  • 51.4% (Neutral)
  • YAF Forumling Topic Starter
6 years ago
We are considering YAF for a new client who has an existing Forum solution on a VERY old CMS platform that is now dying!

We have been invited to pitch for the new web project and wish to use YAF (we have used it before) but the existing Forum is able to display latest Forum posts on the home page of the site as a separate component of the Forum on it's own dedicated page.

Also, the members create their own Albums and add photos but this system also allows latest photos to display on the home page.

Is there a way to do this with YAF?

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
6 years ago

We are considering YAF for a new client who has an existing Forum solution on a VERY old CMS platform that is now dying!

We have been invited to pitch for the new web project and wish to use YAF (we have used it before) but the existing Forum is able to display latest Forum posts on the home page of the site as a separate component of the Forum on it's own dedicated page.

Originally Posted by: PCSTech 

Yes that is possible. You can see it in the SampleApplication

You only need to put the ActiveDiscussion control on your page

<%@ Register TagPrefix="YAF" TagName="ForumActiveDiscussion" Src="forum/controls/ForumActiveDiscussion.ascx" %>


<YAF:ForumActiveDiscussion ID="ActiveDiscussions" runat="server" />

Also, the members create their own Albums and add photos but this system also allows latest photos to display on the home page.

Is there a way to do this with YAF?

Yes it would be possible. Users can post their Album images in message via a bbcode for example...

[ALBUMIMG]1[/ALBUMIMG]

and all you have to do is convert the bbcode to html via



  var flags = new MessageFlags { IsBBCode = true };
YAF.Core.YafContext.Current.Get<IFormatMessage>().FormatMessage(message, flags, true);

Users browsing this topic