3.3x Login

Current Version: 2.1.0
Released: 2015-10-26
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

3.3x Login

Post 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
User avatar

Kirk
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: 3.3x Login

Post by Kirk »

Hi
How (code) did you define the portal as home?
Gruß Udo

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

Re: 3.3x Login

Post 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]
User avatar

Kirk
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: 3.3x Login

Post 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
Gruß Udo

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

Re: 3.3x Login

Post 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"));
User avatar

Kirk
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: 3.3x Login

Post by Kirk »

Now I understand what you mean, you need an extension for that: https://reyno41.bplaced.net/phpbb/viewt ... 1382#p1382
Gruß Udo

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

Re: 3.3x Login

Post 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 ?
User avatar

Kirk
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: 3.3x Login

Post by Kirk »

You need to install the file attachment in this post.
Gruß Udo

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

Re: 3.3x Login

Post 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.
User avatar

Kirk
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: 3.3x Login

Post by Kirk »

When it comes to the login redirect, this has nothing to do with the portal.
Gruß Udo

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

Re: 3.3x Login

Post 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 :)

jashuabasset
Active Member
Posts: 1
Joined: 10. July 2021 12:38
Location: https://mini-militia.com/mini-militia-apk-tipstricks/

Re: 3.3x Login

Post 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.
Regardless

Jashuabasset
Check this new gbwhatsapp

Topic author
dart
Active Member
Posts: 21
Joined: 1. July 2021 01:09
phpBB.com User: krill

Re: 3.3x Login

Post 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.
User avatar

Kirk
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: 3.3x Login

Post by Kirk »

It would be better to select ACP/Group Permission/Guest and set the permission on the Misc tab.
Gruß Udo
Locked

Return to “Board3 Portal 2.1.x - English Support”