Add more Social media Profile fields

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Anti-Spam Guide
Post Reply
User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Add more Social media Profile fields

Post by Volksdevil » Sat Nov 08, 2014 9:09 pm

Hi,

I'd like to add more social media profile fields that display in the 'contact' drop down when viewing a topic.
I know you can simply add new profile fields, but there's no way to add the image for them in the contact area. Pretty disappointing really.

Ideally they should show just like/in all same places as the core facebook/twitter ones. My first proposal is Instagram :)

Unless somebody can suggest a way to edit these in then I'm all ears (And eyes).

Thanks.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Add more Social media Profile fields

Post by RMcGirr83 » Mon Nov 10, 2014 11:59 am

Looks like you can add more either before or after the contact fileds but not within them.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: Add more Social media Profile fields

Post by Volksdevil » Mon Nov 10, 2014 1:32 pm

With an image as well Rich?

I did add an extra one on my other 3.1 board, but it took a lot of messing about and I can't remember the specifics now. See paypal in pic below. But if there's an easier way, or perhaps an extension that can be made that would be great. I can probably look at the core code to add more again but I don't want to do that to then find an extension.

Hmmm, I can't upload an attachment here. If you click the 'contact' icon at: http://www.prewheeled.co.uk/viewtopic.php?t=118 you should see the paypal. (It will redirect to index if clicked as you won't be logged in)
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: Add more Social media Profile fields

Post by Volksdevil » Fri Nov 14, 2014 10:16 pm

Bump! Would have thought there would be a lot more interest in this! Especially as it looks as though the Google+ field was done as a bit of an afterthought regards being in the core. In fact, maybe I can just have a look at how that pulls an image and copy how it's done...

Edit: Hmmm. Well it actually uses the same image 'sprite' jobby. So that image would have to be edited.

---------------------------------------------------------

Edit: OK, I'm bored of waiting :lol: Quick hack to get Instagram and paypal in there...

1/ Download/save below pic as icons_contact.png, upload it to: yoursite.com/styles/prosilver/theme/images/icons_contact.png
Image

2/ Look at your instagram profile field in the profile field acp section and note the name of it in the database.
It will be shown next to 'Field identification:'

3/ Open up: yoursite.com/styles/prosilver/theme/images/buttons.css

4/ After .phpbb_yahoo-icon { background-position: -224px 0; }
On a new line add .FIELD-IDENTIFICATION-icon { background-position: -287px 0; }
Replacing FIELD-IDENTIFICATION with your own from step 2.

5/ Save, refresh cache etc. Done.
Last edited by Volksdevil on Fri Nov 28, 2014 7:33 pm, edited 1 time in total.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

Tuqe
Registered User
Posts: 63
Joined: Mon Nov 10, 2014 9:18 am
Location: Turkey

Re: Add more Social media Profile fields

Post by Tuqe » Fri Nov 14, 2014 11:36 pm

Very useful information, thank you.
:geek:

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: Add more Social media Profile fields

Post by Volksdevil » Sat Nov 15, 2014 1:11 am

No worries, it's the only way I can think to do it until somebody puts an extension together. :)
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
M.O.B.
Registered User
Posts: 927
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA
Contact:

Re: Add more Social media Profile fields

Post by M.O.B. » Fri Mar 27, 2015 4:50 am

@Volksdevil, thanks for giving us a tip on how to add more custom icons. I swear I was wondering how come they could not add a form there to link a custom icon to the new profile field.

I wonder if there is Photoshop PSD for icons_contact.png?
Image

Post Reply

Return to “Extension Requests”