Hello everyone!
I am looking for the best way on closing down access to all guests visiting my website.
I do not mean not letting them see the forums. I mean hiding the whole board from guests and redirect them to the log in page when ever they visit any page.
What is the best way of doing this?
Thanks in advance.
Closing my phpBB's access
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
Please post any phpBB 3.1.x related topics in the forum.
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Closing my phpBB's access
Never Say Never!
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Closing my phpBB's access
I tested this and it works!
Instead of using the UCP page, how can i use my own page which would be the index.php of my website, a login screen for unregistered users?
Thanks for the help.
Instead of using the UCP page, how can i use my own page which would be the index.php of my website, a login screen for unregistered users?
Thanks for the help.
Never Say Never!
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Closing my phpBB's access
Here is what i am looking to do:
If a user isn't logged in, i want them redirected to an external page that i have created for my forum that would ask them to log in.
If a user isn't logged in, i want them redirected to an external page that i have created for my forum that would ask them to log in.
Never Say Never!
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Closing my phpBB's access
I could also modify the ucp.php file to fit my login needs and use it.
Any idea what file i need to edit to modify the ucp.php login?
Any idea what file i need to edit to modify the ucp.php login?
Never Say Never!
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Closing my phpBB's access
I got it all working.
I used the first code you gave me and i then modified my login_body.html to remove everything i needed.
Thank you very much for your help!
I used the first code you gave me and i then modified my login_body.html to remove everything i needed.
Thank you very much for your help!
Never Say Never!
- tumba25
- Past Contributor
- Posts: 1058
- Joined: 24 Oct 2007, 13:10
- Real name: Jari Kanerva
- Location: Kokkola, Finland.
- Contact:
Re: Closing my phpBB's access
You're welcome.
Return to “phpBB 3.0.x "Olympus" discussion”
Who is online
Users browsing this forum: No registered users and 16 guests