YAFLogo

eHaggis
  • eHaggis
  • 58.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hello again.

I've created a new page that I would like everone who comes to the forum to be able to see without registering or logging in. I have successfully created the page and updated the YAF.Controls.Header.cs and YAF.Classes.Utils.ForumPages.cs files to get them to display.

Everything works as it should except one thing: the user must be registered and logged in in order to see the page.

How can I get around it? Where do I set the security so that everyone can see it?

Thanks in advance for your help!

eHaggis
Sponsor

eHaggis
  • eHaggis
  • 58.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
I still have not been able to figure this one out.

Does anyone out there know how to do it?

eHaggis
eHaggis
  • eHaggis
  • 58.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
eHaggis
  • eHaggis
  • 58.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
For anyone who finds this and wants to know how to do it.

I had the following line in the .cs file, which I had modeled on a different page:

	// check access permissions
	General.HandleRequest( PageContext, PageContext.BoardSettings.ProfileViewPermissions );

Remove or comment out that line and you should be good to go.

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