How to disable the user registration?

GK User
Mon Oct 13, 2014 8:05 am
hi, i need to disable the regeistration for new users
User manager - option tab component - i disabled the registration with "allw user registration" NO

but when i click on login i continue to see "creat an account"
how can i disable it?

tnx
User avatar
Gold Boarder

GK User
Mon Oct 13, 2014 10:27 am
Hi,
you have to rename this folder name: templates\gk_university\html\com_users\login
and you will see only login box
User avatar
Platinum Boarder

GK User
Tue Oct 14, 2014 1:01 am
thnx so much but it works just for the login page, what i mean is in the hompage when i click on "login".. the pop-up apperar but the "creat new account" is stil there

ScreenHunter_01 Oct.jpg
User avatar
Gold Boarder

GK User
Tue Oct 14, 2014 5:31 pm
Ok, I have small modification for you.
Please back old folder name, and replace old(default) template file with mine (it has this same name).

And about REGISTRATION in PopUp login, give me moment
User avatar
Platinum Boarder

GK User
Tue Oct 14, 2014 5:36 pm
...and you have to edit also this file: gk_university\layouts\blocks\tools\login.php
find
Code: Select all
 <a class="button" href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration"><?php echo JText::_('TPL_GK_LANG_REGISTER_POPUP'); ?></a>

and delete it code, save changes, and upload on server changed file, and all registration buttons will gone in past.
User avatar
Platinum Boarder

GK User
Tue Oct 14, 2014 10:04 pm
Tnx so much!! it works!
User avatar
Gold Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.