YAFLogo

herman_herman
10 years ago
Hi
Buddy list is visible at the bottom of all tabs in Profile (Show profile) page.I think this should only be visible in "BuddyListTab" tab.

Cheers
Sponsor

coral
  • coral
  • 72% (Friendly)
  • YAF Lover
10 years ago
Yes, and the reason is the following line in profile.ascx file.

<li runat="server" id="BuddyLi"><a href="#BuddyListTab"><YAF:LocalizedLabel ID="LocalizedLabel44" runat="server" LocalizedTag='<%# this.UserId == this.PageContext.PageUserID ? "BUDDIES" : "BUDDIESTITLE"%>' /></a></li>

The id of BuddyListTab is server id not the client one.

I changed it to the following and it is fine now.

<li runat="server" id="BuddyLi"><a href='#<%# this.BuddyListTab.ClientID %>'><YAF:LocalizedLabel ID="LocalizedLabel44" runat="server" LocalizedTag='<%# this.UserId == this.PageContext.PageUserID ? "BUDDIES" : "BUDDIESTITLE"%>' /></a></li>	
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
Thanks, fixed in the next release
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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