Last post Feb 04, 2008 04:39 PM by exo
Jan 08, 2008 01:39 PM|shaolin|LINK
I like the Club Starter Kit...but I have a question regarding creating a user account. The starter kit by default once you register you automatically have an account. Ideally as the admin and developer of the site I'm working on I would like to have control
over who is approved for any account instead of the site doing it automatically. I will be have a section that I would only like my club members to see...but if the site automatically creates an account for anyone who registers then...that information would
be viewable immediately.
Any help would be greatly appreciated
Jan 09, 2008 04:19 PM|SalmonTraining|LINK
You just need to comment out one line of code in the file member_register.aspx.
Open the Member_Register.aspx page and look at the source code. The subroutine CreateUserFinished() is fired when the visitor has successfully registered login details. You'll see a line in the middle of the subroutine:
user.IsApproved = True
Just comment out this line, and new members will not be approved automatically. There is the additional complexity for you that you will need (1) a way to know when members sign up and (2) a way to approve them yourself. (1) is commonly done by adding code
to send an email to yourself when a user registers - this subroutine is a good place to add the code. You have a few choices for approving users - if you can run the ASP.Net configuration tool against your remote site, then that works nicely, otherwise you'll
need to write your own "admin" web page to approve users.
Jan 19, 2008 01:36 PM|shaolin|LINK
Thank you very much for your assistance, I'm still new to ASP.net and have been trying to learn how to effectively develop asp.net pages. I was wondering if you could tell me how I can add video to my ASP.net page. To be more specific I have windows media
video file I would like to stream, hopefully have the windows media player some where on my page and have it auto play when they visit my site. I see that VBD 2008 had no web control I can just drag and drop and I' ve been looking at the forums but I'm kinda
lost.....any help would be greatly appreciated.
Feb 04, 2008 04:39 PM|exo|LINK
How can i run the ASP.Net configuration tool against your remote site?
I am using WWW.1AND1.COM as hoster.