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

Geeklog Forums

I don't want auto registration in my website


Status: offline

D1

Forum User
Chatty
Registered: 08/27/03
Posts: 55
Is there a way I can stop ppl from registering in my website? So I will have to register them myself manually. Any1 with an idea?
What an old man can see, a young man will never see even though he is standing at the top of the highest mountain.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
You can enable new users to require admin approval. Check out the settings in config.php

$_CONF['usersubmission'] = 1;
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

D1

Forum User
Chatty
Registered: 08/27/03
Posts: 55
I now understand what you mean Blain..
But what I want to do is to stop ppl from registering at all.

I use geeklog for hosting business, obvousely, no Tom, Dick & Harry could just register.

I want to use the registration for clients whose website we host, so after payment confirmation and domain name is pointing to our server, they will be register.

I will now manually include the client in my geeklog members database.

An Idea just crossed my mind, what if I remove
all registration link? can that be possible?

Except for thos who use Geeklog and know their ways round it.

Please I need your help...
What an old man can see, a young man will never see even though he is standing at the top of the highest mountain.
 Quote

tokyoahead

Anonymous
Just edit your language file, or template.

the language file around line 107 has the text that is listed below the login-box.

just take out the link. Maybe you want rather a "This is a members only system if you think you should have access contact the admin"

Combine the word contact with a link to the contact-form that you get when someone clicks on your name in the userlist. I personally also included a "Forgot Password"-link

OLiver
 Quote

Status: offline

D1

Forum User
Chatty
Registered: 08/27/03
Posts: 55
Thanks Toks..

Do you know how I can move the user function block to another page?
What an old man can see, a young man will never see even though he is standing at the top of the highest mountain.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Just include a link to users.php. You can have a little php logic to show login or logout depending if the user is logged in or not. Maybe a small link in the header or only on a certain page.

You can add php code to the header.thtml.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Thanks Blaine

Anonymous
Thanks Done....
 Quote

Status: offline

EidolonNetCorp

Forum User
Newbie
Registered: 05/11/05
Posts: 14
Location:Stevens Point, Wi 54481
You know, I'd like to say that helped me in some way. But it doesn't..

I have the same issue, I need to make it so only I can register users. But the users still have to be able to login.


I don't do .php wok, so virtually none of what was written up there did me any good.
Eidolon Network Industries Eidolon Network Securities Eidolon Graphics Industries Valley Midwest International llc. Edward & Lynn Ltd.
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
You could put this code:
Text Formatted Code
<?php
  if ($_USER['uid'] > 1) {
    print '<a href="' . $_CONF['site_url'] . '/users.php?mode=logout">logout</
a>';
  } else {
    print '<a href="' . $_CONF['site_url'] . '/users.php?mode=login">login</a
>';
  }
?>


 

behind [plg_menu_elements] in your header.thtml.
You should look for the text of users.php in your language.ini, because it says something like "oops that didn't work" and change it to something more usefull Wink


geKow
 Quote

All times are EST. The time is now 10:12 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