Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity tab cannot be moved in Manage Page General Settings anymore

  • @capexpe

    Participant

    WP: 6.7.1
    BP: 14.3.1
    Theme : BuddyBoss with a custom child theme

    Since we update to 14.3 we cannot change the Activity tab order in the manage Page general setting anymore

    When we create a group, the default page is Activity.
    Previously it was possible to change it to any other tab in Manage Page General Setting, but not anymore.
    While I can change the place of the other tabs (Pages; Members, etc.) I cannot move the Activity any more, i.e. I cannot grab the Activity button while I can still grab and move the others.

    If I edit an old group where I changed the tab default to something else than Activity, I can still change the other tabs but I cannot grab the Activity and therefore I cannot change its order.

    Could someone help me on where to look at ? I’m clueless at this point.

    I tried on Safari Google Chrome, Firefox and observe the same behaviour.

    Thanks for your help

    Dominique

Viewing 6 replies - 1 through 6 (of 6 total)
  • @capexpe

    Participant

    I have installed 14.3.3 and the problem is still there.

    Anybody with an idea about where I should look at to fix it ?

    Activity is selected by default when you enter the Group and this default behaviour cannot be changed anymore. Previously we could simply change it in the Manage group tab, but now the Activity tab cannot be moved while all the others can.

    Thanks for you help.

    @capexpe

    Participant

    Hi

    I mentioned the same issue two months ago and I have not been able to fix it since.
    No answer to my message either

    https://buddypress.org/support/topic/activity-tab-cannot-be-moved-in-manage-page-general-settings-anymore/

    The Activity tab is the first tab menu and cannot be move to another place order in the menu. Except Activity on the first place, I can change the order of the tab menu

    Thanks for you help

    @emaralive

    Moderator

    Hi,

    First off, this is not the same issue as was the other topic you tried to hijack.

    What may help is that you provide a screenshot of Manage Page General Setting.

    @capexpe

    Participant

    Thank you for your reply and sorry for hijacking the other post.
    I thought the author was having the same issue as me.
    My mistake and thanks for deleting my message and accepting to send me your answer ans remark.

    As requested I have copied two screenshots here for you with an explanation:
    https://capexpe.org/expes/ski-fin-de-saison-autour-de-grenoble/gpages/test/

    I really appreciate the time you spend trying to help me.

    Dominique

    @emaralive

    Moderator

    Thanks for the screenshots, they do help. The page shown (General Settings) looks very similar to a page that is provided by the BuddyPress Groups Extras (BPGE) plugin, see the following screenshot:

    Truncated screenshot of BPGE plugin - General settings page

    As indicated in the screenshot, the Home or, in your case, the
    Activities tab is fixed in place by the code:

    
    if ( $nav['slug'] === 'home' ) {
    	$disabled = 'ui-state-disabled';
    }

    The above snippet can be found here and just indicates that the Home tab is disabled from being sortable. The following is what the element (li) has as classname (default ui-state-disabled) for a non sortable tab of which the only one is the Home tab.

    
    <li id="position_686f6d65" class="default ui-state-disabled">
         <strong>Home</strong>
    </li>

    While a sortable tab has default ui-sortable-handle as a classname.

    <li id="position_6d656d62657273" class="default ui-sortable-handle" style="">
          <strong>Members <span>1</span></strong>
    </li>

    The BPGE plugin author claims this change was due to:

    Group's "Activity"/"Home" navigation link is hard coded in BuddyPress to always be the first one, so disable its reordering.

    However, when I rollback from v3.7.0 to v3.6.10, the Home tab is now sortable and can be moved. So the reason for the change is not entirely true.

    Moving along, since the General Settings page from the BPGE plugin is similar to the page from your screenshots, we may be able to infer that there was a fork of some the code (the pages portion) from the BPGE plugin and was included in the BuddyBoss theme which AFAIK is a commercial (paid) theme, meaning I can’t verify the code within this theme due the status of free vs paid. If this is the case, then your resolve will have to come from the BuddyBoss developers. However, if the code that supports manage Page general setting resides elsewhere, e.g., custom code or 3rd party plugin, then the resolve is the responsibility of those who authored the code.

    As an aside, as it relates to the BPGE plugin, there is an appearance of wonkiness with the reordering of group tabs which appears to be a factor that caused the change to make the Home tab not sortable, however, I’m not sure if BuddyPress is causing the wonkiness,

    Having stated all of the above, it seems to me, the reason that you want the Pages tab to be the first tab is because you want that to be the landing page. Would this be a correct assumption? If so, there may be the possibility of changing the landing page to Pages, regardless of the tab order, which will depend on similar the code is similar enough to the BPGE plugin.

    @capexpe

    Participant

    Thank you very much emaralive for your time and very precise answer.
    I have been travelling but should be able to look into this further and get back to you.

    Yes indeed, the reason we have the page as the first tab is because we want it to be the landing page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar