Closed (fixed)
Project:
OpenScholar
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
19 Apr 2011 at 14:49 UTC
Updated:
30 Jan 2020 at 17:51 UTC
Jump to comment: Most recent
Comments
Comment #1
rbrandon commenteddmcw,
There was a bug that prevented creating sites on behalf of users who did not already have a site, you were right on, if you have that permission you should have been able to create a site for them. The bug has been fixed in the latest release of openscholar.
http://openscholar.harvard.edu/scholar_software/download-openscholar/2-0...
diff sites/all/modules/openscholar_sitewide/scholarregister/scholarregister.pages.inc
30c30
< if( (!$b_create_sites || ($b_create_sites && $_REQUEST['register_for']) || ($b_create_own_sites && !$b_create_sites)) && ($b_create_sites || $existing_sites) && count($existing_sites) < variable_get('openscholar_vsites_per_user', 1)){
---
> if( (!$b_create_sites || ($b_create_sites && $_REQUEST['register_for']) || ($b_create_own_sites && !$b_create_sites)) && $existing_sites && count($existing_sites) < variable_get('openscholar_vsites_per_user', 1)){
Thanks,
Richard
Comment #2
Anonymous (not verified) commentedSuper! Thanks rbrandon! We'll check it out.