Author Topic: I want that nobody visit the register page: www.website.com/register.php  (Read 5531 times)

0 Members and 1 Guest are viewing this topic.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Hi guys,

First of all I wish everybody a happy 2010.

I have question:

How do I deactive the Register feature? I want to register the new users ONLY  via the admin area by myself. I want also that nobody can visit the register page: www.website.com/register.php.

PS: I already searched in the forum, but without success.

Any help will be appreciated.
Cruxy

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: I want that nobody visit the register page: www.website.com/register.php
« Reply #1 on: January 06, 2010, 01:11:27 PM »
... the short way (hard coding) ...
1. delete ... register.php / register.html / register_form.html / register_signup.html ...
2. delete the register-link in user_loginform.html ...

... the long way (configurable via ACP) ...
1. via a new db-field (register y/n) in tab settings and a new row (register y/n) in admin/settings.php ...
2. a query for setting register y/n in register.php (for not showing register-site) and page_header.php (for not showing register-link) ...
3. and using the new tags {if register} ... {endif register} in all register templates ...
4. ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: I want that nobody visit the register page: www.website.com/register.php
« Reply #2 on: January 06, 2010, 01:28:21 PM »
Thanks mawenzi.

I will try the second solution, but before that I have a question about the first one:

If I delete those files, am I still able to add users to my gallery via ACP?

Thanks in advance

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: I want that nobody visit the register page: www.website.com/register.php
« Reply #3 on: January 06, 2010, 01:42:47 PM »
If I delete those files, am I still able to add users to my gallery via ACP?

... yes, but make backups from all files do you want to delete ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: I want that nobody visit the register page: www.website.com/register.php
« Reply #4 on: January 06, 2010, 01:44:15 PM »
Offcourse. Thanks bro:)