File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Membership by invitation only! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Membership by invitation only!" Watch "Membership by invitation only!" New topic
Author

Membership by invitation only!

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
#2 already works. That's a new feature of 2.1.8 - account activation. Accounts will not be active unless the admin sets the account to active ...

#1 would be possibile if you modify the sourcecode of it ...
[originally posted on jforum.net by Sid]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,
l want all the members of my forum to be genuine users and open to only a closed group of professionals.
I was wondering if there is a way to:
1. send invitation mails with a unique link using which just one user can join the forum.
2. receive membership requests (like in yahoogroups) and decide whether to let in or not.

Let me know if either of them is possible (pref the 2nd one )
Thanks a mill,
jR
[originally posted on jforum.net by jR]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I can't seem to find the option in the configurations... (admin panel) is it a config file change to get it manually approved? I am running 2.1.8
rgds,
jR
[originally posted on jforum.net by jR]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
my bad ...


Administrators can now manually approve an user account: In boards where new users are required to validate their email addresses, the Admin Panel interface now has a section where the Administrator can see all pending requests and, optionally, activate them. This is useful for situations where the user does not receive the registration email or is having problems with it.


So it's only an approving of accounts when doing email-authentication.
[originally posted on jforum.net by Sid]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
On quick "hack" to do this would be to edit the template to hide the "register" function or change it to a different page. Maybe a mailto: or post to a special forum.

Then if someone request an id, you can send them the real registration URL after reviewing the request for validity.

This is security by obscurity but it's quick and easy. For more security, you may want to look at modifying the UserAction.insert method to check for a security token on the URL and work out some way to easily generate a "register" URL with the token included.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Membership by invitation only!