Orange BBEs

Is there any way not to show the post numbers? - Orange BBEs

Is there any way not to show the post numbers?

by Bruce Banner » Tue Nov 21, 2023 3:08 pm

I've got the Post Numbers extension and there's a conflict I've just noticed between it and the post numbers displayed by the style.
Capture.PNG
Capture.PNG (963 Bytes) Viewed 49 times
So if I can hide the post numbers the style displays, that'd be great, thanks.

EDIT: Oh, I see now, I think. Those numbers indicate where a post is in the list of all posts across the board. I just noticed that now when I started a new topic and the Post Numbers extension said the first post was #1 but the style said it was #17. I'd still like to hide those numbers, though, as if you delete a post, they indicate clearly that there's a post missing, e.g. post #17 followed by post #19.
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: Is there any way not to show the post numbers?

by Raul [ThE KuKa] » Tue Nov 21, 2023 5:45 pm

Hello!

Open styles/OrangeBBEs/template/viewtopic_body.html file (lines 291 to 297)
FIND:

Code: Select all

				<!-- IF S_IS_BOT -->
					<span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i> {L_POST}{L_COLON} &#35;<span class="sr-only">{postrow.MINI_POST}</span></span>
				<!-- ELSE -->
					<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
						<i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i> {L_POST}{L_COLON} &#35; {postrow.POST_ID}<span class="sr-only">{postrow.MINI_POST}</span>
					</a>
				<!-- ENDIF -->
REPLACE WITH:

Code: Select all

				<!-- IF S_IS_BOT -->
					<span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span></span>
				<!-- ELSE -->
					<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
						<i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
					</a>
				<!-- ENDIF -->
Go to ACP - Purge Cache
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11148
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: Is there any way not to show the post numbers?

by Bruce Banner » Tue Nov 21, 2023 6:00 pm

Raul [ThE KuKa] wrote:Hello!

Open styles/OrangeBBEs/template/viewtopic_body.html file (lines 291 to 297)...
Hello! YES, that works great! They're all gone now. Thanks! :D
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am