Page 1 of 1

Do not show "quote" to guests

PostPosted: Sun Aug 14, 2022 9: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 11: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 10:35 pm
by Last Man Standing
Thank you, sir. It works! :D

Re: Do not show "quote" to guests

PostPosted: Tue Aug 30, 2022 11: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 8: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 10: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 5: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 -->