Edit Profile Field and removing?

Nyvorlas

Madly Diligent
Joined
Sep 12, 2012
Messages
9,466
Reaction score
415
FP$
5,994
Hello,

I wanted to ask if there was a way to remove a custom field from the profile box in a thread. Also, I wanted to ask if there was a way I could edit the text of one as well.
 
To make it not appear in your postprofile:
If you're the admin then go to ACP > Users and Groups > Users | Custom Profile Fields > Click the green gear of whichever field you want to not appear > Uncheck "Display on viewtopic screen"

You may also rename it there.

But as for members being allowed to edit those themselves. I'm not sure if that's possible.
 
Well I was meaning like the default ones. Such as "joined" and "location".
 
Oh. The default profile fields.

To change the name, I think you gotta edit the language file, go to forum root/language/en/common.php

and look for:
Code:
	'JOINED'				=> 'Joined',
and rename the 'Joined'.

same goes with
Code:
	'LOCATION'							=> 'Location',
and rename the 'Location'.

As for making them not appear in your postprofile.
Go to your style/prosilver (or whatever you are using)/template/viewtopic_body.html

find:
Code:
		<!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
		<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->

and delete them.

Make sure you have a backup before making any changes.
 
Back
Top Bottom