Forums / Cotonti / Extensions / Index Login

to login from a blank page.

zboy812
#1 2009-03-26 06:38
Hello users!

How may i create a blank login page so only registered member can see my site.

I dont want guest see my index. Is it possible please if you can help me?

Thank You


Edit:

Can this be made with redirect so if user not logged in it send them to login page?
This post was edited by zboy812 (2009-03-26 06:46, 15 years ago)
musiconly
#2 2009-03-26 07:08
simply go to www.yoursite.com/admin.php?m=rights&g=1 and set user rights.. remove check sign from every checkbox and you should be just fine
zboy812
#3 2009-03-26 09:31
Thanks musiconly! I removed everything from the core checkmarks and it worked!

But now it has terrible redirect, YOU CANNOT DO THIS! REDIRECTING......

But it still shows the useless menu, useless header and footers links.

I want to build a entrance page like on Facebook or Twitter, with a login box and a brief description of the site and my advertisement for the site. Like a foced register and login.

I think there used to be a plugin for this in LDU not sure how it worked.

Maybe if i can findout how to remove the header and footer from the core i can make a plugin to send user to a advertisement login page?



Thank you!
This post was edited by zboy812 (2009-03-27 07:41, 15 years ago)
pieter
#4 2009-03-26 16:21
You can change the index.tpl

Or you put your site in the maintenance mode, and give ALL users access. You can also give a message in the box.
At that moment you only see the login. And only users can do something.

admin.php?m=config&n=edit&o=core&p=main
Maintenance mode :  Yes  No  Let only authorized personel access to site [R] 
Maintenance reason :   Optional, should better be short 

Change rights of all the users-groups:
admin.php?m=users
Access to site when maintenance mode on : Yes No 
... can we help you ...
zboy812
#5 2009-03-26 19:28
Thank you pieter, i try but permisions is not working for guests. It still block guest level! I dont know what i do wrong? I cannot see register page or recover or plugin or page. I check permissions everything is checked. I dont understand what is happen? It still lock me out.



Guest group: Access to site when maintenance mode on = Yes

is it success for you?

Edit: pieter ideah is the only one who can give me a blank login page in maintenance mode so i can make my big banner. Then if customer register he can see my sexy index page. But only if he register and login!

The way with PERMISIONS is not good ideah because it make me ugly: YOU CANNOT DO THIS. REDIRECTING....

Thank you for any ideahs, blessing.
This post was edited by zboy812 (2009-03-27 07:46, 15 years ago)