Forum

Whether it's a plugin thats causing issues, a theme, or just needed help with styling your site...We can help! Live Person Support for all your Wordpress Needs!

Welcome Guest

Pages: 1
Connection with BuddyPress profiles for Mingle Forum
TiagoBelotoPostDec 13 2011, 04:27 PM

Newbie
Posts: 3
Registered:
Dec 13 2011, 10:07 PM
Normal topicConnection with BuddyPress profiles for Mingle Forum

Hello, I am developing a site for a client, and I'm doing the site Worpress + BuddyPress + Mingle Forum. I do not like sitema of the BuddyPress forums, i installed Mingle Forum. When the Forum, appears who published the links, I just do not want to Mingle Forum profiles, only the profiles of BuddyPress.

I've searched forums made ​​this link, said it was very difficult the making. I looked in the file wpf.class.php some line of thought links and profile, line 1647.

There we have:

$link = "<a id='user_button' href='".$this->base_url."profile&id=$user_ID' title='".__("My profile", "mingleforum")."'>".__("My Profile", "mingleforum")."</a>";

I want to make a link to the BuddyPress this code with the user login. Example: In my BuddyPress, my profile is http://localhost/wordpress/members-2/admin/. I want to make the link http://localhost/wordpress/members-2/ and then some code to get the user login.

Would something like this:

$link = "<a id='user_button' href='http://localhost/wordpress/members-2/HERE THE FUNCTION TO GET THE USER LOGIN' title='".__("My profile", "mingleforum")."'>".__("My Profile", "mingleforum")."</a>";

It's correct? Can you help me?



Shrink, Track, Share, Control ... Dominate
yellowscreamPostJan 19 2012, 06:04 AM

Newbie
Posts: 12
Registered:
Dec 16 2011, 01:11 PM
Normal topicRe: Connection with BuddyPress profiles for Mingle Forum

can someone plz respond to this question, the solutions is there.
if you check this forum you can see that the links tot the profile have been changed from the userID to userName.
This is what we need to fix our problem

somosguatemalaPostFeb 03 2012, 08:15 PM

Newbie
Posts: 4
Registered:
Dec 08 2011, 08:30 PM
Normal topicRe: Connection with BuddyPress profiles for Mingle Forum

this would be nice to know! anyone?

mboyce84PostFeb 21 2012, 09:40 PM

Newbie
Posts: 1
Registered:
Feb 22 2012, 03:59 AM
Normal topicRe: Connection with BuddyPress profiles for Mingle Forum

Any solution here? I would like to implement this also if someone has done it.

MaltePostMay 06 2012, 04:54 AM

Beginner
Posts: 36
Registered:
Apr 29 2012, 03:25 PM
Normal topicRe: Connection with BuddyPress profiles for Mingle Forum

Try this:

global $current_user;
get_currentuserinfo();

$link = "<a id='user_button' href='http://www.replaying.de/mitglieder/$current_user->user_login' title='".__("My profile", "mingleforum")."'>".__("My Profile", "mingleforum")."</a>";

Works fine for me but it would be better if you called the BuddyPress Username.

Regards

MaltePostMay 27 2012, 06:59 AM

Beginner
Posts: 36
Registered:
Apr 29 2012, 03:25 PM
Normal topicRe: Connection with BuddyPress profiles for Mingle Forum

... works only for your own profile. But I'm also looking for a solution to link every username to their BuddyPress Profile instead of the Mingle Forum profile. It would be great if someone could tell us what we have to change in the wpf.class.php to link all usernames to their BuddyPress Profiles.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.157 seconds.


Shrink, Track, Share, Control ... Dominate