No dropdown on contacts

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
JustAGuy7
Registered User
Posts: 33
Joined: Tue May 08, 2018 11:34 am
Name: John

No dropdown on contacts

Post by JustAGuy7 » Tue Jun 05, 2018 11:56 am

Hi all,

So we only got 1 contact option for users, which is PM. Now when viewing a topic you still got the dropdown contact list. Now I thought it would also be possible to only have the PM icon and just remove the whole dropdown thing. Well I got that to work, I was very happy till I discovered that it lost it's function. Instead of making a PM with the quote from the post, it just went to the profile. Well almost there, but not yet, so well I thought I just ask you all. So how do I get only the PM icon, but with the PM quote function.

Thanks in advance,
John

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

Re: No dropdown on contacts

Post by Mannix_ » Tue Jun 05, 2018 12:58 pm

This

Code: Select all

{postrow.U_PM}
as link of your contact button should work
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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.

JustAGuy7
Registered User
Posts: 33
Joined: Tue May 08, 2018 11:34 am
Name: John

Re: No dropdown on contacts

Post by JustAGuy7 » Tue Jun 05, 2018 1:54 pm

So this works, I only got a small problem. When using the PM icon (which I want) the icon moves to the bottom and not next to contact (like it should). This doesn't happen if I use the contact icon (which if possible I don't want to use).
Image

The code as I got it now:

Code: Select all

			<dd class="profile-contact">
				<strong>{L_CONTACT}{L_COLON}</strong>
					<a href="{postrow.U_PM}" target="_blank" title="{postrow.contact.NAME}"><span class="contact-icon {postrow.contact.ID}-icon" title="{postrow.CONTACT_USER}"></span></a>
			</dd>

JustAGuy7
Registered User
Posts: 33
Joined: Tue May 08, 2018 11:34 am
Name: John

Re: No dropdown on contacts

Post by JustAGuy7 » Tue Jun 05, 2018 3:47 pm

Never mind, fixed it.

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: drumchannell, GanstaZ, janus_zonstraal, joshex, mdmd09 and 9 guests