SEARCHING FOR MODERATORS

Like us on our official FaceBook page

Do not show "quote" to guests

Get help with installation and running phpBB 3.0.x

Do not show "quote" to guests

Postby Last Man Standing » Sun Aug 14, 2022 5:16 am

Is there an easy way to do it?
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 1:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Re: Do not show "quote" to guests

Postby _anix_ » Mon Aug 15, 2022 7:13 am

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 -->
User avatar
_anix_
 
Posts: 6
Joined: Mon Aug 15, 2022 7:11 am
Real name:
phpBB version: unspecified
Reputation point: 5

Re: Do not show "quote" to guests

Postby Last Man Standing » Wed Aug 17, 2022 6:35 pm

Thank you, sir. It works! :D
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 1:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Re: Do not show "quote" to guests

Postby Last Man Standing » Tue Aug 30, 2022 7:05 am

Can you please make it for subsilver2, also?
If it's not too much trouble.
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 1:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Re: Do not show "quote" to guests

Postby Dimetrodon » Wed Mar 15, 2023 4:55 pm

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.
Dimetrodon
 
Posts: 32
Joined: Tue Aug 02, 2022 2:39 pm
Real name:
phpBB version: unspecified
Reputation point: 0

Re: Do not show "quote" to guests

Postby Last Man Standing » Fri Apr 07, 2023 6:30 am

Well, I'm obsiously doing something wrong.
It breakes my code.

https://pastebin.com/vyKXRYGK
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 1:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0

Re: Do not show "quote" to guests

Postby Last Man Standing » Sun Jun 30, 2024 1:11 am

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 -->
No PM's
User avatar
Last Man Standing
administrator
administrator
 
Posts: 81
Joined: Thu Jul 28, 2022 1:49 am
Location: Romania
Real name: Daniel
phpBB version: phpBB 3.0
Reputation point: 0


Return to [3.0.x] Support Forum

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests