#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
General Discussions
Add social network
 
Share:
Share
Tweet
Share
Notifications
Clear all

Add social network

Page 1 / 2 Next
    Last Post
RSS

zetmouse
Posts: 12
 zetmouse
Topic starter
December 12, 2017 8:49 pm
(@zetmouse)
Active Member
Joined: 4 years ago

I'm from Russia.
We have a Russian social network VKONTAKTE (vk.com)
Can I add this to a member profile?

9 Replies
Robert
Posts: 8971
Robert - Twitter
 Robert
Admin
December 12, 2017 9:22 pm
(@robert)
Support Team
Joined: 6 years ago

I think the easiest way to change one of Social Network to VKONTAKTE, for example in phrase system search for ICQ or AOL IM and change the phrase to Vkontakte. This will be displayed as Vkontakte field on forum front.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
1 Reply
zetmouse
 zetmouse
(@zetmouse)
Joined: 4 years ago

Active Member
Posts: 12
December 12, 2017 10:09 pm
Reply toRobertRobert

And how to replace the icon?

Reply
Robert
Posts: 8971
Robert - Twitter
 Robert
Admin
December 12, 2017 10:44 pm
(@robert)
Support Team
Joined: 6 years ago

For example you change AOL IM to Vkantacte.

$field = 'aim';

For example you change ICQ to Vkantacte.

$field = 'icq';

You should add a small code in wpForo Field hook. Navigate to Dashboard > Appearance > Editor and put this code in functions.php file of your active child theme's functions.php file. If it doesn't have child theme put it in current theme functions.php file.

I'd also recommend use WP Editor plugin instead of WordPress native editor. The native editor sometimes doesn't save changes. Just install WP Editor then navigate to the same page and put this code as described above.

function wpforo_change_social_field_icon( $fields ){
//Field name
$field = 'aim';
//Font-Awesome icon class http://fontawesome.io/icons/
$icon = 'fa-vk';
if( !empty($fields) && isset($fields[$field])) $fields[$field]['faIcon'] = $icon;
return $fields;
}
add_filter( 'wpforo_member_after_init_fields', 'wpforo_change_social_field_icon' );

 

 

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
1 Reply
zetmouse
 zetmouse
(@zetmouse)
Joined: 4 years ago

Active Member
Posts: 12
December 18, 2017 7:21 pm
Reply toRobertRobert

I did not understand.
Where should I insert the code?
Installed topic News Magazine ( http://themedemo.web-dorado.com/theme-newsmagazine/)

nm.jpg
Reply
Robert
Posts: 8971
Robert - Twitter
 Robert
Admin
December 18, 2017 8:11 pm
(@robert)
Support Team
Joined: 6 years ago

The functions.php file is not the same for all themes, the content code is different, but all extra codes people insert in functions.php file. Just click on line #4, copy the code and paste there. Then save it and check. If you doubt, just send admin login details to support[at]gvectors.com email address, we'll do that for you.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
annabwashere
Posts: 38
 annabwashere
November 6, 2018 11:30 am
(@annabwashere)
Eminent Member
Joined: 4 years ago

Do we do this for every social network we need to change?

For example, I am changing AIM for Instagram, ICQ for Flickr and MSN for YouTube.

I have done it for Instagram already, but when filling out the field, it doesn't ask for a URL so the result isn't a link (like the Twitter field).

And how do we remove the other fields we don't need?

This post was modified 4 years ago by annabwashere
Reply
Page 1 / 2 Next
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    By Noved, 2 hours ago

  • Slight changes to my forum

    By marios, 15 hours ago

  • No Wpforo widget

    By Vijiki, 22 hours ago

  • Guest to not see recent posts on Recent activity page

    By OMTesla, 1 day ago

  • Prevent access to the url "community"

    By totor, 2 days ago

  • Dark mode

    By Vijiki, 2 days ago

Topic Tags

  • css50
  • translation49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • forum accesses30
  • spam29
  • phrases28
View all tags (2163)

Recent Posts

  • RE: How to schedule a topic?

    When will this be available?It'll be a very good featur...

    By Joselito, 2 mins ago

  • RE: Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    Hi @noved, Please read this instruction:/p>

    By Robert, 2 hours ago

  • RE: Guest to not see recent posts on Recent activity page

    @omtesla, Please take a screenshot of your Usergroups...

    By Robert, 3 hours ago

  • RE: Can I permanently set a single user to have all posts moderated?

    @fawp Realistically that might be what happens at the e...

    By Upstart DM, 5 hours ago

  • RE: No Wpforo widget

    @vijiki, To Remove Share Buttons, go to Dashboard >...

    By Chris, 9 hours ago

  • RE: Dark mode

    @vijiki I think you should invest some time to learn th...

    By dimalifragis, 10 hours ago

  • RE: Slight changes to my forum

    @chris Thanks yes the theme seems to be the error. I wi...

    By marios, 11 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,770 Topics
49.5 K Posts
7 Online
44.4 K Members

Latest Post: How to schedule a topic? Our newest member: Recession-Proof Your Family's ... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation