you need to fix the code so that the quick reply buttons are not hidden Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
+2
skouliki
poesia-verses
6 posters

    you need to fix the code so that the quick reply buttons are not hidden

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 565
    Reputation : 22
    Language : and small english

    Solved you need to fix the code so that the quick reply buttons are not hidden

    Post by poesia-verses February 23rd 2023, 6:54 pm

    Here Ilya made a code for me on Russian support. it's for hiding the help window above the topic - it's an iframe with pictures. the code that I have is the same Ilya works well but slows down the loading of the theme loading the iframe. the new code i posted here is much faster but causes the quick reply buttons to be hidden

    Code:
    <div class='iframe_area'></div>
    <div class='btn_iframe'>Скрыть инструкцию</div>
    <script>
     
      $(document).ready(function() {
      let iframeArea = document.querySelector('.iframe_area');
      let btnIframe = $('.btn_iframe');
     
      if (btnIframe.text() === 'Скрыть инструкцию') {
      if (iframeArea.querySelector('iframe') === 'null') {
      iframeArea.insertAdjacentHTML('beforeend', '<iframe width="700" height="480" src="https://stihi-podval.forumotion.com/h1-page"></iframe>');
      }
      } else {
      iframeArea.querySelector('iframe').remove();
      }
     
     
      btnIframe.click(function() {
      if (btnIframe.text() === 'Скрыть инструкцию') {
      btnIframe.text('Показать инструкцию');
      localStorage.setItem('btniframe','off');
      iframeArea.querySelector('iframe').remove();
      } else if (btnIframe.text() === 'Показать инструкцию') {
      btnIframe.text('Скрыть инструкцию');
      localStorage.removeItem('btniframe');
      iframeArea.insertAdjacentHTML('beforeend', '<iframe width="700" height="480" src="https://stihi-podval.forumotion.com/h1-page"></iframe>');
      };
      });
     
      if (localStorage.getItem('btniframe') === 'off') {
      btnIframe.text('Показать инструкцию');
      iframeArea.querySelector('iframe').remove();
      } else {
      localStorage.removeItem('btniframe');
      iframeArea.insertAdjacentHTML('beforeend', '<iframe width="700" height="480" src="https://stihi-podval.forumotion.com/h1-page"></iframe>');
      };
      });
     
    </script>

    you need to fix the code so that the quick reply buttons are not hidden



    screenshot iframe
    you need to fix the code so that the quick reply buttons are not hidden Clipbo17
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15310
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by skouliki February 24th 2023, 7:27 am

    hello

    since the Russian support gave you the code please open a thread there about this issue

    thank you

    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1575
    Reputation : 266
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by Razor12345 February 24th 2023, 8:44 am

    Good afternoon!

    @skouliki , this code is suggested by me and on my test forum it works fine, but @poesia-verses buttons are hiding. Unfortunately, I don't know what the reason might be. Does anyone here know what might be the cause.

    @poesia-verses , tell us:
    1) Have you cleaned the forum cache and cookies?
    2) Have you tried disabling the scripts one by one - maybe another script is blocking the others?

    ------------ Update----------

    Which buttons are we talking about? This is what I saw when I wanted to check the buttons:

    you need to fix the code so that the quick reply buttons are not hidden Screen32

    you need to fix the code so that the quick reply buttons are not hidden Screen33

    you need to fix the code so that the quick reply buttons are not hidden Screen34
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15310
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by skouliki February 24th 2023, 9:33 am

    I don know if this is the reason but the member has informed in the past that he uses old windows and his browser is outdated so many times he deals with  problems

    Razor12345 likes this post

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 565
    Reputation : 22
    Language : and small english

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by poesia-verses February 24th 2023, 12:42 pm

    @Razor12345 I have an old script now, it's fine with it ... but slowly, and the buttons are the answer buttons
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19316
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by Ape February 24th 2023, 3:08 pm

    If you use a code on your forum and the code is messing about with other parts of your forum then this means your code is the problem.

    As the code is the problem we will not change nothing our side.

    The code you are using is the problem not our end.

    My advice is ask the maker of the code to rework it so it is not making a problem with other codes you have already running on your forum.

    second and third hand codes are nothing to do with us, You use all codes not made by us at your own risk.



    you need to fix the code so that the quick reply buttons are not hidden Left1212you need to fix the code so that the quick reply buttons are not hidden Center11you need to fix the code so that the quick reply buttons are not hidden Right112
    you need to fix the code so that the quick reply buttons are not hidden Ape_b110
    you need to fix the code so that the quick reply buttons are not hidden Ape1010

    BlackScorpion likes this post

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 565
    Reputation : 22
    Language : and small english

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by poesia-verses February 25th 2023, 7:58 pm

    @Ape I rely on local scripters.
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3228
    Reputation : 248
    Language : English, Italian, French
    Location : Italy

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by Niko February 25th 2023, 8:08 pm

    Coucou,

    Razor12345 wrote:@skouliki , this code is suggested by me and on my test forum it works fine, but @poesia-verses buttons are hiding. Unfortunately, I don't know what the reason might be. Does anyone here know what might be the cause.

    The problem may simply be what @skouliki mentioned:
    skouliki wrote:I don know if this is the reason but the member has informed in the past that he uses old windows and his browser is outdated so many times he deals with  problems

    If same forum + same script = problem
    and same forum + same script + different browser (updated) = ok
    then I also share the idea that it is just a browser issue Embarassed Embarassed

    BlackScorpion and Razor12345 like this post

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 565
    Reputation : 22
    Language : and small english

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by poesia-verses February 26th 2023, 9:04 pm

    decided. scripter Deff made the code, everything works. only one caveat - not open by default, but I made a large red button font

    solved
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51497
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: you need to fix the code so that the quick reply buttons are not hidden

    Post by SLGray February 26th 2023, 11:45 pm

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    you need to fix the code so that the quick reply buttons are not hidden Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.