Hi there, I am not quite sure, where to write for premium support for purchased plugins, is it just in the normal support forum?
I have been playing around with BuddyPress User Profile Tabs Creator Pro settings, and come up with some questions:
1. I have created a tab for showing the members page, and it is visible in the tab row but it does not link to members page
I have named the slug ‘members’ according to the members page slug, this returns domain/members/profile/members and does not show the members page, but an empty page.
Here are the settings:
Set it as default component? NO (members is not a component, but a page)
Are we modifying predefined tab? NOHow do I link the tab to the members page, as Tab Link is optional, i don’t think this is the way to go?
2. I have added code in my theme functions.php for adding a Search’ tab, for showing BP Members Search in the tab row.
function profile_tab_yourtabname() {global $bp;
bp_core_new_nav_item( array(
‘name’ => ‘Søg’,
‘slug’ => ‘yourtab’,
‘screen_function’ => ‘yourtab_screen’, -and so on.This works very well, but I would like to add the search tab with with BuddyPress User Profile Tabs Creator Pro, instead, to gather all modifications in on place.
How do I do that? The search form has a short code, can I use that, or is it the page id or slug, like in the Members case above?
regards
CarstenHi Carsten,
We have free and premium support forums here and this topic you have already posted in our premnium forum.
About the issue:-
1. I assume you want to add a tab “Members” on user profile and want it to link to the member directory.
here is the complete settings
https://i.imgur.com/2jjbO9H.png
https://i.imgur.com/aNrlon5.pngThat’s all.
The important thing to note is that you enter the complete link to your members directory in the tab link.
Tab link should be used if you want to link to other pages. If you want to create a normal tab, you will not use it.
2. If the search form has a shortcode, please share it. You can disable the code and simply create a tab and in the first sub tab add that shortcode. That will do it.
Regards
BrajeshHi Brajesh, thanks for your answers
1. Adding Members
It is working now!2. Adding Search
‘simply create a tab and in the first sub tab add that shortcode.’ I can’t find subnav but not a sub tab with a field to enter the short code?
I prefer to add the shortcode solution, but alternatively I assume I can link the search page in the Tab link as I did with the Members page?
Slugs are created from the Tab title, should I just leave them like that?
Regards
CarstenHi Carsten,
Thank you.
1. That’s good.
2. Please see
https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/adding-buddypress-user-profile-tab-sub-navs/You can enter the shortcode in the content area.
For slug, You can leave it if you are creating links only.
If you are creating a tab that will show its content on user profile, you should assign a slug of your choice(and unique).
Regards
BrajeshIt is working now, thank you. One question regarding custom links vs. Pages
‘You can disable the code and simply create a tab and in the first sub tab add that shortcode. That will do it.’
I deleted the code from my functions.php.
Now the search tab in the WP menu, is a Page reference, before it was a was a Custom Link.All menu items are automated Custom links, except Home, Search and Members, which are page references
Why was Search a Custom Link before, and now a Page, what’s the difference, and what’s best?
Regards
CarstenHi Carsten,
1. It is your choice to either link to the content or put the content inside the tab
I do suggest using linking when the content exists and they do not add much value putting inside the tab.
In order to add a content(anything that supports shortcode or you can use simple rich text), You need to add a new tab and you should not specify the link. Also, you will need to add a sub tab with the actual content.
The choice is yours. I am not sure what the search was or what shortcode you had used earlier but if you need it inside the profile tab, you can achieve that.
Like I said earlier, the plugin can do almost anything which is/was achievable through code.
Regards
BrajeshHi Brajesh, I have found som design irregularities with the new created tabs. You have been most helpful with this plugin, so take your time, it is not an urgent issue.
This is the members own profile, My Profile
https://imgur.com/a/g9x6OU5Activating Members tab REMOVES the member profile information, tabs, profile image and cover image
https://imgur.com/a/kSf4CVMActivating search tab LEAVES the member profile information, tabs, profile image and cover image
https://imgur.com/a/OV005zNWhen entering a members profile the new tabs Members and Search are displayed, next to Profile and Gallery. this seems a bit weird.
https://imgur.com/a/Js1c0lTAgain clicking Members tab removes the visited members profile information
https://imgur.com/a/K69JWOGHitting the Search tab, does not
https://imgur.com/a/IDCigpVOptimally the members own Profile, should stay on top all the time, with all tabs visible, like it does when clicking Profile, Notifications
Messages, Gallery and Settings, Obviously all the BP Components. But then again, also Search and Gallery, but not Members?And the added tabs should not display when visiting a members profile.
Regards
CarstenHi Carsten,
I am sorry but I guess there are some confusions.Those are different pages.
1. The Tab you are seeing “Profile” , “Members”, “groups” etc, It is User profile page.
2. The search box and the list that you see with “All Members” tab is member directory page
Earlier, you linked “Members” tab on user profile to the sites member directory. So, when you click on a user’s “members” tab, Ut takes you to the site’s members directory.
That’s why you are seeing different layout.
In BuddyPress, The Members directory lists all users while profile is about one single user.
If you do not want to link to directory and want to show the members list inside the profile tab(I do not think it is a good idea as Buddypress already provides the directory), you can do so by creating a shortcode for listing members and using that in the Profile tabs plugin.
I am not sure if there exists a plugin that provides members list as shortcode, But if there is one, you can use that too.
Hope that clarifies.
Regards
Brajesh
You must be logged in to reply to this topic.