Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Custom Profile Fields problem
Avatar
Ruben Kalitzki
Member
Free Members
sp_UserOfflineSmall Offline
Apr 10, 2015 - 5:50 am

Hi there...

Actually my issue was already solved from this https://simple-press.com/suppo.....2/#p149895 but after I upgrade to the newest version (5.5.5) with all plugins and themes too, the data (from Custom Profile Fields) not appear again in my profile page.

My code is still same like before

sp_ColumnStart('tagClass=spProfileShowInfoSection spRight&width=65%', 'profileInfo');
  sp_ProfileShowDisplayName('', __sp('Username'));
  sp_ProfileShowFirstName('', __sp('First Name'));
  sp_ProfileShowLastName('', __sp('Last Name'));
  sp_ProfileShowLocation('', __sp('Location'));
  sp_ProfileShowWebsite('', __sp('Website'));
  sp_ProfileShowBio('', __sp('Bio'));

  sp_CustomProfileFieldsProfileDisplay('Birthday', $spProfileUser–>ID, 'Birthday');
  sp_CustomProfileFieldsProfileDisplay('Gender', $spProfileUser–>ID, 'Gender');
  sp_CustomProfileFieldsProfileDisplay('City', $spProfileUser–>ID, 'City');
  sp_CustomProfileFieldsProfileDisplay('Steam', $spProfileUser–>ID, 'Steam');

sp_ColumnEnd('', 'profileInfo');

Thanks for your next respond

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 10, 2015 - 7:07 am

So can I assume from this that your code additions are in a child theme - or older style custom theme?
And - if so - arw you seeing any errors in the forum error log (JUST actual errors please)?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ruben Kalitzki
Member
Free Members
sp_UserOfflineSmall Offline
Apr 10, 2015 - 7:17 am

I don't use child theme because I'm really not familiar it. Maybe I missing something in there so that I only change on the default themes.

I don't see any error in my site except the data that use sp_CustomProfileFieldsProfileDisplay('Steam', $spProfileUser–>ID, 'Steam');  not appear in the profile.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 10, 2015 - 10:14 am

I'm a bit confused, are you saying that this is code you've put into one of the stock themes? It would then be lost when upgrading, so where is that code from? i.e what theme?

Avatar
Ruben Kalitzki
Member
Free Members
sp_UserOfflineSmall Offline
Apr 10, 2015 - 10:26 am

Thanks for your respond.

Yes, I know it before and I had the last backup for the site and database too before I upgrade the forum to the newest. After I upgrade, I will look the file that I already change before on the old backup with the newest upgrade and I will match it.

I only use default theme's with black-gold overlay.

I already try restore the last backup into other domain for testing. Its look like I got the same issue too. The data that I use sp_CustomProfileFieldsProfileDisplay(‘Steam’, $spProfileUser–>ID, ‘Steam’);  not appear in the profile.

Should I sent you the account info to you so that you could check or test it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 10, 2015 - 10:54 am

If you have reinstated the code into your current SP theme then yes - I think we better take a look...
Please PM credentials to both myself, to 'Mr Papa' and to 'Ike'. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look for you.
Please can you make the user a forum admin so we can also look at the data in the admin panels. Thanks

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 10, 2015 - 8:18 pm

which template file did you put that in?  spProfileShow.php or spProfilePopupShow.php?

and which ever, is that the type of profile that you are displaying?  That is, if you put in the popup template, are you showing profiles in popups?  

Avatar
Ruben Kalitzki
Member
Free Members
sp_UserOfflineSmall Offline
Apr 11, 2015 - 6:05 am

Many thanks for Yellow Swordfish and Mr. Papa respond.

I only change spProfileShow.php not spProfilePopupShow.php

I know where the issue are. Its look the newest version of Custom Profile Fields are different with old version. I can view user custom profile from my user account in older version but I couldn't view it again in the newest version, I only can view the default profile of all user not custom profile user.

Well, I think this topic is already solved and many thanks for your respond and your help too.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 11, 2015 - 6:22 am

I wil investigate. If we changed it in some way then it should have been documented in the updater notes. If this is the case then I apologise for it slipping through the net.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625