#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
Extended Layout
Extended Layout Ho...
How to redirect use...
 
Share:
Share
Tweet
Share
Notifications
Clear all

How to redirect users profiles links to my own users profiles pages ?

    Last Post
  RSS

geve2009
 geve2009
(@geve2009)
New Member
Joined: 4 years ago
Posts: 3
Topic starter October 21, 2018 5:10 pm  

Hi,

I've seen somewhere that it could not be possible, but my website (intras.fr) already get hundred of profiles pages, well referenced. I just have created some forums using the (very good) WPForo plugin, but it creates many new profiles pages.

My profiles pages are custom one and I don't want to change them !

Is it possible to create something like "add action" with some function ?

Thanks for your answer and sorry for any mistakes, my native language is french.


Quote
Topic Tags
profile url change profile profile page
Robert
 Robert
(@robert)
Support Team Admin
Joined: 6 years ago
Posts: 8968
Robert - Twitter
October 21, 2018 7:28 pm  

Hi @geve2009,

Yes that's possible. Please leave your website URL and some example of the profile pages.

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.


ReplyQuote
geve2009
 geve2009
(@geve2009)
New Member
Joined: 4 years ago
Posts: 3
Topic starter October 22, 2018 8:47 am  

Hi,

website url with your forum : https://www.intras.fr/forum/forum-formation/

Examples of profile page :

https://www.intras.fr/formateurs/fiche-membre/?ID=37

and

https://www.intras.fr/freelances/profil-freelance/?ID=463

 

This is depending on user's role.

Thanks for any help 🙂

This post was modified 4 years ago 2 times by geve2009

ReplyQuote
Robert
 Robert
(@robert)
Support Team Admin
Joined: 6 years ago
Posts: 8968
Robert - Twitter
October 22, 2018 9:15 am  

You should only change the profile page, but leave the Account, Subscription and Activity Menus. They are forum specific pages and your forum users will not be able to change account information in forum.

To replace profile URLs to your custom profile URLs put this code in your active WordPress theme functions.php file:

function change_wpforo_profile_to_custom_url( $url = '', $member = array(), $template = 'profile' ){
if( wpfval($member, 'ID') ){
return get_option('siteurl') . '/formateurs/fiche-membre/?ID=' . $member['ID'];
}
return $url;
}
add_filter( 'wpforo_member_profile_url', 'change_wpforo_profile_to_custom_url', 10, 3 );

How to Easily Add Custom Code in WordPress (without Breaking Your Site)

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.


ReplyQuote
Robert
 Robert
(@robert)
Support Team Admin
Joined: 6 years ago
Posts: 8968
Robert - Twitter
October 22, 2018 9:20 am  

Also I recommend disable wpForo Profile Page indexing in Dashboard > Forums > Settings > Features admin page:

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.


ReplyQuote
geve2009
 geve2009
(@geve2009)
New Member
Joined: 4 years ago
Posts: 3
Topic starter October 22, 2018 5:39 pm  

Thousand thanks for this fast an nice answer. It works well and I had customized it for my own use.

Suggestion : Why don't add this in your next update ?
A backoffice screen which offer options to select the profile link (UM profile, WC profile, ... and custom profile).

It would be very usefull for anyone.

 😀  Of course, I went to submit a 5 stars review for your nice plugin, but...

I would be happy to get ALL my WPForo screens translated into french language...
I had completed the PO file for french translation, but it seems that some words aren't into the translation file (i.e. "Unread posts" as link at the bottom of a forum, and some others... Thanks to check.

This post was modified 4 years ago 2 times by geve2009

ReplyQuote
  All forum topics
  Previous Topic
Next Topic  
Topic Tags:  profile url (7), change profile (2), profile page (13),

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

  • Menu location

    By Vijiki, 1 hour ago

  • Setting recent topics on forum frontend

    By Vijiki, 9 hours ago

  • Draft draft users post on wpforo

    By Vijiki, 11 hours ago

  • How to remove content from email notification

    By Vijiki, 12 hours ago

  • How to prevent forum users from PASTING / posting multiple colors and font sizes...??

    By Noved, 2 days ago

  • purchase of add on and it says payment pending

    By ReddBeard, 2 days ago

Topic Tags

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

Recent Posts

  • Menu location

    I will like to change the menu drop-down position/behav...

    By Vijiki, 1 hour ago

  • RE: Setting recent topics on forum frontend

    ok, now you explained better what you want to do. It ca...

    By dimalifragis, 4 hours ago

  • Problem with private forum

    Hi, i've one problem with my private forum. I want the ...

    By Darkkang, 10 hours ago

  • Draft draft users post on wpforo

    Hello How can I draft users post on wpforo (like a te...

    By Vijiki, 11 hours ago

  • RE: How to remove content from email notification

    Edit the body of the emails, in wpForo settings / email...

    By dimalifragis, 11 hours ago

  • RE: Show Likers with their avatar

    Have now found the correct code 😀 are these 3 lines ...

    By Tutrix, 2 days ago

  • RE: How to prevent forum users from PASTING / posting multiple colors and font sizes...??

    @noved add this to custom css #wpforo #wpforo-wrap ...

    By Tutrix, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,763 Topics
49.5 K Posts
9 Online
43.8 K Members

Latest Post: Menu location Our newest member: Betregister232 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