Phpbb 3.2 prosilver contact field

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
Iulyyy
Registered User
Posts: 30
Joined: Fri Feb 09, 2018 1:53 pm

Phpbb 3.2 prosilver contact field

Post by Iulyyy »

Hello !

This is the code in viewtopic_body.html

Code: Select all

<!-- IF not S_IS_BOT and .postrow.contact -->
			<dd class="profile-contact">
				<b>{L_CONTACT}{L_COLON}</b>
				<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 -->
						</div>
					</div>
				</div>
			</dd>
		<!-- ENDIF -->
And when I click the contact icon I see like this --> https://i.imgur.com/JDzeewa.png

I want when I click the icon from the contact field to directly go into send private message , i don't want options like "send email" or anything else..
just send private message (with quote of post as well).

Does anyone knows what I need to change?
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Phpbb 3.2 prosilver contact field

Post by david63 »

And what if a user has turned off in their UCP other users sending PMs?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Iulyyy
Registered User
Posts: 30
Joined: Fri Feb 09, 2018 1:53 pm

Re: Phpbb 3.2 prosilver contact field

Post by Iulyyy »

david63 wrote: Tue Mar 06, 2018 4:09 pm And what if a user has turned off in their UCP other users sending PMs?
Isn't a problem.
Will contact the other user posting on spam using a mention ;)
Or don't contact.. is not a problem
You know how to do it ?
User avatar
warmweer
Jr. Extension Validator
Posts: 11270
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Phpbb 3.2 prosilver contact field

Post by warmweer »

Iulyyy wrote: Tue Mar 06, 2018 1:35 pm
I want when I click the icon from the contact field to directly go into send private message , 1. i don't want options like "send email" or anything else..
just send private message (2. with quote of post as well).
1. Just turn off e-mails for users.
2. will need an extension
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Post Reply

Return to “phpBB Custom Coding”