Hi Brajesh, I am having trouble with the Private Message component, when my Message tab is enabled, for hiding subnavs ‘starred’ and ‘compose’ tabs.
Clicking ‘Private Message’ next to the profile, returns a 404 page not found. this is only a problem when creating a new private message , not for existing messages
Here is the settings:
Is enabled? x
Only enabled tabs will be visible. x
Set it as default component?
Are we modifying predefined tab? x
Are we modifying a tab added by BuddyPress or some other plugin? xAdd this tab for? All Members
Tab Visibility AnyoneSame settings for Subnav 1 and 2
except visibility: AdministratorRegards
CarstenHi Carsten,
It is expected.BuddyPress Private message buttons are hard coded to http://example.com/members/messages/compose url. If you remove the ‘compose’ sub tab, that link breaks.
A solution is to remove the private message button too if removing compose screen.
Regards
BrajeshHi Carsten,
The problem is link needs to be accessible/available to the user. When you change tab’s visibility, the links become unavailable for certain users and that’s why the private message button gets broken.
In other words, I mean the screen the button links to, becomes unavailable for certain users. That’s why any linking pointing to these screen become broken.
No, It does not uses css. It removes them completely using
bp_core_remove_nav_item(); bp_core_remove_subnav_item()
Regards
Brajesh
You must be logged in to reply to this topic.