MemberList x ShowForumPostsInMemberList

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/16/2010 10:05:56 PM
Gravatar
Total Posts 70

MemberList x ShowForumPostsInMemberList

Hi Joe !!

When MojoPortal is configured with ShowForumPostsInMemberList = false, the column data is not shown but the column Header is!!

From what I could understand, we should use the same approach used in ShowWebSiteColumn:

            if (!ShowWebSiteColumn)
            {
                //thTitle.ColSpan = 4;
                //divNewUser.ColSpan = 4;
                //tdModulePager.ColSpan = 4;
                thWebLink.Visible = false;

            }

 

With this in mind, I renamed t4 to thForumPosts in the aspx, added a runat="server" and added the logic to make it invisible:

   <th id="thForumPosts" runat="server">
    <mp:SiteLabel id="lblTotalPosts" runat="server" ConfigKey="MemberListUserTotalPostsLabel" UseLabelTag="false"></mp:SiteLabel>
   </th>


and in the CS

            if (!ShowForumPostColumn)
            {
                thForumPosts.Visible = false;
            }

 

Everything worked like a charm :).  Could you please confirm this?

8/17/2010 6:46:17 AM
Gravatar
Total Posts 18439

Re: MemberList x ShowForumPostsInMemberList

Thanks Bruno,

This is now fixed in the repository.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.