Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

DIY Desktop Site Customisation - Use at own risk

124

Comments

  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    Could some one point right direction. Per image, post text body field only expand once text exceed hight of user "data" on the left. Would love to get it shrink to bare min

    Also reduce spacing above and bellow signature image

    CSS if posible please. Thanks




  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Actually just looking at that. One moment



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    /* user signiture padding top */
    .Content .MessageList .UserSignature {
      border-top: 1px solid rgb(211, 212, 213);
      padding-top: 5px;
      padding-bottom: 0px;
      margin-top: 0px;
      margin-bottom: 0px;
      clear: both;
    }
    
    /* margin bottom */
    .userContent.userContent.userContent.userContent .float-left .embedExternal-content, .UserContent.UserContent.UserContent.UserContent .float-left .embedExternal-content, .userContent.userContent.userContent.userContent .float-right .embedExternal-content, .UserContent.UserContent.UserContent.UserContent .float-right .embedExternal-content {
      margin-bottom: 2px;
    }
    


  • Registered Users Posts: 603 ✭✭✭Captain Snow


    Deleted

    Post edited by Captain Snow on


  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly




  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    Thanks, squashed even further with { margin-bottom: -40px;} as react buttons are 30px. will see how it goes.

    now remaining post text body.

    PS.: could you convert your code into quote instead code block - potentially it causes this page freeze. Thanks



  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie




  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles




  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    a codeblock won't cause the page to freeze it is any formatting that causes the issue as far as I can tell.



  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    If you say so, i am not certain. i noticed its not bad in the morning -bad in the afternoon. However it effects this thread most. I could be wrong



  • Advertisement
  • Posts: 17,378 ✭✭✭✭ [Deleted User]


    What's the issue? Freezes?



  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    not right now, but last few evening was seriously bad, down to need to reload page in new tab or even restart FF.



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles



    Seems so, editing a post with formatting seemed to trigger it for me. Refreshing the page seemed to fix. It could have been site wide also. Reply box seems to freeze when a draft saves so if that is happening all at once site wide it might account for it?!



  • Registered Users, Registered Users 2 Posts: 5,617 ✭✭✭archfi


    Unfortunately, it does and specifically for a good few users on this thread and only this thread in my experience. Page 2 for instance is a huge inconvenience to even open, for me at least but I don't think I'm alone there.

    The issue is never the issue; the issue is always the revolution.

    The Entryism process: 1) Demand access; 2) Demand accommodation; 3) Demand a seat at the table; 4) Demand to run the table; 5) Demand to run the institution; 6) Run the institution to produce more activists and policy until they run it into the ground.



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles



    No issue with page 2 my end. Has to be something else causing the issue. I've tested both formatting and a codeblock on another thread and saw no issue there also. Which leads me to believe it might be drafts being saved or the accumulation of them in a users profile. I have no drafts but I also cleared my cache so could be a cache issue.



  • Registered Users, Registered Users 2 Posts: 5,617 ✭✭✭archfi


    It's odd alright.

    when I have a chance I'll test it out with a few browsers with/without extensions/addons - it may well be fingerprinting browser defences for instance.

    The issue is never the issue; the issue is always the revolution.

    The Entryism process: 1) Demand access; 2) Demand accommodation; 3) Demand a seat at the table; 4) Demand to run the table; 5) Demand to run the institution; 6) Run the institution to produce more activists and policy until they run it into the ground.



  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly


    It seems they have done some fixes on the backend - page 2 seems to be working fine for me now



  • Posts: 17,378 ✭✭✭✭ [Deleted User]


    I edited your code for thanks so it works for the opening post in a thread, Fritz.

      $(".ReactButton-Like").each(function () {
    
    
        var postid = $(this).closest("li").attr("id");
        /**
         * Fix opening post
         */
        if (postid == "Comment_") {
          postid = $(this).attr('href').split('=')[1];
          console.log(postid)
          $(this).closest("li").attr('id', "Comment_" + postid);
          $(this).closest("li").attr('req_type', "Discussion");
        } else {
          postid = postid.split("_");
          postid = postid[1];
        }
        $("<div class='fritzelly_thanks' id='thanks_" + postid + "'> </div>").insertAfter($(this).closest(".postbit-wrapper"));
    
    
      });
      $(".ReactButton-Like .Count").each(function () {
        var thanksTotal = $(this).text();
        postid = $(this).closest("li").attr("id")
        post_id = postid.split("_")
        post_id = post_id[1]
        /**
         * Check comment or discussion
         */
        var type = 'Comment';
        if ($(this).closest("li").attr('req_type') == "Discussion") {
          type = "Discussion";
        }
        $.ajax({
          url: "https://www.boards.ie/reactions/users/" + type + "/" + post_id + "/like?DeliveryType=VIEW",
          method: "GET",
          custom: post_id,
          thanksTotal: thanksTotal
        })
          .done(function (data, textStatus, jqXHR) {
            var postID = this.custom;
            $('#thanks_' + postID).append("Thanked by: ");
            var thanksArray = [];
            $(data).find('li a').each(function () {
              if ($(this).attr("title") != undefined) {
                thanksArray.push($(this).attr("title"));
              }
            });
            if (this.thanksTotal > 10) {
              thanksArray.push(' and ' + (thanksTotal - 10) + ' more.')
            }
            $('#thanks_' + postID).append(thanksArray.join(', '));
          });
      });
    


  • Posts: 17,378 ✭✭✭✭ [Deleted User]


    And I found dark mode for code blocks somewhere.

    .hljs {
       display: block !important;
       overflow-x: auto !important;
       padding: 1em !important;
       color: #dfdfe0 !important;
       background: #23232d !important;
       border: solid #393948 1px !important
    }
    
    
    .hljs-comment,
    .hljs-quote {
       color: #a5b0bd !important;
       font-style: italic !important
    }
    
    
    .hljs-doctag,
    .hljs-formula,
    .hljs-keyword {
       color: #ef81b0 !important
    }
    
    
    .hljs-deletion,
    .hljs-name,
    .hljs-section,
    .hljs-selector-tag,
    .hljs-subst {
       color: #dfdfe0 !important
    }
    
    
    .hljs-literal {
       color: #ef81b0 !important
    }
    
    
    .hljs-addition,
    .hljs-attribute,
    .hljs-meta-string,
    .hljs-regexp,
    .hljs-string {
       color: #f08875 !important
    }
    
    
    .hljs-built_in,
    .hljs-class .hljs-title {
       color: #dfdfe0 !important
    }
    
    
    .hljs-number {
       color: #d5ca86 !important
    }
    
    
    .hljs-attr,
    .hljs-selector-attr,
    .hljs-selector-class,
    .hljs-selector-pseudo,
    .hljs-template-variable,
    .hljs-type,
    .hljs-variable {
       color: #bbf0e4 !important
    }
    
    
    .hljs-bullet,
    .hljs-link,
    .hljs-meta,
    .hljs-selector-id,
    .hljs-symbol,
    .hljs-title {
       color: #dfdfe0 !important
    }
    
    
    .hljs-emphasis {
       font-style: italic !important
    }
    
    
    .hljs-strong {
       font-weight: 700 !important
    }
    
    
    .hljs-link {
       text-decoration: underline !important
    }
    


  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly



    Oh, how did you find that? Even the Thanks button itself is broken returning no thankers



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly




  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    Don't know lads, came back after few hours at barbeque and found "this page has crashed" - reloaded and found few posts heavily populated with codeblock....Tell me its not the cause.



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    You all have custom code so it is likely that or as I said earlier a performance issue boards is having with drafts. The saving of a draft is the only freeze I see and that is site wide.



  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly


    I've tried it with no addons - this thread when there are codeblocks is the only one that hangs

    For some reason when there is a code block on the page it hangs the ajax calls


    So please all stop using the code block



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Have you tried deleting your drafts and clearing your cache?



  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly



    I have no drafts and drafts shouldn't be an issue as they are local storage - it is only this thread and only this thread has codeblocks on it, when there is no codeblocks on the page then the page doesn't hang. As soon as you posted a code block it started freezing



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    What is it about codeblocks that would cause performance issues? Check next time you have a freeze does it happen when saving the draft?



  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly



    It's executing some ajax calls to the server (this may be part of the draft auto save code but they are stored locally and I can only see network activity) - I don't have the patience to track them down and go thru them. Its probably just some badly written JS that is firing off a routine that may have some shared code with the codeblock stuff



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    highlight.js seems to have an issue, it is a 3rd party addon for codeblocks that allows users to highlight the block of code v9 is likely being used, v10 doesn't seem to cause the issue.

    https://github.com/laurent22/joplin/issues/3281#issuecomment-634793044



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly



    Great detective work - the highlighting was my prime suspect



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles




  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    okay then 😂


    Might I suggest adding a pastebin link to any code, it is unreadable without formatting.



  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly




  • Registered Users, Registered Users 2 Posts: 17,669 ✭✭✭✭fritzelly


    The amount of time we've spent fixing the unfixable we could have probably built the whole thing from scratch and actually be working



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Have only spent about an hour or so with it. Can't see any point in getting into any deeper customisation as the issues will probably be fixed soon enough. If it is looking like it will be longer than 1 month for fixes I might look further. The only thing I miss is my threads being unbolded when there is no more new posts, and the page being defaulted to my threads.



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    Something has changed since morning, post text bearelly readable like dimmed by background color




  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Quick fix to the now broken breadcrumps box on the homepage.

    .homepage-tabs {

      border-bottom: 1px solid #b7b7b7;

      padding: 35px 0 9px;

      color: #2e4a80;

    }



  • Moderators, Computer Games Moderators Posts: 10,472 Mod ✭✭✭✭Andrew76


    Everything looks fine for me although I'm using an extension for the dark mode. I'm actually getting used to the look of it now so hopefully any fixes they make don't botch things up too badly.

    @[Deleted User] - did you decide to upload your theme that time or still holding off? I'd be interested to test it out. Is it possible to alter the colours used?



  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    @Andrew76 notice they have added "Link" font color (hell! ,light blue no bold)

    .atMention as per screenshot has my mod to be amber - still works as i type this comment but no longer once posted - all links are light blue.

    in comment box text stay as set to #dadcde, but as soon is posted its just black(v dark) .My mod is broken :(




  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Hide breadcrumbs on homepage move tabs up slightly. You should target the boards homepage url only as it may hide breadcrumbs otherwise. In stylus you set the url to "URLs matching the regexp" not sure if other extensions have similar options.

    .BreadcrumbsBox {

      visibility: hidden;

    }

    .homepage-tabs {

      border-bottom: 1px solid #b7b7b7;

      padding: 22px 0 9px;

      color: #2e4a80;

    }



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,185 ✭✭✭smuggler.ie


    good god, how easy all this stilling thing should be for one who has some understanding in CSS.

    Managed to recover my font color issue since they moded something, discovered how to highlight read/unread threads/forums/user profiles

    Either boards have some serious problems and have no time for this or they have dev with coding experience as mine

    Post edited by smuggler.ie on


  • Registered Users, Registered Users 2 Posts: 12,015 ✭✭✭✭GBX


    Something has changed in the breadcrumbs/background. They are now back down a bit on the page. Ive tried adjusting the px height but still the same :/



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Styling? Hard part is actually pushing the update. Wouldn't make much sense making a single adjustment and pushing that to a live state. So multiple adjustments are merged into the repository, usually test parameters would need to pass as a whole. Can't test for user customisation so it is a massive corner case that won't be seen when testing.



  • Registered Users, Registered Users 2 Posts: 12,015 ✭✭✭✭GBX



    Sorted it - I had somehow duplicated it in the code. 🤨



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    Shouldn't need that custom code now, it has been added site wide. If you surround the block of code with comments " /**/ " it will disable what it is surrounded

    /* this comment */


    this is not commented out /* this is {

    this is also commented out

    and this

    and this

    and this

    } */ but not this



  • Registered Users, Registered Users 2 Posts: 13,802 ✭✭✭✭joujoujou
    Unregistered Users


    Guys, I'm lost.

    Since last Odhran's post mentioning few fixes and tweaks, including:

    Made the navbar and breadcrumb section sticky so users should be able to navigate back to parent forum easier.

    Header remains static (scrolls away with the page) but breadcrumbs keep annoying me in front of my eyes. I just set .BreadcrumbsBox to visibility: hidden, but it removes it completely, and I'd like to keep it stuck just below header, regrettably I don't know how. Here's my current setup if you have a while to enlighten me what I messed up. :-(

    Thanks. :-)



  • Registered Users Posts: 513 ✭✭✭noplacehere


    Can anyone tell me what I can currently paste into style bot to make this more civilised looking? Do i just go with something from the early posts or does it still work?



  • Registered Users, Registered Users 2 Posts: 13,802 ✭✭✭✭joujoujou
    Unregistered Users


    Sorted it somehow. Set .BreadcrumbsBox to

    position: static !important;

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    and it works (so far). ;-)

    However, forgot to mention, last 2-3 days noticed page numbers where thread are displayed (like on screens below):

    Are non-clickable.

    They become clickable once I disable custom style (the very one attached above).

    Anyone any idea?

    Thanks.

    Edit: How on earth one can delete attachment!?!?!?!? :-O



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    @joujoujou just click the attachment and a bin icon should pop up when editing.



  • Registered Users, Registered Users 2 Posts: 4,325 ✭✭✭iLikeWaffles


    You can just delete or comment out that breadcrumb code as mentioned above. It is not needed anymore, has been fixed.



  • Advertisement
Advertisement