- This topic has 15 replies, 4 contibutors, and was last updated 9 years, 3 months ago by .
-
Question
Answers
- The question ‘profile page to display posts of user’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › profile page to display posts of user
Hi!
I have multiple custom post types in my custom theme with BuddyBoss:
– reviews
– news
– showcases
I was wondering if there is a way for the user’s profile page to display and extra tab below (content) the ‘profile’ tab. If somebody clicks it, it will show all the reviews, news articles and showcases posted by this user.
Short story, I would like other users to be able to see in a clean overview, what reviews, news articles and showcases have been posted by the user when they visit their profile page.
I can imagine some editing in the core files and adding loops for those posts but wonder if the devs have some smarter solutions.
Thanks!
@boris-kamp this work would be custom development. Creating a tab and inserting custom post types are, well, custom. Feel free to request a quote or work here: https://www.buddyboss.com/buddypress-developers/ otherwise you may need to request help on the BP forums or on StackOverflow. Good Luck!
@tjchester,
thanks for the link! I’ll try to create it myself, Im pretty sure custom development is out of my budget for this hobby website.
I think you are on the right track getting a loop going. Ask around the BuddyPress forums, I’m sure someone has done something similar. Good luck!
Thanks! I asked the question on their forum!
Any time 🙂
@boris-kamp – I’m doing the same and have tried a few options out there already. Perhaps we can share ideas?
@keen Sorry for my lack of reply! thats a good idea.
I will look into this soon, did you get started already?
Hi @boris-kamp!
I have made some progress with a plugin called BuddyForms. I’ve had to tweak it a bit to suit, the author has kindly taken some of my needs as suggestions and updated the plugin, and there are a few issues outstanding which I think I’m going to have to live without for the time being.
I have seen somewhere (once) that you can use Gravity Forms for front-end BuddyPress posting, but I’m not sure it will let you create tabs with that member’s posts listed for them to be able to edit/add new.
If you fancy sharing your email address in a private message, and need some pointers, I’d be happy to help. I can probably save you some hours!
Lorraine
Thanks @keen! sounds cool.
I’ve sent you a pm, when I start looking into it Ill probably get back to you!
@keen & @tjchester,
Do any of you know what file to edit in order to add the tabs? To me it looks I can just edit the file and create some extra loops to include the custom post types right? doesn’t seem to difficult to me?
Hi @boris-kamp, BuddyPress specific tab needs to be hooked by functions.
https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/
Regards
Varun Dubey
BuddyForms looks after this bit for you. You can just select to add the custom post type as a new tab.
Thanks @keen, BuddyForms is also a good solution to add tab for cpt.
That’s what I said? 😉