YAFLogo

Primeway
  • Primeway
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Is there any option for the Administrator does not allow a user to enter the forum and read the messages?

The user who registers must be approved by the administrator to view any message in the forum.

The aim is to have a private forum users only approved by the Administrator.

Who is not approved should not be able to access the forum.

Can anyone help me where to configure this option?

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago

Is there any option for the Administrator does not allow a user to enter the forum and read the messages?

The user who registers must be approved by the administrator to view any message in the forum.

Yes that is possible, if you want the whole forum to be only viewable after login You need to enable the Option "Require User Login" in the Host Settings -> Login/Registration Settings

And to change the Registration to manually approval by an admin

[list]

  • Create an "Unapproved" role in YAF. Assign the "Is Start" flag to that role (and remove from the "Registered" role).
  • Make the unapproved role have the same forum permissions (Access Masks) as the Guest role. Set the email setting in the Board Settings so when a user registers it emails you to notify.
  • When they register search for "Unapproved" users in the user editor and change them to Registered role manually (if you want to approve them).
  • [/list]
    Primeway
    • Primeway
    • 51.2% (Neutral)
    • YAF Forumling Topic Starter
    13 years ago
    Thank you. It worked perfectly! :-d
    jpweber
    • jpweber
    • 94.4% (Exalted)
    • YAF Commander
    13 years ago
    Thank you tha_watcha! I really do appreciate you taking the time to help out new YAFers!

    I'm having a problem (using 1.95) with your instructions, specifically these:

    Create an "Unapproved" role in YAF. Assign the "Is Start" flag to that role (and remove from the "Registered" role).

    Make the unapproved role have the same forum permissions (Access Masks) as the Guest role. Set the email setting in the Board Settings so when a user registers it emails you to notify.

    When they register search for "Unapproved" users in the user editor and change them to Registered role manually (if you want to approve them).

    (1) I went into my admin > users and roles > and clicked roles. I created a new role, named it "unapproved". I clicked the "Is Start" button. There was no "Registered" button to be unclicked!

    (2) When you say make the unapproved role have the same access masks, I just set all access masks for each one of my topics to "Members Access".

    (3) The email setting in the Board Settings was already set to my email address.

    I ran a test and registered a new user, and he was granted immediate access to the forum, without approval from me. Of course, I received an email saying a new user registered, but by that time, it's too late; he already has access the forum without approval from me.

    If you have the time, can you please tell me what I'm doing wrong?

    Thanks!


    Jason Weber

    USS Vision YAF 

    "Money is better than poverty, if only for financial reasons"

    tha_watcha
    • tha_watcha
    • 100% (Exalted)
    • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
    13 years ago
    1. You need to edit the Registered Role and Uncheck the "Is Start" Flag there

    2. You forgot to create a new Access mask "Unapproved Access Mask" where everything is disallowed (set to false). And assign this mask to the unapproved Role.

    jpweber
    • jpweber
    • 94.4% (Exalted)
    • YAF Commander
    13 years ago
    Got it! That was a lot of work, and it'll require me checking for unapproved users often. Maybe I''ll throw in a message there saying that they're awaiting approval, and until then, the forum will be locked.

    But thank you very much for taking the time to explain how to do this in detail! I sincerely appreciate your help!


    Jason Weber

    USS Vision YAF 

    "Money is better than poverty, if only for financial reasons"

    nikko85
    • nikko85
    • 50.2% (Neutral)
    • YAF Forumling
    12 years ago
    Hi,

    thanks for the procedure it worked like a charm except for one thing: Email notifications when a user is waiting for approval. I'd like our principal admin account to receive those notifications so i go to this user's control panel --> Souscriptions (Board is in french but i guess it's subscription) and i get theses choices:

    Select email notification preference:

    Turn off notifications

    Notification for topics you've posted to or watched

    Notification for topics or forums you've selectively watched (listed below)

    I checked "Notification for topics you've posted to or watched" but i don't receive any message when a new user registers, am I at the right place ?

    jpweber
    • jpweber
    • 94.4% (Exalted)
    • YAF Commander
    12 years ago
    Hello Nikko; bon jour mon ami. I think I understand your question. Assuming you're using YAF 1.96, here's where I think your issue is.

    First, I don't think this is where your issue is, but as far as the user's control panel, here's what I have:

    Turn off notifications (not checked)

    Notification for all posts on all topics (not checked)

    Notification for topics you've posted to, watched or marked as favorite (checked)

    Notification for topics or forums you've selectively watched (listed below) (not checked)

    Receive an email notification when you get a new private message? (checked)

    But I don't think that's where you're having an issue. When you log in as the administrator, and you click Admin ... then on the left column, Settings, then Board Settings. Then you'll see this:

    Send Email Notification On User Register to Emails:

    Semi-colon separated list of emails to send a notification to on user registration.

    Make sure the email you want registrations to go to is the proper email. There are other options in there you might want to make sure are the way you want them to be.

    -----------------------------------------------------

    If you want to take this a step further and notify people who register that they won't be approved to post or read posts when they receive their registration e-mail, go into the your root YAF directory, whatever you named it, and find the file Languages ----> french.xml

    Open this file with an XML editor, Visual Studio, Notepad, Wordpad ... anyway, find this:

    Vous avez demandé à rejoindre {forumname}, mais avant de pouvoir vous connecter votre adresse email doit être vérifiée.

    Pour vérifier votre adresse email ouvrez le lien suivant dans votre navigateur :

    {link}

    Votre clé de contrôle est :

    {key}

    Visitez {forumname} à l'adresse {forumlink}

    You can add a personalized message in here. For instance, "You may view the forum, but approval from the site administrator will be required until you're formally approved" or something (without the quotes). This will personalize the e-mail they get so that when they register for your YAF, they'll understand why they won't have access to various forums and subforums.

    Hope this helped; if you have any further questions, don't hesitate to ask.


    Jason Weber

    USS Vision YAF 

    "Money is better than poverty, if only for financial reasons"

    nikko85
    • nikko85
    • 50.2% (Neutral)
    • YAF Forumling
    12 years ago
    Thanks that was exactly what i was looking for !

    Merci beaucoup !

    jpweber
    • jpweber
    • 94.4% (Exalted)
    • YAF Commander
    12 years ago
    My pleasure Nikko; I'm glad it worked. If you have any more questions, don't hesitate to ask!
    Jason Weber

    USS Vision YAF 

    "Money is better than poverty, if only for financial reasons"