What is this line of code?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Registered User
Posts: 430
Joined: Fri Aug 01, 2008 2:17 am
Location: Dry Dry Desert

What is this line of code?

Post by Angry_Sun »

Code: Select all

		<!-- IF S_PROFILE_FIELD_1 -->
			<!-- NOTE: Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
			<dt>{postrow.PROFILE_FIELD1_NAME}:</dt> <dd>{postrow.PROFILE_FIELD1_VALUE}</dd>
		<!-- ENDIF -->
What is that for? Admin Defined Profile Fields?

Registered User
Posts: 775
Joined: Sun Apr 27, 2008 4:49 am

Re: What is this line of code?

Post by blakebowling »

After you add a profile field in the ACP you can code it in. or just let the default code get it. I've never had to hard code one in yet but you may need to.


Return to “[3.0.x] Support Forum”