Technical support This forum is closed.
Version 1.x > Technical support > Displaying Posts by User account View modes: 
User avatar
Member
Member
nsightmedia - 7/21/2006 9:17:10 PM
   
Displaying Posts by User account
Hi,

My question is wheter or not I must recreate the display of posts using standard ASP.NET if I would like to display posts according to which user is viewing them. Specifically, I have a client who has seven companies who each have an individual login. Each company should only see it's own posts within a given Forum/Forum Group. If this must be done with straight ASP.NET, can you at least point me in the direction of the names of the data fields that must be manipulated?

Your help, as always, is greatly appreciated.


User avatar
Guest
admin - 7/24/2006 11:48:18 AM
   
Re: Displaying Posts by User account
Hello,

you may need to modify the file cmsdesk\Tools\Forums\ForumPosts.ascx.cs.

The following line retrieves posts into a DataTable object.

DataTable dt = CurrentForum.GetPosts().Tables[ 0 ];

You may need to filter out the unwanted posts from this table, using your code.

Alternatively, you could create separate forums, one for every company.

Best Regards,