Page 1 of 1

Do not show "quote" to guests

PostPosted: Sun Aug 14, 2022 5:16 am
by Last Man Standing
Is there an easy way to do it?

Re: Do not show "quote" to guests

PostPosted: Mon Aug 15, 2022 7:13 am
by _anix_
Yes.

styles/prosilver/viewtopic_body.html
Code: Select all
<!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->


Replace with:
Code: Select all
<!-- IF postrow.U_QUOTE and S_USER_LOGGED_IN --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->

Re: Do not show "quote" to guests

PostPosted: Wed Aug 17, 2022 6:35 pm
by Last Man Standing
Thank you, sir. It works! :D

Re: Do not show "quote" to guests

PostPosted: Tue Aug 30, 2022 7:05 am
by Last Man Standing
Can you please make it for subsilver2, also?
If it's not too much trouble.

Re: Do not show "quote" to guests

PostPosted: Wed Mar 15, 2023 4:55 pm
by Dimetrodon
Last Man Standing ยป Tue Aug 30, 2022 3:05 am wrote:Can you please make it for subsilver2, also?
If it's not too much trouble.

It's going to be the same file name, just under the subsilver directory. Same changes.

Re: Do not show "quote" to guests

PostPosted: Fri Apr 07, 2023 6:30 am
by Last Man Standing
Well, I'm obsiously doing something wrong.
It breakes my code.

https://pastebin.com/vyKXRYGK

Re: Do not show "quote" to guests

PostPosted: Sun Jun 30, 2024 1:11 am
by Last Man Standing
This is for subsilver2:

OPEN
root/styles/subsilver2/template/viewtopic_body.html

FIND
Code: Select all
<!-- IF postrow.U_QUOTE -->


REPLACE WITH
Code: Select all
<!-- IF postrow.U_QUOTE and S_USER_LOGGED_IN -->