iframe not increasing in height

NinjaBeaver
User w
User w
Posts: 12
Joined: Wed Apr 30, 2025 11:55 pm

Re: iframe not increasing in height

Post by NinjaBeaver »

Trying to log in to wp-admin is still redirecting me to the home page with Firefox, sorry.

I just tried in Chrome and it did work but I'm unable to login to the forum with the same user credentials.

I've cleared my browser cache in both Chrome and Firefox. I tried something new and went into cPanel, flushed Litespeed cache for all my domains/sub domains and then disabled it for this staging site. It didn't have any affect.
User avatar
axew3
w3all User
w3all User
Posts: 2956
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: iframe not increasing in height

Post by axew3 »

No worry all is working.
I only get "The submitted form was invalid. Try submitting again" message in phpBB login for the user ADMIN installer (UID2).
You can login with this user both on WP and phpBB as admin, but i had to do the login in phpBB with another browser due to "The submitted form was invalid. Try submitting again" problem, an known old bug phpBB native that still they have not fixed on 2025!

The user id 1 and user id 2 in phpBB are NOT linked!

testing now, have you try to login two times?

I have try to reset the pass of axew3 now, it is working via frontend UM page but when i have try to login, it said i had put a wrong pass.
So i have insert it again and all worked fine. DO not know if it has been due to my wrong pass insertion or something to be fixed about, let check
NinjaBeaver
User w
User w
Posts: 12
Joined: Wed Apr 30, 2025 11:55 pm

Re: iframe not increasing in height

Post by NinjaBeaver »

Thanks axew3

It certainly working... For some reason I can log into WP Admin in Chrome, but I get the "The submitted form was invalid. Try submitting again" error if I try to log in to the forum. If I switch over to Firefox, I can't log in to WP Admin (still redirects) but I can login to the forum outside Wordpress. So I'm just doing that for now. It doesn't seem to affect the test account that I created through Ultimate Member.

I'll re-check the editing in the template files, it's been a bit of a long day so haven't been able to look.

Thank you again!

Edit: Ok, I think I have it all straight now!

If I login to Wordpress with the admin account that has the same email as User ID2 in phpbb I can get in to both Wordpress Admin and see the forum with the other admin account that has the same email. I don't need to use a separate browser, I can do both in Firefox. That solves my issue, it leaves me with two usernames but I can live with that. Phew!
User avatar
axew3
w3all User
w3all User
Posts: 2956
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: iframe not increasing in height

Post by axew3 »

Code: Select all

That solves my issue, it leaves me with two usernames but I can live with that.
Uid 1 in WP and Uid 2 in phpBB have to login separately in phpBB and WP because they are excluded by the users integration.
You can use any other user account with admin privileges.
I have set axew3 to be admin in both WP and phpBB.
And fixed the other two administrators BPRS... and the default installer, that were not working fine due to misleading emails mess, using emails of UID1 in WP or UID2 in phpBB shared with these users (and there is a problem i emailed to you to be fixed).

About the template integration:
you did all perfect about the addition of the js code into the phpBB overall_footer.html in fact it work fine into any default WP theme, i tested it a moment switching the theme from the used one to the WP twentytwentyfour so to see if it could be a theme issue: in fact it work fine but somehow not into the theme you are using. I did not investigated at moment why, but the problem seem to be strictly given by something on the theme you are using. Actually it answer correctly on repositioning the iframe (even of the top gap need to be adjusted to fit the correct position for the default), but the div that contain the iframe result cut off on bottom of some pixel into the page forum.
The theme you use mix several things and seem to be an hybrid (worse themes circulating now, but maybe i am wrong) between the old WP themes way and the new block themes way.

I see a plugin that also you installed as security.
I must repeat a thing here: the unique required security for wordpress, is one.
The check of the login and registrations forms.
Enable a login lockout feature
allow Max login attempts 3/5 times
into the registration page you only need a captcha or something that stop bots registrations.

Then to add a step of security for logins, you could add 2fa authentication.
That's all. All things that you do more than this, and that someone could suggest you, are overloading your system without a true benefit.
NinjaBeaver
User w
User w
Posts: 12
Joined: Wed Apr 30, 2025 11:55 pm

Re: iframe not increasing in height

Post by NinjaBeaver »

I did wonder if GeneratePress could be the issue. Solution might be to use a template page instead of the shortcode.. I'll have a look and see what I can do.

I have Really Simple Security on site mostly for the ease of using Let's Encrypt through it.
NinjaBeaver
User w
User w
Posts: 12
Joined: Wed Apr 30, 2025 11:55 pm

Re: iframe not increasing in height

Post by NinjaBeaver »

One last post from me.

axew3, you have been an absolute star and incredibly helpful. I cannot thank you enough. I've been testing multiple things over the last day and everything is working as intended.

If anyone is having the same resizing issues as I was, and is using the GeneratePress theme: Don't rely on the block settings of a container div if you're using one to house the shortcode. It was quite simple in the end - I created a custom class with 100vh and assigned it to the container div. After that it worked perfectly. I'm not sure why the GeneratePress / GenerateBlocks settings had no effect, but that was the issue.

Again, thank you!
Post Reply