Page 1 of 1

3.3x Login

Posted: 1. July 2021 17:19
by dart
I hope I am in the correct section to post this.

Last week I installed 3.3x version.
Everything is working quite well - no glitches with setup and it integrated beautifully with a third party dark theme.
Modififying the blocks is extremely easy.

The only issue I am encountering is:
I have the portal url redirecting as Home.
The site is all login - the issue is even tho it is correctly going to portal after login only.
after login if I click on Home, it goes to portal.
I checked with a 'redirect utility' and it shows the redirection to the app./portal
I saw here that there was a fix in a previous version for login. Unfortunately that version did not work @ my site version 3.3.3

Re: 3.3x Login

Posted: 1. July 2021 19:19
by Kirk
Hi
How (code) did you define the portal as home?

Re: 3.3x Login

Posted: 1. July 2021 19:24
by dart
.htaccess:

Code: Select all

RewriteCond %{HTTP_HOST} ^my domain$ [OR]
RewriteCond %{HTTP_HOST} ^my domain$
RewriteRule ^/?$ my domain\/app\.php\/portal" [R=301,L]

Re: 3.3x Login

Posted: 2. July 2021 14:33
by Kirk
If you want to have the portal as the start page, enter this at the end in the root/.htaccess.

Code: Select all

DirectoryIndex app.php/portal index.php index.html index.htm

Re: 3.3x Login

Posted: 2. July 2021 19:20
by dart
still doing the same after adding to /.htaccess

when I go to the site and hover over 'login', it reads:

/ucp.php?mode=login&redirect=index.php
The site goes to index.php

After login, I'm in the board index.
If I click on 'Home' in the board index, it takes me to portal.


Add: There are 4 references in 'ucp' for login and logout... referencing it to index.php

Code: Select all

redirect(append_sid("{$phpbb_root_path}index.$phpEx"));

Re: 3.3x Login

Posted: 2. July 2021 21:02
by Kirk
Now I understand what you mean, you need an extension for that: https://reyno41.bplaced.net/phpbb/viewt ... 1382#p1382

Re: 3.3x Login

Posted: 2. July 2021 22:58
by dart
I installed the app.

Image

tried a 'yes' with a redirect link for portal...'yes' without the link.

If I enter 'no' still not working.

after I logout of forum:

if I enter url "website/app.php/portal" it goes to "website/index.php" which is the board index.

I can never see the portal only the index.php

I need a 'login change' from 'index.php' to '/app.php/portal' ...what is a logout redirect ?

Re: 3.3x Login

Posted: 3. July 2021 08:58
by Kirk
You need to install the file attachment in this post.

Re: 3.3x Login

Posted: 3. July 2021 14:03
by dart
That is the same file extension I have installed from the begining.

I now think that the issue is not with your extension.

I did a check with my site here:

Code: Select all

https://www.redirect-checker.org/index.php
The result:

301 Moved Permanently

Code: Select all

https://domain/app.php/portal
302 Moved Temporarily

Code: Select all

https://domain/index.php?sid=104227bf0b3934c61337186f92ebc527
The 302 is why it is going to the wrong login.

I need to remove the 302... I made the redirect for 301 only - I will have to check with the host and see if they can check this.

will post here what the problew is.

Re: 3.3x Login

Posted: 3. July 2021 18:40
by Kirk
When it comes to the login redirect, this has nothing to do with the portal.

Re: 3.3x Login

Posted: 7. July 2021 00:30
by dart
Good news... finally figured out what the problem was ;)

I will post here in case anyone has this issue in the future.

Never had 'Anonymous user' set @ the forum since all members are register only.

Simply added view portal to 'Anonymous user' and that was all !

Since all members @ our forum are register only, I had all registered groups set to view portal.
The problem was that after logging in, they were routed into the forum because that's where the login was at..

After setting Anonymous user to view portal, when you get to the homepage the portal is there.

the next step was to add the 'logout mod' to route the exit back to portal. The portal has a login so is ready for entry again :)

Re: 3.3x Login

Posted: 10. July 2021 12:42
by jashuabasset
dart wrote: 1. July 2021 17:19 I hope I am in the correct section to post this.

Last week I installed 3.3x version.
Everything is working quite well - no glitches with setup and it integrated beautifully with a third party dark theme.
Modififying the blocks is extremely easy.

The only issue I am encountering is:
I have the portal url redirecting as Home.
The site is all login - the issue is even tho it is correctly going to portal after login only.
after login if I click on Home, it goes to portal.
I checked with a 'redirect utility' and it shows the redirection to the app./portal
I saw here that there was a fix in a previous version for login. Unfortunately that version did not work @ my site version 3.3.3
Exactly something is similar happened to me and I have also searched a lot to fix this issue but I didn't find any thing helpful.

Re: 3.3x Login

Posted: 12. July 2021 15:24
by dart
This is what worked for me.

Code: Select all

ACP
manage users: search for Anonymous
set forum permissions for anonymous: tick on 'can view portal
Note: make sure that guests are also det the same.

Re: 3.3x Login

Posted: 12. July 2021 17:03
by Kirk
It would be better to select ACP/Group Permission/Guest and set the permission on the Misc tab.