Notifications
Clear all

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

17 Posts
2 Users
0 Reactions
3,068 Views
Posts: 25
Topic starter
(@milsou)
Eminent Member
Joined: 6 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 ?

16 Replies
Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years ago

Hi @milsou,

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

Posts: 25
Topic starter
(@milsou)
Eminent Member
Joined: 6 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: 3627
(@chris)
Famed Member
Joined: 3 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: 25
Topic starter
(@milsou)
Eminent Member
Joined: 6 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
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@milsou 

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

Page 1 / 3