Quote icon in viewtopic is not responsive

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
takufner
Registered User
Posts: 216
Joined: Mon Oct 23, 2006 10:39 am
Location: Rio de Janeiro - Brasil
Name: Prof. Caju
Contact:

Quote icon in viewtopic is not responsive

Post by takufner »

Hello all,

In file styles/prosilver/template/viewtopic_body.html, we have the code:

Code: Select all

					<!-- IF postrow.U_QUOTE -->
						<li>
							<a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}" class="button button-icon-only">
								<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUOTE}</span>
							</a>
						</li>
					<!-- ENDIF -->
This excerpt is responsible for this icon here:

Screen Shot 2017-07-19 at 21.46.13.png
Screen Shot 2017-07-19 at 21.46.13.png (10.05 KiB) Viewed 1489 times

As you can see in the code above, there is no data-skip-responsive tag in the li code for this icon in the template file.

But, the browser rendered code is this:

Code: Select all

<li data-skip-responsive="true">
	<a href="./posting.php?mode=quote&amp;f=50&amp;p=147632" title="Responder com citação" class="button button-icon-only">
		<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">Citação</span>
	</a>
</li>
And the quote icon is stuck on the screen! I would like to know from where this specific data-skip-responsive tag came to be able to remove it, so I could hidden the quote icon in the (...) menu when viewing in a small screen.

Kind regards,
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Quote icon in viewtopic is not responsive

Post by _Vinny_ »

very strange

If I'm not mistaken, the quote button always hides in the (...) menu since 3.1.

You recently changed your style files? What extensions have installed?
User avatar
Talk19Zehn
Registered User
Posts: 846
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Quote icon in viewtopic is not responsive

Post by Talk19Zehn »

phpBB-3.2.0

Hello takufner, sure? The Quote-Icon into viewtopic is in my results not responsive for guests (anonymus) only as a long time (phpBB-3.1.x ff). Unless you have changed access rights that do not meet the standard.
BTW:
And this icon for guests (anonymus) will guide you after click to the login mask --> in my case => only for the guest accounts. An (only one) icon that guests see (!) is not responsive.

After login it is responsive --> Mobile Landscape Format (480x320) (after login (!)).

Is this really different in your case?

Regards
Best regards
phpBB3 Designs - My own works: Stylearea Ongray-Designs, Adventinducement-Calendar for phpBB
User avatar
takufner
Registered User
Posts: 216
Joined: Mon Oct 23, 2006 10:39 am
Location: Rio de Janeiro - Brasil
Name: Prof. Caju
Contact:

Re: Quote icon in viewtopic is not responsive

Post by takufner »

Hello,

Thanks for the answers. I just found the culprit.

I just posted this topic because there was no modification in the template files, but I was forgetting that some javascript could change this behavior.

With this in mind, I just searched in my ext folder for the word data-skip-responsive (using the command grep -r data-skip-responsive), and found out that the extension Quick Reply Reloaded has a js script that insert this tag in the quote icon! So I just changed some settings in this extension settings page and could reactivate the regular behavior in this quote icon.

Thanks again
User avatar
Talk19Zehn
Registered User
Posts: 846
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Quote icon in viewtopic is not responsive

Post by Talk19Zehn »

Hello, which settings? What was unavoidable and important from your experience?

If necessary, please provide the author of the extension if these errors are correct and corrections are mandatory.

Helpers will be grateful. ;)

Regards ..

Edit: == And good luck!
Best regards
phpBB3 Designs - My own works: Stylearea Ongray-Designs, Adventinducement-Calendar for phpBB
User avatar
takufner
Registered User
Posts: 216
Joined: Mon Oct 23, 2006 10:39 am
Location: Rio de Janeiro - Brasil
Name: Prof. Caju
Contact:

Re: Quote icon in viewtopic is not responsive

Post by takufner »

Hello Talk19Zehn,

This is the regular behavior of the Quick Reply Reloaded extension. It has an option called "Quick quote", and in "Quick quote settings" it's all well explained.

Then I just adjusted the setting to the behavior I want:
Screen Shot 2017-07-20 at 12.02.27.png
[]'s
Post Reply

Return to “[3.2.x] Styles Support & Discussion”