Posted on: 10/15/06 08:13pm
By: Anonymous (Anonymous)
I am wanting to remove the "Sign up as a New User" line and link from the User Settings and User Menu blocks - I believe that it is possible but cannot find where in the code this is referred to.
I still want the function to register new users (by sending them th link out by email), but just to remove the obvious links to prevent unauthorised people joining (we are a members only site for a charity). I have also amended the config.php which prompts the system to hold new registrations until authorised by Admin as a safeguard.
Many thanks
Anonymous
How remove "Sign up as a New User" from Usermenu?
Posted on: 10/15/06 11:16pm
By: Anonymous (ironmax)
In your language file look for
# lib-common.php
$LANG01 = array(
lang # 59 and comment it out as
// 59 => "Don't have an account yet? Sign up as a <a href="{$_CONF['site_url']}/users.php?mode=new">New User</a>",
And you will no longer see the sign up link.
How remove "Sign up as a New User" from Usermenu?
Posted on: 10/16/06 06:00am
By: kemal
this is very dirty way!
in your config file you can change this option
$_CONF['disable_new_user_registration'] = false; // set to true to block users.
to true.
How remove "Sign up as a New User" from Usermenu?
Posted on: 10/18/06 05:36am
By: Anon
Thank you for the suggestions - I have gone with the language file option as I still want users to be able to register (when I have sent them an invitation with the link) but do not want visitors to the site to see this.
Would amending the config file mean that registering is completely disabled or would it still be possible directing people directly to the users.php?mode=new page?
Many thanks
Anon
How remove "Sign up as a New User" from Usermenu?
Posted on: 10/18/06 11:49am
By: Anonymous (ironmax)
[QUOTE BY= Anon] Thank you for the suggestions - I have gone with the language file option as I still want users to be able to register (when I have sent them an invitation with the link) but do not want visitors to the site to see this.
Would amending the config file mean that registering is completely disabled or would it still be possible directing people directly to the users.php?mode=new page?
Many thanks
Anon[/QUOTE]
If you change it to false in the config, you will not beable to allow registration at all. Making the change in the language file to just hide the link will allow for registration when sent the direct link. I beleave this is what you are looking for.