Support Forum

Custom profile fields giving the same thing for every member

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

It’s your code we really need to see… and where you have put it…

SS SamThaB0ss
SamThaB0ss
Member

Yellow Swordfish said
It’s your code we really need to see… and where you have put it…

sp_CustomProfileFieldsDisplay(‘Custom title’, $spPostUser->ID);

in topicview.php

MP Mr Papa
Mr Papa
Member

a little more please… where in the file? show some surrounding other tags.. is it in the post loop?

SS SamThaB0ss
SamThaB0ss
Member

Mr Papa said
a little more please… where in the file? show some surrounding other tags.. is it in the post loop?

sp_ColumnStart(‘tagClass=spUserSection spLeft&width=15%&height=50px’);
sp_PostIndexUserDate(‘tagClass=spPostUserDate spCenter’);
sp_UserAvatar(‘tagClass=spPostUserAvatar spCenter&context=user’, $spThisPostUser);
sp_PostIndexUserName(‘tagClass=spPostUserName spCenter’);

sp_CustomProfileFieldsDisplay(‘Custom title’, $spPostUser->ID);
sp_PostIndexUserLocation(‘tagClass=spPostUserLocation spCenter’);
sp_PostIndexUserRank(‘tagClass=spPostUserRank spCenter’);

MP Mr Papa
Mr Papa
Member

try: 

sp_CustomProfileFieldsDisplay(‘Custom title’, $spThisPostUser->ID);

and it assumes Custom title (case and all) is the name of our custom field..

SS SamThaB0ss
SamThaB0ss
Member

Mr Papa said
try: 

sp_CustomProfileFieldsDisplay(‘Custom title’, $spThisPostUser->ID);

and it assumes Custom title (case and all) is the name of our custom field..

Ooh, thanks! worked.