YAFLogo

f2f
  • f2f
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
7 years ago
Hi all,

I installed this forum for my friends and they want to use this as a private forum. When a user navigates to forum, they have to see nothing and will be redirected to login page. After they inpur their username/pass, they can access the forum. Is there any way to this without creating new login page because I want to use old login page of YAF ?

found the following link, but it required me creating a new login page, but is there any way to reuse login page of YAF ?

http://yetanotherforum.net/forum/posts/t7850-Require-login-before-accessing-forum 

Thanks and have a nice day.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
7 years ago
You only need to set the Access Masks for all forums. For guest to No Access, and enable the checkbox Hide if no access
f2f
  • f2f
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
7 years ago
Thanks for your answer. However, A blank forum is still displayed when user don't login. Is there any way display login page instead of a blank forum ?

I mean when user don't login, if they navigate to my forum, they will be redirect to login page immediately.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
7 years ago

Thanks for your answer. However, A blank forum is still displayed when user don't login. Is there any way display login page instead of a blank forum ?

I mean when user don't login, if they navigate to my forum, they will be redirect to login page immediately.

Originally Posted by: f2f 

Yes you can do that in the host settings under login settings exist the option Require User Login. That option you need to enable.

guest
7 years ago
jmqds