Posted by tuxberg on February 19, 2011 at 1:06am
Hi all!
Is there any way of making OpenScholar create a new user's website right after adding a new user? I'm talking about admin-only registration mode.
Hi all!
Is there any way of making OpenScholar create a new user's website right after adding a new user? I'm talking about admin-only registration mode.
Comments
Caution
I've had problems with new users and sites added by the usual Drupal means. I'd highly recommend going to /site/register (while logged in as an admin) to create the user and space. Lucky for you it will create both at the same time :)
The problem is that I don't
The problem is that I don't want to open registration for any unauthenticated user.
I'd be glad if there was a way of admin-only user-and-site creation.
Registration is handled
Registration is handled through the scholarregister module (in openscholar_sitewide). I protected site registration from unauthenticated users by making a small tweak on line 46 of scholarregister.module
Replace:
if (user_access('access content')){With:
if (node_access('create', variable_get('scholar_content_type', 'vsite'))){Sorry that's not a proper patch, but hope it helps.
It works! (c) Apache Thank
It works! (c) Apache
Thank you!
Thank you
That works! I'm trying to allow "managers" to register new users, but not unauthenticated users or just "users." Anyone have any advice?
shared user tables between existing drupal site and OpenScholar?
Hi all,
I have built/ am building a community site aimed at a specific target audience with two options for membership. First one is free, i.e. the authenticated user and the second one is paid for. I would like to make use of OpenScholar for the paying members to create their own web site with bio, resume, publications, etcetera, and am wondering whether it is possible to share the user tables and other relevant tables between both sites, so that the paying members automatically are granted access to the OpenScholar site.
Anyone any suggestions?
Thx in advance,
Eljay