Forum Replies Created
-
This is an example to see ajax calls having blank rows. All ajax calls have these blank rows btw.Guys, this is really urgent. Can you please give this a push in priority?
Since I am not able to edit my post, I got this solved doing:
global $bp; bp_core_new_nav_item( array( 'name' => 'Links', 'slug' => 'links', 'parent_url' => $bp->displayed_user->domain, 'parent_slug' => $bp->profile->slug, 'screen_function' => 'linksite_display_function', 'position' => 99, ) ); unset( $bp->bp_nav['links'] );
Ok, another quick question then. Am I able to create the slug of a profile subpage like:
bp_core_new_nav_item( array( 'name' => 'Links', 'slug' => 'links', 'screen_function' => 'linksite_display_function', 'position' => 99 ) );
but make it not appear in the nav? So the links and everything is working but it is not getting displayed in the navbar?
And would it be possible to use also a custom parent template? So I create a separate profile template which is only getting loaded visiting the new page?
Like if I had created a completely new profile template which only gets loaded under certain circumstances?
I hope you understand what I mean. If not, please let me know.
The page should kind of be like the settings page. Where it has its own design and settings etc but still be related to the profile and user.
Hope this helps to understand what I try to archive. I know it’s a pretty hard / uncommon request.
Thank you @shanebp but that’s not what I need. I got this working already, but I need a completely new page design at all.
This will only let me add content to a new tab but keep the base design of Buddypress user profiles. I need a new page with the slug but a completely blank page design.
But thanks for your suggestion.
Ok so I have added xProfileFields now and was able to have a color picker in place.
Can someone tell me, where and how I would have to load that hex value now, to make css changes to the users profile?
Would be great if someone could get me on the right track 🙂