{PRIVATE_MESSAGE_INFO} returns nothing

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
arthurbro
Registered User
Posts: 6
Joined: Sat Feb 18, 2023 5:53 pm

{PRIVATE_MESSAGE_INFO} returns nothing

Post by arthurbro »

Hi,

I've upgraded an old phpBB2 board to phpBB 3.3.9. It works fine globally. I used to have in my former template {PRIVATE_MESSAGE_INFO}, displaying if the user had private messages (and how many). It returns nothing now, and I don't manage to find how to show this information...

Can you please help me ?

Thanks a lot
Last edited by Mick on Sat Apr 01, 2023 10:13 am, edited 1 time in total.
Reason: Solved.
User avatar
darakhshan
Registered User
Posts: 1032
Joined: Fri Apr 30, 2004 7:18 pm

Re: {PRIVATE_MESSAGE_INFO} returns nothing

Post by darakhshan »

hasn't it been changed from {PRIVATE_MESSAGE_INFO} to {INBOX_MESSAGE_INFO}?
When you stop learning, stop listening, stop looking and asking questions, always new questions, then it is time to die. Lillian Smith :!:
User avatar
Prosk8er
Registered User
Posts: 1744
Joined: Sun Mar 12, 2006 3:30 am
Location: Rochester, NY
Name: Tyler
Contact:

Re: {PRIVATE_MESSAGE_INFO} returns nothing

Post by Prosk8er »

Code: Select all

<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
was switched to

Code: Select all

		<!-- IF S_DISPLAY_PM -->
			<li class="rightside" data-skip-responsive="true">
				<a href="{U_PRIVATEMSGS}" role="menuitem">
					<i class="icon fa-inbox fa-fw" aria-hidden="true"></i><span>{L_PRIVATE_MESSAGES} </span><strong class="badge<!-- IF not PRIVATE_MESSAGE_COUNT --> hidden<!-- ENDIF -->">{PRIVATE_MESSAGE_COUNT}</strong>
				</a>
			</li>
		<!-- ENDIF -->
you would want to use this part

Code: Select all

<span>{L_PRIVATE_MESSAGES} </span><strong class="badge<!-- IF not PRIVATE_MESSAGE_COUNT --> hidden<!-- ENDIF -->">{PRIVATE_MESSAGE_COUNT}</strong>
arthurbro
Registered User
Posts: 6
Joined: Sat Feb 18, 2023 5:53 pm

Re: {PRIVATE_MESSAGE_INFO} returns nothing

Post by arthurbro »

Thank you very much !
User avatar
Prosk8er
Registered User
Posts: 1744
Joined: Sun Mar 12, 2006 3:30 am
Location: Rochester, NY
Name: Tyler
Contact:

Re: {PRIVATE_MESSAGE_INFO} returns nothing

Post by Prosk8er »

yup no problem
Post Reply

Return to “[3.3.x] Support Forum”