XF 2.1 Forum Jump drop down

Migrating from a myBB forum and there was a user request to see if there was a "Forum Jump" add on or mod. At the bottom of a thread or page there is an option to click a dropdown menu to quickly jump to another forum without having to go back to the main forum page.

Is there something like this for XF2?
Screen Shot 2020-02-23 at 5.58.19 PM.webp
 
Nothing really exists that I know of. You could always just create a simple popup menu in XF with manual links.

Code:
        <div class="p-forumList">
            <a class="p-forumList-link menuTrigger button" data-xf-click="menu" role="button" tabindex="0" aria-expanded="false" aria-haspopup="true">Forum Jump</a>
            <div class="menu forumList-menu" data-menu="menu" aria-hidden="true">
                <div class="menu-content">
                    <h4 class="menu-header">Quick Jump</h4>
                    <a href="linktonode1" class="menu-linkRow">Forum node 1</a>
                    <a href="linktonode2" class="menu-linkRow">Forum node 2</a>
                    <a href="linktonode3" class="menu-linkRow">Forum node 3</a>
                    <a href="linktonode1" class="menu-linkRow">Forum node 1</a>
                    <a href="linktonode2" class="menu-linkRow">Forum node 2</a>
                    <a href="linktonode3" class="menu-linkRow">Forum node 3</a>
                    <a href="linktonode1" class="menu-linkRow">Forum node 1</a>
                    <a href="linktonode2" class="menu-linkRow">Forum node 2</a>
                    <a href="linktonode3" class="menu-linkRow">Forum node 3</a>
                </div>
            </div>
        </div>

If you want to set a max-height on the menu place this in extral.ess:

Code:
.forumList-menu .menu-content {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}
 
Nothing really exists that I know of. You could always just create a simple popup menu in XF with manual links.

Code:
        <div class="p-forumList">
            <a class="p-forumList-link menuTrigger button" data-xf-click="menu" role="button" tabindex="0" aria-expanded="false" aria-haspopup="true">Forum Jump</a>
            <div class="menu forumList-menu" data-menu="menu" aria-hidden="true">
                <div class="menu-content">
                    <h4 class="menu-header">Quick Jump</h4>
                    <a href="linktonode1" class="menu-linkRow">Forum node 1</a>
                    <a href="linktonode2" class="menu-linkRow">Forum node 2</a>
                    <a href="linktonode3" class="menu-linkRow">Forum node 3</a>
                    <a href="linktonode1" class="menu-linkRow">Forum node 1</a>
                    <a href="linktonode2" class="menu-linkRow">Forum node 2</a>
                    <a href="linktonode3" class="menu-linkRow">Forum node 3</a>
                    <a href="linktonode1" class="menu-linkRow">Forum node 1</a>
                    <a href="linktonode2" class="menu-linkRow">Forum node 2</a>
                    <a href="linktonode3" class="menu-linkRow">Forum node 3</a>
                </div>
            </div>
        </div>

If you want to set a max-height on the menu place this in extral.ess:

Code:
.forumList-menu .menu-content {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}
Thank you so much for this really did help me with my issue and scroll menu could help me with my second issue i have? Could you guide me to make this work with moderator tools on profile and more options in thread view?

Would it be something like:

Code:
 .menu-content {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}
 
Managed to get it working by placing forumList-menu after menu in thread_view & member_view

Screenshot 2022-04-20 202012.png

Using

Code:
.forumList-menu .menu-content {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}
 
Back
Top Bottom