Custom Profile Field doesn't appear on Forum Profile

Started by BGH, July 24, 2014, 06:35:36 AM

Previous topic - Next topic

BGH

Hello people,

After some months of inactivity I decided to pick up my forum on the road and started working on it. I removed MSN and activated Advanced Profile Field core setting and created a new profile field for Skype, following the same steps made by Oldiesmann on this post.

Everything went smooth, but when I went to Profile -> Forum Profile, to edit this new custom field, it doesn't appeared. I don't know why this happened, but I've been moving from other hostings and maybe there are some files missing, so I need a little guidance on this issue. Also looked for similar issues with the search function, but didn't find relevant results that would help me.

Can you point me out on what to do here?

Thanks in advance!

Regards.

Chalky

Ok, go back into Admin > Features and Options and go to modify your custom field.  Make sure you have selected "Forum Profile" in the box marked "Profile Section:"

Further down the page make sure the "Privacy" box is showing the desired setting and that the checkbox beside "Active" is checked.....

BGH

Thanks for the fast answer ChalkCat :)

This is how I have everything set up, hope it helps:

Quote
Name: Skype
Profile Section: Forum Profile
Show on Registration: No
Show on topic view: Checked
Choose Placement: With Icons

Show enclosed with text:
<a href="skype:{INPUT}?call"><img src="http://i.imgur.com/TLvfSLS.png" alt="Skype - {INPUT}" title="Skype - {INPUT}" /></a>

Field Type: Text
Maximum Length: 32
Input Mask: No HTML
Allow BBC: Unchecked
Privacy: Users can see this field; owner can edit it
Searchable: Checked
Active: Checked

As you can see everything should look normal  :-\

Chalky

Yes, the settings look fine to me...  Just a thought, have you tried clearing your forum cache?  Other than that, I have you admit you have me stumped...

Illori

you should really host that image on your server, so the image will always exist. a link to your forum to a profile where this should be shown may be more helpful at this time.

Chalky

As I understand it, Illori, it isn't that the field isn't showing on the profile, it's that at this point the field isn't showing on the "edit forum profile" screen.  We'd need a test account to see...

Illori

then did they set it to show on the account settings section instead? there are options for both areas.

BGH

Sorry, I had to head to work, and I forgot to logout, but thank you both for your assistance :).

Tried setting with Account Settings and Look and Layout, and both seem to work just as intended, but I really need this field to appear on Forum Profile, since I don't give privileges to our users to modify those areas. They're allowed to modify their Forum Profile, though.

So basically the problem shows when setting it to Forum Profile, might be an issue of a missing code or something like that?

Sir Osis of Liver

Duplicated all your settings in 2.0.8 test install, works fine, Skype is visible in Forum Profile in own and other Profile.  Running any mods?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

BGH

Thanks for your answer, Krash. Here is the lost of the mods installed:

Quote1.   SMF Likes Plus   1.5
2.   Topic Count in Profiles 2.0
3.   SimpleColorizer 1.1
4.   MessagePreviewOnHover 1.8
5.   Recount Member Posts 1.0.2
6.   Users Online Today   2.0.1
7.   Limit A Guests Daily PageViews Mod
8.   BBC Spoiler 1.0
9.   MSN Remove 1.0
10.   Ohara YouTube Embed 1.2
11.   Curve mobile mod

The one that might have a relevant impact on the profile is Topic Count in Profiles and maybe Recount Member Posts, too. But I don't know how can interfere with a custom profile field ???.

Regards

Sir Osis of Liver

Create a test profile field with same settings (leave the Skype field as is) and see if it has same problem.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Ninja ZX-10RR

Maybe some conflict with one of the profile mods...
What about going really easy on it and try this one instead of coding it? http://custom.simplemachines.org/mods/index.php?mod=1600 *flavio is being lazy today :P *
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

BGH

Quote from: Krash on July 24, 2014, 04:20:52 PM
Create a test profile field with same settings (leave the Skype field as is) and see if it has same problem.


Did that and same ol' story. Works on Account Settings and Look and Layout, but not in Forum Profile. I'm starting to think that a chunk of code is missing, probably on Profile.template.php, and that's why the field doesn't print there. It's odd, as I don't recall modifying nothing from that area ???.

Quote from: Flavio93Zena on July 24, 2014, 04:21:27 PM
Maybe some conflict with one of the profile mods...
What about going really easy on it and try this one instead of coding it? http://custom.simplemachines.org/mods/index.php?mod=1600 *flavio is being lazy today :P *

Hey Flavio, thanks for your answer :). Initially I was also looking for a mod, and came up with that one, too. But as it was outdated, I entered the support topic of that mod and found a link in the last post to the Oldiesmann reply, where he explains how to do it with SMF Custom Profile Field core feature. I'd like to do it that way, as it seems simple, clean and doesn't need to add code.

Illori

are you using a custom theme or the default theme?

Sir Osis of Liver

The topic count profile mod is updated to 2.0.6, so it should be good, but package managers shows errors in Profile.template.php and Profile-View.php.  Did you install it with errors?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

BGH

Quote from: Illori on July 24, 2014, 04:41:08 PM
are you using a custom theme or the default theme?

Custom theme, but it doesn't have an own Profile.template.php file. So it relies on that file from the default theme.

Quote from: Krash on July 24, 2014, 04:43:00 PM
The topic count profile mod is updated to 2.0.6, so it should be good, but package managers shows errors in Profile.template.php and Profile-View.php.  Did you install it with errors?


Apparently not at the moment when I installed it, but trying to uninstall it, yes it gives errors on those files.

Should I uninstall it and re-install it manually?

Illori

can you attach your profile.template.php file to your next post?


Illori

you have a lot of mostly theme changes in that file... i would recommend copy that to your custom theme, upload a fresh copy to the default theme and see if it works. if it does then do trial and error and see if you can find what change you have made is breaking things.

BGH

Ok, will do that, and report back with the results later.

Thank you all for your help here :).

Regards.

Advertisement: