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 9:16 am

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

Re: Do not show "quote" to guests

Postby _anix_ » Mon Aug 15, 2022 11: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 11: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 10:35 pm

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

Re: Do not show "quote" to guests

Postby Last Man Standing » Tue Aug 30, 2022 11: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: 59
Joined: Thu Jul 28, 2022 5:49 am
Location: Romania
Real name: Daniel
phpBB version: unspecified
Reputation point: 0

Re: Do not show "quote" to guests

Postby Random American » Wed Mar 15, 2023 8: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.
Random American
 
Posts: 32
Joined: Tue Aug 02, 2022 6: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 10: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: 59
Joined: Thu Jul 28, 2022 5:49 am
Location: Romania
Real name: Daniel
phpBB version: unspecified
Reputation point: 0

Quick Reply


This question is a means of preventing automated form submissions by spambots.
   
Hide Quick Reply

Return to [3.0.x] Support Forum

Who is online

Users browsing this forum: No registered users and 2 guests

cron