YAFLogo

csource
  • csource
  • 58.8% (Neutral)
  • YAF Forumling Topic Starter
2009-05-11T15:24:53Z
Using v1.9.3 Final version and .net 2.0,

I've integrated the forum successfully but because I use my own Membership provider, I don't need to update the password within the forum so:

Q: How do I remove the Change_Password link in the cp_profile page?

Thanks for your help.

Sponsor
csource
  • csource
  • 58.8% (Neutral)
  • YAF Forumling Topic Starter
2009-05-13T18:37:10Z
Anyone?

I assume this will need to be removed from the code and that there is no setting? I have search through all the files but can't find the code where I can remove it. Anyone have any suggestions? Thanks.

logan
  • logan
  • 100% (Exalted)
  • YAF Leader
2009-05-14T02:24:10Z
YAF.Controls.ProfileMenu.cs #53 builds the change password link

you can comment it out and rebuild.

     // html.AppendFormat( @"<li><a href=""{0}"">{1}</a></li>", YAF.Classes.Utils.YafBuildLink.GetLink( YAF.Classes.Utils.ForumPages.cp_changepassword ), PageContext.Localization.GetText( "CHANGE_PASSWORD" ) );

test
csource
  • csource
  • 58.8% (Neutral)
  • YAF Forumling Topic Starter
2009-05-14T03:56:13Z
Logan,

thanks for your help. This is what's strange, I don't have a file called ProfileMenu.cs in my Controls folder. Do you know why? Thanks

logan
  • logan
  • 100% (Exalted)
  • YAF Leader
2009-05-14T05:13:55Z
You will need the source version.

the Bin version is precompiled.


test
csource
  • csource
  • 58.8% (Neutral)
  • YAF Forumling Topic Starter
2009-05-14T05:22:50Z
OH! Now it makes sense. I thought I was loosing it. OK well, that brings a whole new set of issues but at least I know what is going on now. Thanks.