YAFLogo

vnykprabha
  • vnykprabha
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I'm getting denied access message when i tried to view uesr profiles(without login) in yaf forum used in my site. I would like to view profiles of users without login.

I assume YafBuildLink.AccessDenied() is the method that brings up the denied access message.
I've comment all references of this method in yaf code...but still not able to view profiles of users. Please help..
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
13 years ago
Their is a host Setting for that Host Settings ->Permission Settings - > "Profile Viewing Permissions" Set it to All Users

No need to change the code.
vnykprabha
  • vnykprabha
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Thanks for your reply....

I'm really confused on how to get to that page. Is it something that we can change using yaf's Database. I'm a newbee to this, so please help me...
vnykprabha
  • vnykprabha
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Hi,

Got it.

Page : /Forum/default.aspx?g=admin_hostsettings

Host Settings ->Permission Settings - > "Profile Viewing Permissions" Changed it to All Users.

Or

insert this record in yaf_registry table:

insert into [dbo].[yaf_Registry](Name,Value,BoardID) values('profileviewpermission','2',NULL)


Thanks tha_watcha.....It would not have been possible without your help....Thanks a lot
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