Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:55 pm EST

Geeklog Forums

Remove option for new user signup


Status: offline

cskuhn

Forum User
Newbie
Registered: 07/24/04
Posts: 2
Over the past 3 months since I created my GL site, I continue to get new users registering. It was designed to be a site where my friends and I post. Thanks to search engines, people are finding the site and registering.

I want to remove the option from the login block and can not find where the link is hidden or an option in the Config.php to turn it off. Help - I only want to create users myself.

And I do not want to password protect the whole directory, forcing a double login.

The site is www.dyntech.com/csk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by cskuhn: I want to remove the option from the login block and can not find where the link is hidden

It's in the language file.

bye, Dirk
 Quote

Muad MZ

Anonymous
Hi.

Once im in the language file, which in my case is english.. what do i do from there.. all i see is numbers like the ones below going from 1 to around 107 and getting split up in categories.. but i dont know what to do from there.

1 => 'Contributed by:',
2 => 'read more',
3 => 'comments',
4 => 'Edit',
5 => 'Vote',
6 => 'Results',
7 => 'Poll Results',
8 => 'votes',

thanks in advance. Wink
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Do a quick search in this file.

On line 104 (around that one) you find following string:

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>",

 


Just replace that with something like

Text Formatted Code


   59 => " ",



 


Done !

Now make sure that your new user settings are simular to anonymous users in case you have "private" parts on your site, since this will only remove the link to http://www.yoursite.com/users.php?mode=new and not prevent them from registering.

But that´s another question Mr. Green

Greetz,
Boris
Vanrillaer.com - our Family Portal
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Quote by cskuhn:Thanks to search engines, people are finding the site and registering.


You could always stick a robot.txt in your root directory with following content.

Text Formatted Code
User-agent: *
Disallow: /
 


This will drasticly decrease your popularity Mr. Green

Greetz,
Boris
Vanrillaer.com - our Family Portal
 Quote

All times are EST. The time is now 12:55 pm.

  • 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