• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

[nodebb-plugin-unresponsive] Unresponsive design

Scheduled Pinned Locked Moved NodeBB Plugins
10 Posts 3 Posters 3.2k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • boomzillaB Offline
    boomzillaB Offline
    boomzilla GNU/Linux
    wrote on last edited by
    #1

    The way that NodeBB's responsive design works has irritated some of our users, so we came up with a plugin to allow users to effectively disable it.

    The biggest complaint was getting the small / mobile composer view when the browser's window went below ~1000px.

    nodebb-plugin-unresponsive

    Override NodeBB Responsive Design. Latest version: 0.5.1, last published: 6 years ago. Start using nodebb-plugin-unresponsive in your project by running `npm i nodebb-plugin-unresponsive`. There are no other projects in the npm registry using nodebb-plugin-unresponsive.

    favicon

    npm (www.npmjs.com)

    NedFodderN 1 Reply Last reply
    2
  • NedFodderN Offline
    NedFodderN Offline
    NedFodder
    replied to boomzilla on last edited by
    #2

    @boomzilla The menu items don't work in FF.

    Ubuntu x64 14.04, Chrome on left, FF on right:

    0_1462800778094_Capture.PNG

    0_1462800834470_Capture.PNG

    SO says to use span.textContent instead of span.innerText.

    NedFodderN 1 Reply Last reply
    0
  • NedFodderN Offline
    NedFodderN Offline
    NedFodder
    replied to NedFodder on last edited by
    #3

    @NedFodder Whoops, my FF (v44) is out of date. innerText was supposed to be added back in March (v45). I'll update to v46 and test again...

    boomzillaB 1 Reply Last reply
    0
  • boomzillaB Offline
    boomzillaB Offline
    boomzilla GNU/Linux
    replied to NedFodder on last edited by
    #4

    @NedFodder Not sure what's going on. Looks like a translator failure? Here I have Chrome / FF. Though maybe there's a better way than innerText?

    0_1462802020537_upload-327e2b8c-1a03-49b1-909e-1fad429e6633

    NedFodderN 1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #5

    Neat! I'm kind of disappointed that a plugin had to be made to downgrade a part of NodeBB, but that's the beauty of open-source 😄

    boomzillaB 1 Reply Last reply
    0
  • NedFodderN Offline
    NedFodderN Offline
    NedFodder
    replied to boomzilla on last edited by
    #6

    @boomzilla said in [nodebb-plugin-unresponsive] Unresponsive design:

    Looks like a translator failure

    Definitely not, I added a console.log in createMenuItem and the translated text is there. See my second post, innerText should be fine on FF v45+.

    1 Reply Last reply
    0
  • boomzillaB Offline
    boomzillaB Offline
    boomzilla GNU/Linux
    replied to julian on last edited by
    #7

    @julian said in [nodebb-plugin-unresponsive] Unresponsive design:

    to downgrade a part of NodeBB

    Well, that's in the eye of the beholder.

    @NedFodder said in [nodebb-plugin-unresponsive] Unresponsive design:

    See my second post, innerText should be fine on FF v45+.

    Yeah, but it's apparently nonstandard. I just didn't know any better. Seems like textContent is what you're supposed to use.

    boomzillaB 1 Reply Last reply
    0
  • boomzillaB Offline
    boomzillaB Offline
    boomzilla GNU/Linux
    replied to boomzilla on last edited by
    #8

    Updated to v0.1.1, should work on that old FF now.

    1 Reply Last reply
    1
  • boomzillaB Offline
    boomzillaB Offline
    boomzilla GNU/Linux
    wrote on last edited by
    #9

    For now, at least, it's disabled when the user picks a custom skin, because it works my changing CSS sheets and the skins come from a different domain, so cross origin policies prevent the ability to modify them.

    1 Reply Last reply
    0
  • boomzillaB Offline
    boomzillaB Offline
    boomzilla GNU/Linux
    wrote on last edited by boomzilla
    #10

    This is growing and becoming a stylish front end. v0.3.0:

    0_1463174551959_upload-ab531bcf-e815-4d8a-bedb-0265eee2b469

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development