YAFLogo

myakka
  • myakka
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
On the Admin Index page, there is a handy section with the header "Unverified Users". I am looking to implement is as follows, however all attempts have failed:

Users register for an account, however cannot see the forums until verified

* I do not want them to be automatically verified, because then we cannot use the "Unverified Users" section to manually verify users.

* I do not want them to email verify themselves, as that defeats the purpose of us screening potential forum users.

* I do want them to appear in the "Unverified Users" list, to be manually verified.

How can this be accomplished? Thank you.

Sponsor
LaurenceB
15 years ago
you tried to select the verify user by email and when you tried to create a new user the user was able to self verify themselves??
myakka
  • myakka
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
The verify by email option does not help my use case, since it allows users to verify themselves. I want to manually control verification over every new user.
LaurenceB
15 years ago
you have tested this thats how it works I am not sure since I have not set up the email system yet I am still in debug/testing phase of my forum

ok im going to go into the code and figure this out. I might be under for a while so I will check back every now and then sorry if I dont get back to you quickly

Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
15 years ago
Quick way how to accomplish this:

- disable email requirement for user verification

- in groups, create group with NO permissions

- set this group as IsStart and unset any other

- in admin > users you'll see newly registered users un group with no permissions

- you approve user by moving him to group equivalent or similar to default group "Registered Users"

If you want to do it the other way round, you need to either alter SP or create new one and plug it to extended logic. Try browsing SP entitled to create new users.


When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
LaurenceB
15 years ago
So I am finally back from rooting all through the src code and my working forum code and found that as of right now in order to be able to do what you want myakka you would need to do a major overhaul of some codebehind and stored procedures. I was going to try it all the way but what I figured on doing was to change the stored procedure dbo_yaf_user_save with the changing of register.ascx in the pages folder. But I have a feeling that if I do that I would still need to customize code else where to change the groups of an approved user and whole bucket list of other changes.

this whole problem is making my head spin but I know its possible. I might however be asked to create a function like this for my forum. But until then I would rather do the suggested solution that ederon proposed.

myakka
  • myakka
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Thank you both for the replies.

Ederon, what would be the slightly more involved way that would result in it behaving as above? My user admins are already telling me the easy way takes too long. Thank you very much.

Quick way how to accomplish this:

- disable email requirement for user verification

- in groups, create group with NO permissions

- set this group as IsStart and unset any other

- in admin > users you'll see newly registered users un group with no permissions

- you approve user by moving him to group equivalent or similar to default group "Registered Users"

If you want to do it the other way round, you need to either alter SP or create new one and plug it to extended logic. Try browsing SP entitled to create new users.

Ederon wrote: