Welcome to Geeklog, Anonymous Sunday, November 24 2024 @ 09:52 am EST
Geeklog Forums
How remove "Sign up as a New User" from Usermenu?
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
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
10
9
Quote
ironmax
Anonymous
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.
# lib-common.php
$LANG01 = array(
lang # 59 and comment it out as
Text Formatted Code
// 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.
10
14
Quote
Status: offline
Anon
Forum User
Junior
Registered: 10/18/06
Posts: 21
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
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
10
9
Quote
ironmax
Anonymous
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
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
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.
11
10
Quote
All times are EST. The time is now 09:52 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content