Page Titles displaying Wrong

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
mrix2000
Registered User
Posts: 1272
Joined: Sun Dec 03, 2006 2:23 pm

Re: Page Titles displaying Wrong

Post by mrix2000 »

Brf wrote: Wed Mar 10, 2021 3:21 pm Try going back five posts and see my reply.
Hello Brf, I did notice your reply but is this not the fix that I have already tried with the extension a member posted and the .css code fix suggested ?
Thanks
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53538
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Page Titles displaying Wrong

Post by Brf »

I do not know. I changed the tag in the Inspector and it fixed the problem. You might have to change a different tag if this particular problem is in a different container than the previous one.
User avatar
GanstaZ
Registered User
Posts: 1216
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Page Titles displaying Wrong

Post by GanstaZ »

I don't know, if phpBB team has applied the fix for this site or not (haven't looked at it), but to be honest, we can't compare it that way.. Both fixes that are provided are for prosilver. Yes.. your style is based on prosilver, but differs a lot from parent. If none of those fixes work for your custom style, then it needs more investigation. As i said in my previous post.. If default vanilla prosilver works fine with applied fix one or two on those conflicting browsers (and all pages that were affected),.. then topic is solved.. That also means that styles forum is the place to ask for custom style help/improvements.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
HB
Registered User
Posts: 230
Joined: Mon May 16, 2005 9:30 pm

Re: Page Titles displaying Wrong

Post by HB »

Brf wrote: Wed Mar 10, 2021 2:12 pm Once again, this problem can be fixed by changing the float tag from left to none:
I tried your suggestion and works, but the page links are then shown on a separate line. :|

Looking at it again, I removed the pagination links since they didn't seem particularly critical (I had already omitted them for mobile and users never noticed). For example, if there's 20 pages, does anyone really use these navigation links to go to page 18? The link with the thread title goes to the first page, the link for the last poster goes to the last page.
Dan Kehn
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53538
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Page Titles displaying Wrong

Post by Brf »

HB wrote: Wed Mar 10, 2021 5:03 pm
I tried your suggestion and works, but the page links are then shown on a separate line. :|
Yes. They should be on a separate line.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6337
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Page Titles displaying Wrong

Post by thecoalman »

.topic-poster doesn't apply to the search pages and that would include "new topics" etc.

You can try this, revert any previous edits and add this to bottom of stylesheet.css.

Code: Select all

.section-search .topiclist .responsive-hide.left-box, .section-viewforum .topiclist .topic-poster.responsive-hide.left-box {
	float:none;
}
Purge phpBB's cache which will increment the asset version forcing the browser to download it. Adding it to end of stylesheet.css guarantees it overrides any previous rules and also guarantees it will be removed on next phpBB update.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
mrix2000
Registered User
Posts: 1272
Joined: Sun Dec 03, 2006 2:23 pm

Re: Page Titles displaying Wrong

Post by mrix2000 »

thecoalman wrote: Wed Mar 10, 2021 9:51 pm .topic-poster doesn't apply to the search pages and that would include "new topics" etc.
You can try this, revert any previous edits and add this to bottom of stylesheet.css.
Well all I can say is thank you so very much as this has finally resolved all issues my end in Chrome and Edge :D 8-)
HB
Registered User
Posts: 230
Joined: Mon May 16, 2005 9:30 pm

Re: Page Titles displaying Wrong

Post by HB »

Brf wrote: Wed Mar 10, 2021 5:15 pmYes. They should be on a separate line.
Some of my forum members complained about the extra space :| , so I applied an alternative workaround:

In styles/prosilver/theme/responsive.css add:

Code: Select all

@media (max-width: 900px) { 
	.pagination-hide { display: none !important; }
}
In styles/prosilver/template/viewforum_body.html find:

Code: Select all

						<!-- IF .topicrow.pagination -->
						<div class="pagination">
Replace with:

Code: Select all

						<!-- IF .topicrow.pagination -->
						<div class="pagination pagination-hide">
Of course, this isn't a true fix since it's just avoiding the bug/problem by hiding the element that causes the layout problem. But my forum members like it better. While I was there, I edited the code to display less pagination links since more than 2 end pages doesn't seem all that useful:

In phpbb/pagination.php find:

Code: Select all

				$start_page = ($total_pages > 5) ? min(max(1, $on_page - 2), $total_pages - 4) : 1;
				$end_page = ($total_pages > 5) ? max(min($total_pages, $on_page + 2), 5) : $total_pages;
Replace with:

Code: Select all

				$start_page = ($total_pages > 2) ? min(max(1, $on_page - 2), $total_pages - 1) : 1;
				$end_page = ($total_pages > 2) ? max(min($total_pages, $on_page + 2), 2) : $total_pages;
This will display only page 1 and the last 2 pages. Maybe this should be a configuration option? Anyway, if you want to free up some more space:

In styles/prosilver/template/viewforum_body.html delete:

Code: Select all

							<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
That removes the icon in front of the list of pagination links, which I thought was an unnecessary adornment.
Last edited by HB on Sat Mar 13, 2021 8:22 pm, edited 1 time in total.
Dan Kehn
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: Page Titles displaying Wrong

Post by 3Di »

HB wrote: Sat Mar 13, 2021 4:56 pm ...

In styles/prosilver/template/viewforum_body.html delete:

Code: Select all

							<span>{{ Icon('iconify', 'fa:clone', '', true) }}</span>
That removes the icon in front of the list of pagination links, which I thought was an unnecessary adornment.
:ugeek: Are you running phpBB 4?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
HB
Registered User
Posts: 230
Joined: Mon May 16, 2005 9:30 pm

Re: Page Titles displaying Wrong

Post by HB »

Whoops, corrected. Here's the excerpt from the phpBB 3.3 branch:

Code: Select all

							<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
Dan Kehn
mrix2000
Registered User
Posts: 1272
Joined: Sun Dec 03, 2006 2:23 pm

Re: Page Titles displaying Wrong

Post by mrix2000 »

I removed the fix today as I noticed Google Chrome had a update so I updated my Browser, unfortunately the issue still remains so I reapplied the fix suggested.
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: Page Titles displaying Wrong

Post by HaioPaio »

HaioPaio wrote: Sat Mar 06, 2021 6:57 pm I tried with the latest Chrome Version 89.0.4389.82 (Offizieller Build) (x86_64) on my Macbook.
No issues detected.
Info for Mac users. Since Chrome update to Version 89.0.4389.90, the described problem is visible now on Mac as well.

EDIT: Coalmans fix however, helps here as well.
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53538
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Page Titles displaying Wrong

Post by Brf »

I am not seeing this problem here anymore. If phpBB did not tweak their css here, then Chrome-114 has fixed it.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: Page Titles displaying Wrong

Post by 3Di »

No changes were made AFAIK.

Also EDGE has no problems anymore. Version 89.0.774.75 (Official build) (64-bit).
Weird enough, it is the same version I used here: viewtopic.php?p=15685231#p15685231
2021-04-12 22_39_24-.png
You do not have the required permissions to view the files attached to this post.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

Return to “[3.3.x] Support Forum”