• Hi all

    I need your help to

    is it possible when we create user groups for asgaros
    example name plugin nav menu groups asgaros
    ex: https://91.121.171.213/asgaros/01_menu.jpg

    associate visibility with the menu bar
    ex: https://91.121.171.213/asgaros/02_menu.jpg

    example:
    if the user is:
    -Public or Minecraft,rocket league ,DiabloIII=>
    display of the menu bar:Accueil|page d’…|Forum

    if the user is:
    -trackmania
    display of the menu bar:Accueil|page d’…|Forum|serveurs

    ******
    because the problem we have tabs that will not be useful to the group concerned, it’s diffirents role.

    ******
    Thank you for your help

    cordially

    cous_hub

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Hi,

    Per the FAQ, Nav Menu Roles can be extended to support levels/groups/memberships that are not defined as WordPress roles.

    Here’s an example of a bridge plugin that adds Nav Menu Roles support for WooCommerce membership levels:
    https://github.com/helgatheviking/nav-menu-roles-woocommerce-memberships

    I’ve written it in such a way that you can build your own version by adapting the 3 functions at the end to suit your membership levels and ignoring the rest. If you are not comfortable doing this, I can custom-write the plugin for you starting at $300. This assumes the information I need from the forums plugin is readily documented. If you are interested, please contact me via my website.

    Thread Starter coushub

    (@coushub)

    Hi helgatheviking

    I just wanted an add on the plugin for the group asgaros

    I succeeded, but coding less well
    https://91.121.171.213/asgaros/nav-menu-role-group-asgaros.zip
    look file:nav-menu-role-group-asgaros.php
    lignes:
    -269 at 283
    -438 at 449
    -566 at 581

    you can test with the forum plugin asgaros (group user)

    what I wanted is that your plugin evolves taking into account the groups of users of asgaros.

    Of course by coding better than me

    Tell me your opinion or if you can update your plugin.

    thanks for your help

    cordially

    Cous_hub

    Plugin Author HelgaTheViking

    (@helgatheviking)

    Hi,

    I will not be updating Nav Menu Roles itself to account for Asgaros or any other plugin. However, there are filters already in place that will allow you to extend it. You must write a bridge plugin to connect the two. Again, see the example:
    https://github.com/helgatheviking/nav-menu-roles-woocommerce-memberships

    If you know how to query *all* the Asgaros groups and how to check if the current user has a particular group’s access then you have the Asgaros parts required to modify the example.

    Good luck.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Evolution nav menu’ is closed to new replies.