Skip to content

Link Not Working

Solved Customisation

Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗

Related Topics
  • 3 Votes
    4 Posts
    638 Views
    @crazycells said in CSS code customization for the link preview plugin: does OGProxy show the pdf previews as well? Not yet, but it could with a bit of additional code.
  • 35 Votes
    36 Posts
    3k Views
    no problem. I was waiting for this new version to change my server but I think I’m going to install the old one. Keep the good work bro
  • hover link effect

    Solved Customisation
    18
    +0
    6 Votes
    18 Posts
    1k Views
    @DownPW Looking at the underlying code, class start is being added on hover by jQuery in this function document.querySelectorAll(".button-gradient, .button-transparent").forEach((button) => { const style = getComputedStyle(button); const lines = document.createElement("div"); lines.classList.add("lines"); const groupTop = document.createElement("div"); const groupBottom = document.createElement("div"); const svg = createSVG( button.offsetWidth, button.offsetHeight, parseInt(style.borderRadius, 10) ); groupTop.appendChild(svg); groupTop.appendChild(svg.cloneNode(true)); groupTop.appendChild(svg.cloneNode(true)); groupTop.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); lines.appendChild(groupTop); lines.appendChild(groupBottom); button.appendChild(lines); button.addEventListener("pointerenter", () => { button.classList.add("start"); }); svg.addEventListener("animationend", () => { button.classList.remove("start"); }); }); }) The CSS for start is below .button-gradient.start .lines svg, .button-transparent.start .lines svg { animation: stroke 0.3s linear; } And this is the corresponding keyframe @keyframes stroke { 30%, 55% { opacity: 1; } 100% { stroke-dashoffset: 5; opacity: 0; } } It’s using both CSS and SVG, so might not be a simple affair to replicate without the SVG files.
  • plugin open link IMgur images

    Customisation
    7
    0 Votes
    7 Posts
    545 Views
    @DownPW not sure what you mean. Can you elaborate ?
  • Link Text Colour.

    Solved Customisation
    5
    +1
    2 Votes
    5 Posts
    439 Views
    @phenomlab Thx again for the reply. Well I am sure that it will be well worth the wait. I will watch with anticipation. For now it is OK. Just small minor irritations I fell in a lot of NodeBB ‘default’ things.
  • Link vs Refresh

    Solved Customisation
    20
    +1
    8 Votes
    20 Posts
    1k Views
    @pobojmoks Do you see any errors being reported in the console ? At first guess (without seeing the actual code or the site itself), I’d say that this is AJAX callback related
  • 11 Votes
    23 Posts
    3k Views
    @DownPW No issues. Thanks to the Google Chrome “bug”, it does have some restrictions, but works fine other than that. I have an odd issue where it doesn’t work on Firefox mobile, but works fine on Firefox desktop.
  • Multiple link on one ico non Navbar

    Solved Customisation
    7
    +0
    2 Votes
    7 Posts
    543 Views
    yeah you’re right @phenomlab. Problem of NodeBB Version