• 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.4.3 Latest
Buy Hosting
    • All categories
    Load new posts
Log in to post
  • ufan0U

    I need help with customizing the post page

    Scheduled Pinned Locked Moved General Discussion javascript html customize
    0 Votes
    1 Posts
    206 Views
    ufan0U

    As mentioned in the title, I want to add some javascripts and html to my post. For example, I want to show data by calling api in a specific post.

    I tried the plugin -> markdown ->Allow HTML, it does not work.It seems will ban the javascript.

    So is there any good way to meet my needs?
    Thanks s lot.

    006hL0SXgy1g9xjkxn77rj30j60j6who.jpg

  • manolinoM

    [nodebb-widget-html-extended] Enhanced HTML Slider Widget

    Scheduled Pinned Locked Moved NodeBB Plugins nodebb widget plugin slider html
    6 Votes
    3 Posts
    787 Views
    manolinoM

    @kadmy , sure: upload the file controls.png from the plugin folder \node_modules\bxslider\dist into NodeBB assets. The file looks like the bitmap below.

    controls.png
    Then change the LESS to

    .my-wrapper { box-shadow: none; border: none; .bx-prev { background: url(/assets/uploads/controls.png) no-repeat 0px -32px; } .bx-next { background: url(/assets/uploads/controls.png) no-repeat -43px -32px; } }

    This file contains the standard bxSlider. But you can use any other icon. Just upload it or point to the url of your preference.

    Please update to v0.1.2 for more fixes.

  • MarcinM

    Accessing HTML.

    Scheduled Pinned Locked Moved Technical Support html
    0 Votes
    1 Posts
    180 Views
    MarcinM

    How can I access HTML by using the terminal?
    I need to change the name of one element which is in HTML.

  • DoppyD

    Is it possible put parameter in html form another javascript?

    Scheduled Pinned Locked Moved NodeBB Plugins plugin javascript html jquery
    0 Votes
    2 Posts
    2k Views
    yariplusY

    in the client, those values are stored in ajaxify.data

    For your jQuery, you don't append a closing tag, it does that automatically. When you want to insert the element into the div, you need to use appendTo(). Also, unless your label has additional data, I recommend using html() instead of text().

    Here's a fiddle. I also added an ID to the new label so it isn't added more than once.
    https://jsfiddle.net/bdLgsj7p/

  • henrywrightH

    W3C validation

    Scheduled Pinned Locked Moved NodeBB Development w3c html standards
    1 Votes
    3 Posts
    2k Views
    henrywrightH

    @psychobunny

    data-component is a fix for ~20 of the errors and there's a few more "single" fixes that address > 1 error so validating won't be as hard as it looks.

    But I was trying to rally some more eyes to look through the errors because there's some I'm stumped on how to fix best.

  • NicolasN

    Notifications with HTML

    Scheduled Pinned Locked Moved Unsolved Plugin Development notification html view
    0 Votes
    3 Posts
    2k Views
    NicolasN

    @psychobunny https://github.com/NodeBB/NodeBB/issues/3647

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
  • Login

  • Don't have an account? Register

  • Login or register to search.