Support Forum

Improved User Profile Page

RS Ryan Siegel
Ryan Siegel
Member

I’m trying to replicate the users profile page that both xenoforo and WBB have, As the SP profile page is a bit plain 🙁

Example:
https://www.woltlab.com/user/1336426-alexander-ebert/#about

It would seem that integrating buddypress as my users default profile page may help by adding an activity feed and (as far as i’ve read) the ability to follower other users on the forum.

In any event – When I enable buddypress integration and set the profiles page to use budypress – I get a 404 error. Can somebody please help me sort this out or offer an alternative solution to buddypress to improve the users profile page? (not the edit profile page )

http://www.straighttothepint.com/forums/

Thanks

17 Answers

New Answer

RS Ryan Siegel
Ryan Siegel
Member

Well…If I have to create a custom spProfileShow.php page to display the profile as I want it, I suppose I can manage that in the long term.

What I really need to figure out and should definately be within the scope of support here – My buddypgress integration (specifically > Profiles > Profile options > Display Profile Mode ) is not working with BuddyPress….

MP Mr Papa
Mr Papa
Member

there is a whole api around the profile page and adding tabs and/or menus…  check out the sp-api-profile.php file.. you will see methods for adding/removing tabs and menus…  and we can of course provide more help on it since codex page not ready yet…

can you provide more info on what you mean by buddypress integration not working???  do you have the buddypress integration plugin installed?  the admin page you mention is not related at all to that… its for having our profile links (such as the hover on avatars) redirect to the buddypress profile page instead of forum profile page… but doesnt cause any kind of data sharing…

RS Ryan Siegel
Ryan Siegel
Member

I do have the buddypress plugin installed on my wordpress site and the sp buddypress plugin activated as well. I will look into the sp-api-profile.php file in the mean time and check out the codex, but it’s difficult to test if it’s not working.

If it’s simply redirecting – then it’s not working i’m afraid.

MP Mr Papa
Mr Papa
Member

just to reiterate, the buddypress integration and that option in the profile admin are unrelated…  the option only redirects… the integration plugin is for sharing of data…

so what does the profile link actually link to and what does it do when clicked?  my use of redirect was probably not the correct term… it does not redirect, it replaces the url of the link…  hence my question of what it is linked to…  can you point me to an example…

and also, it works only on the display of a users profile, not the edit…  there is a separate option you can use to change the url to the buddypress profile page for edit profile links (such as the button in forum header)…

RS Ryan Siegel
Ryan Siegel
Member

The profile link “re-directs” to the following url: 

http://www.straighttothepint.com/members/rionoskae/profile/

Which of course leads me to a 404 page. I have wp super cache enabled, but the forum directory is set as an exclusion with the plugin. (Also tried disabling it for the record) I’m aware it only effects the display of users profiles, that is what I’m trying to get working, as I am fine with the edit profile page as is.

It should be pulling information in from the following page, right?

http://www.straighttothepint.com/buddypress-members/rionoskae/

Can you not replicate this on your end?

YS Yellow Swordfish
Yellow Swordfish
Member

I am not too sure how quickly Steve might get to this issue at the moment so it might be up to me. If that is the case then please bear with me as I have never used or tried BuddyPress and will need to install it and learn a bit about it so that I can perhaps understand your problem which – at the moment of course – I just do not! But I will do my best of necessary.

RS Ryan Siegel
Ryan Siegel
Member

That would be much appreciated! Thanks for jumping in 🙂

MP Mr Papa
Mr Papa
Member

not sure what you mean by exclusion with the plugin…  our url change is hardcoded to be the standard buddypress profile page…  if you have changed that with plugin or other, afraid that wont work…

at least not directly…  we do provide a filter on the bp profile url, so you can alter it… the filter is:  sph_buddypress_profile…  the filter looks like:

            $site = apply_filters(‘sph_buddypress_profile’, $site, $user);

where $site is our url and $user is the user object… so you can build your own profile url…

@yellow-swordfish can give you more specific example if needed – sorry, heading out for a cruise vacation…

RS Ryan Siegel
Ryan Siegel
Member

The forums page is excluded from our caching plugin, That is all I meant.

Altering the URL is all fine and well, but if it doesn’t work in the first place I don’t know how much good that is going to do me…

YS Yellow Swordfish
Yellow Swordfish
Member

OK I have installed and activated BuddyPress and now need to work out what it is, what it does and how one uses it! So I guess I am off to do some reading…

Having said that I keep reading through this thread trying to get a handle on what your problem actually is about and am having difficulty. Are you simply saying that when the SP profile is set to use the BP profile, the URL created is incorrect? I know we have a lot of users with both plugins active and who use this feature and we have no other reports of a problem as far as I am aware so I want to be sure I have this right…

YS Yellow Swordfish
Yellow Swordfish
Member

OK – is this just that our plugin is expecting the BP profile page to actually have a pre-defined slug of ‘members’ as opposed to whatever the user has named it? As it certainly wotks for me as ling as thi9s is the case but I get the 404 if I try and use a different slug.

Is your issue as simple as that?

And if so I will need to check with Mr Papa when he returns about this. It might be (and as stated before – I have no knowledge of this) that when our integration plugin was written BP itself forced the page to be called ‘members’ and we missed the change to a user-selectable page.

If this isn’t the issue then I think I am going to need more information and perhaps a step by step guide on how to replicate…

RS Ryan Siegel
Ryan Siegel
Member

That was it!

Just had to rename my members page that was set in buddypress and viola! 

Thanks Yellow Swordfish 🙂

YS Yellow Swordfish
Yellow Swordfish
Member

Ah good.
I will open a ticket for discussion on that however as it should be able to use the user-set option. Glad you have what you want for now of course,

RS Ryan Siegel
Ryan Siegel
Member

Just wanted to follow-up on this issue in case anyone else encounters it.

After I’ve updated SimplePress & BuddyPress the profile page links broke once again. In the latest version you need to set the Members page in BuddyPress settings to the “BuddyPress Members” page.

~Cheers,

Ryan

**BTW – I had to pay 10 bucks just to view this thread again? Even though I created it? At first I thought perhaps it was maybe deleted, but it’s just behind a pay wall…. I think I should be able to view my own posts history without having to pay money for it!