YAFLogo

Posted by: vnykprabha - Thursday, 31 March 2011 14:59:35
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..

Posted by: tha_watcha - Thursday, 31 March 2011 15:28:56
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.

Posted by: vnykprabha - Thursday, 31 March 2011 15:47:22
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...

Posted by: vnykprabha - Thursday, 31 March 2011 18:54:23
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