Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Displaying single user profile on custom page. Is it doable?
Avatar
Mario Smode
Member
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2014 - 10:20 am

Hi, is it possible to integrate single user profile on a custom page. Custom page is nit related to forum itself, it is a page with user statistics, so I would like to show foruk statistics for ligged in user as well on that page.

I now there are template tags, but shortcut from template tags only displays "view profile", not the profile page itself.

Any ideas how to achieve my goal? Thank you.

I know this is not a bug or anything, I just thought that you guys might help me since the code is yours and you understand it better that I do..

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2014 - 8:32 pm

No, afraid its not directly possible...  we can have the forum profile redirect to another profile page, but it wont include simple press data...

since the other profile page wont know about the simple press data, it will take an interaction between the two to make it happen... our api supports doing this, but since we dont know where you are going, its a pull mechanism... you can easily load our profile data, but you would have to display the data...  and then hook into the save process to update the data..

we have integrated our profile into the buddypress profile in this manner...

Avatar
Mario Smode
Member
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2014 - 5:56 am

Well, this is my situation. I'm using a theme which has frontend posting, so users can post articles etc. But this theme has built in profile statistics, for ex. how many posts have been made by user, views, rating and so on. Then I also use plugin for social login witch also has it's own profile statistics. And now I have a forum which also has user's forum statistics. So I have three member profile pages on different locations of website and each of them shows some data that other page doesn't show. 

So my idea was to create a page which would contain all those user data and statistics on a single page. So far, I have successfully created a pege that combines theme user statistics and social login plugin statistics. All that is left now is to integrate Simple:Press user statistics. This is where I'm stuck. 

Simple:Press BuddyPress plugin unfortunately doesn't seems to work well. After activation, whole Wordpress backend and frontend breaks. I've got blank screen and there is nothing I can do. Deleting BuddyPress plugin from SPResources puts things back to normal. But I have to delete it from explorer since I can't even access forum plugins page while it's activated. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 17, 2014 - 10:12 am

On the BuddyPress integration front - I recall something in the past about this happening if BP notifications were turned off. Is this the case for you and, if so, if your BP and SP/BP plugin up to date?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mario Smode
Member
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2014 - 11:40 am

No, notifications are not an issue in my case. They are turned on, and all is up to date. Something causes this interference and I'm not quite sure what it is. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 17, 2014 - 11:43 am

That is the only issue I know of and I feel pretty sure that is resolved.
Will need to talk to Mr Papa who will be along later on.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2014 - 7:55 pm

that notifications not active issue was fixed long ago...  there are no known issues with the integration plugin currently - just new features folks want ;)

so sounds like an error is thrown... would be nice to know the error...  could you check the name of the directory in sp-resources... sounds like it might be called buddypress-x where x is a number... the name must be just buddypress...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625