[3.3][RC] Sticky Bar

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Sticky Bar

Post by HiFiKabin »

Please replace the contents of ext/hifikabin/stickybar/styles/prosilver/template/js/stickybar_goto.js with the following, purge the browsers and test

Code: Select all

jQuery ( document ).ready ( function($) {
var hash= window.location.hash
if ( hash == '' || hash == '#' || hash == undefined ) return false;
      var target = $(hash);
      headerHeight = 120;
      target = target.length ? target : $('[name=' + hash.slice(1) +']');
      if (target.length) {
        $('html,body').stop().animate({
          scrollTop: target.offset().top - 125 //offsets for fixed header
        }, 'linear');
      }
} );
Seems perfect on my test boards
JackSparrow_ICD
Registered User
Posts: 20
Joined: Wed Sep 13, 2023 9:38 am
Location: Italia
Name: Giuseppe

Re: [3.2][3.3][RC] Sticky Bar

Post by JackSparrow_ICD »

Hi, I noticed a problem with this extension.
When you have the page down and click on Notifications, and then scroll up the page, the notifications window moves up off the screen. Is there a way to resolve this by perhaps reporting it to the Notifications button in the header?
screenshot_778.png
screenshot_779.png
You do not have the required permissions to view the files attached to this post.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Sticky Bar

Post by HiFiKabin »

I have never noticed that before. I'll have a look and see if there is anything I can do about it

Thanks for the catch
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Sticky Bar

Post by HiFiKabin »

If you check how the notifications behave on a vanilla board (like here) they behave in exactly the same way when scrolling.

screenshot_169.png
You do not have the required permissions to view the files attached to this post.
JackSparrow_ICD
Registered User
Posts: 20
Joined: Wed Sep 13, 2023 9:38 am
Location: Italia
Name: Giuseppe

Re: [3.2][3.3][RC] Sticky Bar

Post by JackSparrow_ICD »

the popup behaves anomalously even when you click on the "Mark all as read" button: as you can see from the screenshots it moves up off the screen for no reason and without doing anything. Does this happen to you too?

screenshot_808.png
screenshot_810.png
You do not have the required permissions to view the files attached to this post.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Sticky Bar

Post by HiFiKabin »

No, it only moves when scrolling the page up and down.

Another of your extensions must be effecting it, but without disabling them its not going to be easy to figure out which one
JackSparrow_ICD
Registered User
Posts: 20
Joined: Wed Sep 13, 2023 9:38 am
Location: Italia
Name: Giuseppe

Re: [3.2][3.3][RC] Sticky Bar

Post by JackSparrow_ICD »

Thank you, at least now I have a starting point for solving my problem.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Sticky Bar

Post by HiFiKabin »

You can see it working correctly if you join my Extensions Board
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] Sticky Bar

Post by HiFiKabin »

3.2.0-RC2 now available Image

Bug Fix thanks to gvp9000

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Sticky Bar in the ACP
  • Delete stickybar folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP

Return to “Extensions in Development”