Notifications
Clear all

wpForo 1.x.x [Solved] Dofollow and show public profil page

17 Posts
2 Users
0 Likes
1,682 Views
Posts: 19
Topic starter
(@milsou)
Active Member
Joined: 4 years ago

Hi

I would like to get every links in Dofollow and showing all links in the public profil of members.

How doing that please ?

Topic Tags
16 Replies
Chris
Posts: 2699
Admin
(@chris)
Support Team
Joined: 2 years ago

Hi @milsou,

I don't follow you, please explain correctly that we could help you.

Posts: 19
Topic starter
(@milsou)
Active Member
Joined: 4 years ago

Well ... here is an exemple of profil page : https://forum.cnfn.fr/creation-site/profile/smj/

In thi profil, links to social networks are in NoFollow ... I would like to get them in DoFollow.

And in this profil page, we don't see every links... for exemple the website is not showned.

How fix that please ?

Chris
Posts: 2699
Admin
(@chris)
Support Team
Joined: 2 years ago
Posted by: @milsou

Well ... here is an exemple of profil page : https://forum.cnfn.fr/creation-site/profile/smj/

In thi profil, links to social networks are in NoFollow ... I would like to get them in DoFollow.

Insert this code in functions.php of your active theme:

add_filter('wpforo_form_prepare_values', function($f){
    if( is_string( wpfval($f, 'value') ) ) $f['value'] = str_replace('rel="nofollow"', '', $f['value']);
    return $f;
});
Posted by: @milsou

And in this profil page, we don't see every links... for exemple the website is not showned.

First, check that the website is filled in the website field.

If it's filled and is not visible, please let us know if you have installed wpForo – User Custom Fields add-on?

 

Posts: 19
Topic starter
(@milsou)
Active Member
Joined: 4 years ago

Thanks a lot for Dofollow links sir it works well.

So now please check the screenshot I'v sent... I was enter a website in the field but in public : https://forum.cnfn.fr/creation-site/profile/emile/ ... there is no website showing

1 Reply
Chris
Admin
(@chris)
Joined: 2 years ago

Support Team
Posts: 2699

@milsou 

are you using wpForo – User Custom Fields add-on?

Page 1 / 3