Send private message in thread view on mobile

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
rinu
Registered User
Posts: 10
Joined: Thu Feb 15, 2018 1:19 pm

Send private message in thread view on mobile

Post by rinu » Thu Feb 15, 2018 2:41 pm

On desktop, there is a contact button with 3 dots next to the post. When I click on it, I get the option to send a private message or email.
On mobile however, there is no such option. I need that button on mobile as well.

I recently upgraded that forum from 3.0 to 3.2.2. No plugins or themes are installed, no old source code survived.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49445
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Send private message in thread view on mobile

Post by stevemaury » Thu Feb 15, 2018 3:00 pm

That is by design, it appears. If you want to send a post author a PM, you can click the username and from the resulting profile there is a link to PM that user.

It is true that this method does not quote the post as the ... icon does. But you could use the Quote icon, copy the result and paste it into the email. I realize this is rather awkward if you need the post quoted in the PM.

I am not much of a styles guy, but all thiss appears to happen HERE in viewtopic_body.html:

Code: Select all

<!-- EVENT viewtopic_body_contact_fields_before -->
		<!-- IF not S_IS_BOT and .postrow.contact -->
			<dd class="profile-contact">
				<strong>{L_CONTACT}{L_COLON}</strong>
				<div class="dropdown-container dropdown-left">
					<a href="#" class="dropdown-trigger" title="{postrow.CONTACT_USER}">
						<i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">{postrow.CONTACT_USER}</span>
					</a>
					<div class="dropdown">
						<div class="pointer"><div class="pointer-inner"></div></div>
						<div class="dropdown-contents contact-icons">
							<!-- BEGIN contact -->
								{% set REMAINDER = postrow.contact.S_ROW_COUNT % 4 %}
								<!-- DEFINE $S_LAST_CELL = ((REMAINDER eq 3) or (postrow.contact.S_LAST_ROW and postrow.contact.S_NUM_ROWS < 4)) -->
								<!-- IF REMAINDER eq 0 -->
									<div>
								<!-- ENDIF -->
									<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->>
										<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>
									</a>
								<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
									</div>
								<!-- ENDIF -->
							<!-- END contact -->
Just as a wild guess, try changing "true" to "false" and then purge the cache and test. If that doesn't work, post in the Styles Support & Discussion forum and see if someone will give you the right code hack to show the icon in mobile mode. I assume the style is prosilver?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

rinu
Registered User
Posts: 10
Joined: Thu Feb 15, 2018 1:19 pm

Send private message in thread view on mobile

Post by rinu » Thu Feb 15, 2018 3:07 pm

The style is prosilver.

User avatar
canonknipser
Registered User
Posts: 1593
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Send private message in thread view on mobile

Post by canonknipser » Thu Feb 15, 2018 4:05 pm

Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

rinu
Registered User
Posts: 10
Joined: Thu Feb 15, 2018 1:19 pm

Re: Send private message in thread view on mobile

Post by rinu » Thu Feb 15, 2018 5:58 pm

So the comment on that issue is saying UX on mobile doesn't matter? Why even bother with responsive then? That is such bs.

I'll try some hack solution when I find more time. I don't know phpBB internals but I'm a PHP developer, I'll figure something out. If something works, I'll post it here. But this should really be solved in a future version of phpBB.

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 709
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Send private message in thread view on mobile

Post by Hanakin » Fri Feb 16, 2018 7:45 am

for clarity, the issue is that prosilver has poor design and codebase due the how old it is. We can not really handle a lot of the necessary changes to mobile with this theme. That is why we are creating a new theme to replace it eventually, but it's still a long way out. As stevemaury pointed out you can click the username for now, as senky pointed out in the tracker comments mobile design is not something that is easily accomplished. Most of the time you have to way your options and hide a lot of features due to the small screen space. In the new theme you would still click the username but instead of going to a new screen it will give you a popup menu with a pm button amongst other things.

User avatar
Mannix_
Registered User
Posts: 317
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Send private message in thread view on mobile

Post by Mannix_ » Sat Feb 24, 2018 3:19 pm

I've manage to make it work by doing this :

Code: Select all

@media (max-width:700px){
	.profile-contact {
	display: inline-block !important;
    	margin-left: 0 !important;
	position:absolute;
	}
	.profile-contact .contact-icons a {
    	padding: 5px;
}
}
It might not be the optimal way to do it but it works :)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 709
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Send private message in thread view on mobile

Post by Hanakin » Mon Feb 26, 2018 1:30 pm

Mannix_ wrote:
Sat Feb 24, 2018 3:19 pm
I've manage to make it work by doing this :

Code: Select all

@media (max-width:700px){
	.profile-contact {
	display: inline-block !important;
    	margin-left: 0 !important;
	position:absolute;
	}
	.profile-contact .contact-icons a {
    	padding: 5px;
}
}
It might not be the optimal way to do it but it works :)
Can you post a screenshot

User avatar
Mannix_
Registered User
Posts: 317
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Send private message in thread view on mobile

Post by Mannix_ » Mon Feb 26, 2018 4:01 pm

Hanakin wrote:
Mon Feb 26, 2018 1:30 pm


Can you post a screenshot
sure
2018-02-26_16h59_24.png
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

rinu
Registered User
Posts: 10
Joined: Thu Feb 15, 2018 1:19 pm

Re: Send private message in thread view on mobile

Post by rinu » Tue Feb 27, 2018 8:39 am

That seems to work really well. But I couldn't find any way to force the CSS version to change, everyone needs to clear their browser's cache to make it work for them.

User avatar
david63
Jr. Extension Validator
Posts: 14643
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Send private message in thread view on mobile

Post by david63 » Tue Feb 27, 2018 10:10 am

rinu wrote:
Tue Feb 27, 2018 8:39 am
But I couldn't find any way to force the CSS version to change
In your stylesheet.css file change the version number for the file that you have changed
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

rinu
Registered User
Posts: 10
Joined: Thu Feb 15, 2018 1:19 pm

Re: Send private message in thread view on mobile

Post by rinu » Wed Feb 28, 2018 10:02 am

david63 wrote:
Tue Feb 27, 2018 10:10 am
rinu wrote:
Tue Feb 27, 2018 8:39 am
But I couldn't find any way to force the CSS version to change
In your stylesheet.css file change the version number for the file that you have changed
And then what? stylesheet.css is also cached in the browser.

rinu
Registered User
Posts: 10
Joined: Thu Feb 15, 2018 1:19 pm

Re: Send private message in thread view on mobile

Post by rinu » Wed Feb 28, 2018 10:12 am

rinu wrote:
Wed Feb 28, 2018 10:02 am
And then what? stylesheet.css is also cached in the browser.
I found the tiny cache purge button in ACP > General.

User avatar
david63
Jr. Extension Validator
Posts: 14643
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Send private message in thread view on mobile

Post by david63 » Wed Feb 28, 2018 10:33 am

rinu wrote:
Wed Feb 28, 2018 10:02 am
stylesheet.css is also cached in the browser.
Not when you add a version - it forces a reload of the css
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 709
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Send private message in thread view on mobile

Post by Hanakin » Wed Feb 28, 2018 11:44 am

hmm that's also in 3.2 which will never happen, it would have to be in 3.3 so would need to test it there, also not sure i like it underneath might play around to see if it could be floated to the right and hide the word contact

Post Reply

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

Who is online

Users browsing this forum: No registered users and 6 guests