In order to create a "members only" forum, I would need to restrict who can create an account.
Accounts would be set up by administrators only. Is there an option to show the "Create Account" link to administrators only?
i.e. Display "Create Account" when - no accounts (forum initialization) - an administrator is logged in
Jon Lloyd
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 210.54.--.--
Posted:
Hmm, I never thought of that :).
You could definitely remove the create account link from the logged-out interface (just edit the template), however this won't stop anyone from typing in the URL or posting the form manually. So, you'd also have to edit the account creation section of the forum script to quit if the current user is not an admin. Which means learning a little Perl ;).
I'll add this to a future revision, but that might be a little while off as I have some major architectural changes in the works.
- Angus.
3) Jon LloydGroup: Guests IP: 216.209.--.--
Posted:
Angus, Probably a good chance for me to learn, as you said. Since the script already does some conditional things based upon whether a user is logged in or not and whether they are administrators or not, I figured that I could just examine that code and control the "Create Account" link accordingly.
Wish me luck!
Jon Lloyd
4) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 210.54.--.--
Posted:
OK, good luck in that case :).
- Angus.
5) Jon LloydGroup: Members Posts: 60Joined: 26 Dec 2003Location: CanadaIP: 64.228.--.--
Posted:
I'll keep you informed... "sharp curves ahead" :-)