Custom profile field - contact field

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
leschek
Registered User
Posts: 163
Joined: Tue Aug 28, 2012 1:30 pm

Custom profile field - contact field

Post by leschek »

While testing phpBB 3.1B1 I tried to create custom profile field for Facebook.
Here is the screenshot with options I set:
Image
It seems to work, but it is visible only on profile page. There is under "contact user" link "FB" (from "Contact Description"). But for some reason it is not visible in mini profile next to posts. I thought there also would be link FB, but it is not. I'm not sure if this is a bug or if I forget to set something? In Load Settings I have set all options for custom profile fields to "Yes".

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Custom profile field - contact field

Post by Pony99CA »

Do you have the Load Settings set properly?

Display custom profile fields in user profiles
Display custom profile fields on topic pages

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

leschek
Registered User
Posts: 163
Joined: Tue Aug 28, 2012 1:30 pm

Re: Custom profile field - contact field

Post by leschek »

Thank you for the reply.
Pony99CA wrote:Do you have the Load Settings set properly?
leschek wrote: In Load Settings I have set all options for custom profile fields to "Yes".
The option "Display custom profile fields on topic pages" is set to "Yes"
Pony99CA wrote:Display custom profile fields in user profiles
Image
As you can see, there is FB link.
Pony99CA wrote:Display custom profile fields on topic pages
Image
No FB link.

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: Custom profile field - contact field

Post by nickvergessen »

Well when you make it a contact icon, you also need to add the image to the .css
Thats sub-optimal but how it works at the moment.
Member of the Development-TeamNo Support via PM

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Custom profile field - contact field

Post by Pony99CA »

nickvergessen wrote:Well when you make it a contact icon, you also need to add the image to the .css
Thats sub-optimal but how it works at the moment.
Ah, that explains it. I'm suprised that the icon part doesn't work like rank images. I hope that will be cleaned up by the RC release at the latest.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

leschek
Registered User
Posts: 163
Joined: Tue Aug 28, 2012 1:30 pm

Re: Custom profile field - contact field

Post by leschek »

Would be nice if there is (for mini profile) field to write path for the icon and if icon is not used it would show in mini profile what is written in contact description field.

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: Custom profile field - contact field

Post by nickvergessen »

Yeah I guess that would work aswell. We need a new column in the table for that, but that shouldnt stop it.
Member of the Development-TeamNo Support via PM

NeilUK
Registered User
Posts: 88
Joined: Mon May 01, 2006 7:55 pm
Contact:

Re: Custom profile field - contact field

Post by NeilUK »

Will it be possible to make the new custom field open in a new window? I have just tested making a Twitter using it and it works great (I couldn't figure out how to make the icon appear on topic pages) but it worked great. To make it open in a new window would the "target="blank"" command need to be added via editing with an extension or could it be done by default?
"Life Is What Happens To You When You Are Busy Making Other Plans" - John Lennon

Post Reply