PCSTech
  •  PCSTech
  • 51.4% (Neutral)
  • YAF Forumling Topic Starter
2018-07-24T13:15:29Z
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
2018-07-26T08:54:02Z
Originally Posted by: PCSTech 

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.



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);


UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved