function register_action($action, $public = false, $filename = "lock2group", $admin_only = false)
register_plugin_hook("action", "register", $action ''lock2group''
like this? loaded it into CSS and got site crash :/
Do you want to give the users the choice of joining this group? If you want them to join this group in any case you could use this plugin to make them members of this group when registering already: http://community.elgg.org/plugins/875161/1.8.0/elgg-18-autosubscribegroup. The same functionality is also included in the group_tools plugin. I think when using the group tools plugin you can configure new users to auto-join a group in the group's settings.
yes they need to join manually.
this is a business site, Members must join group to acess functions, and it costs to join.
then a badge is affixed on their profile, which expires within the month.
if joined group, members can use site files, pages.
without joining, they can only view About pages, or public files from Admin.
Thanks for the reply @iionly but I'm searching a way for them to choose to join and until they do be limited.
There's only one configuration file: setting.php in the engine subfolder. But this file normally only contains the database parameters and no domain specific settings. If you are using a database with the same name, the same database user name and password you shouldn't need to change anything there.
What you might want to check is .htaccess in the main folder of the Elgg installation directory if there are any domain specific entries, for example the RewriteBase variable. Otherwise there shouldn't be any changes necessry there either.
The domain specific settings are in the database. You need to update the entries mentioned at http://docs.elgg.org/wiki/Duplicate_Installation.
After updating the database entries flush the Elgg cache for example by executing the upgrade script (calling http://newdomain/upgrade.php in your browser).
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.