Skip to content
  • Home
  • Categories
  • Recent
  • Popular
  • World
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Brite
  • 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
Brand Logo
v4.8.1 Latest
Start Free Trial
codejetC

codejet

@codejet
GNU/Linux
About
Posts
222
Topics
37
Shares
0
Groups
1
Followers
0
Following
0

Posts

Recent Best Controversial

  • Forum is only accessible via port 4267 how do i switch to port 80 ?
    codejetC codejet

    @Maahi

    pretty damn easy man, just make it http://www.server.com:80

    Technical Support

  • Crashes in Current main Branch
    codejetC codejet

    highly advise staying off the beta releases, the idea is great for testers maybe not so great for ppl wanting stable components

    Technical Support

  • share your feedback on the new tesla model
    codejetC codejet

    won't matter what it looks like once fossil fuel dissapeared 🙂

    General Discussion

  • Pay no attention to the fox behind the curtain
    codejetC codejet

    @sockbot u rock ! 🎸

    Testing Ground i wanted a robot shenanigans

  • What is this new thing?
    codejetC codejet

    is magic 🎩

    General Discussion

  • Direct url to logout
    codejetC codejet

    @julian good reason 🙂

    ahhh tis ok, guess I might write a theme

    General Discussion

  • Direct url to logout
    codejetC codejet

    Is there like a link .com /logout url that just handles the logout function

    I would like 🙂

    General Discussion

  • [DRAFTS] Saving some posts for posting later date?
    codejetC codejet

    @Kowlin said:

    On a real life forum

    I can already see you standing in front of a board. 😉 Anyhow besides my terrible joke I know you can keep the post alive by pressing the + on the bottom right of the screen to keep the post alive, but as far as I know there is no guarantee that it will save it for longer periods. I also think that this can be done as a plugin.

    Yeah.. I with you there and can totally understand the point to a streaming forum like nodebb, still we all make mistakes and this would be a nice addition. Would save so much typing 😓

    NodeBB Development

  • [DRAFTS] Saving some posts for posting later date?
    codejetC codejet

    yeah all these ways I'm familiar with.

    I was thinking, crap whole post is made... Everything is done, butttt I can't click that [Submit] button.. even if I wanted to I'm going to get burned by forum users for being too early.

    Perfect situation would be oh wow, the forum allows me to save as draft ? cool idea, I also notice you have this drop down arrow pointing down on the Submit button. Could def be used here, but maybe user can not see there, still perfect position really. Perhaps the drafts could be listed somewhere within the composer. Or a Bring back icon or some such ?

    NodeBB Development

  • [DRAFTS] Saving some posts for posting later date?
    codejetC codejet

    had idea for plugin or for core while posting on a real life forum today

    the ability to save a post now to be brought back later to post next day

    I thought damn i've gone to all the trouble to get all the info made up this post only to realise it's a day early, would there ever be an option to just save this post and click bring it back later

    NodeBB Development

  • [nodebb-plugin-rss] RSS Feed plugin
    codejetC codejet

    What would be cool in this and quite easy to implement would be the ability to configure your own timers for the feeds.

    What you do think ?✋

    NodeBB Plugins plugin rss

  • [nodebb-plugin-rss] RSS Feed plugin
    codejetC codejet

    ok I fixed it , now upgraded and nothing works !

    NodeBB Plugins plugin rss

  • [nodebb-plugin-ns-embed] NS Embed
    codejetC codejet

    ok, well placing the javascript @ the end before </body> has bad effect because the post doesn't update after hitting [Submit] button. Basically updates after you push a page reload. So my conclusion is that the javascript code is fine added to the replace code , it seems to work perfectly.

    There is still the same issue with it adding html as content around the embed, somehow it does this and I don't remember actually that it had this problem around nodebb version 0.6.0/0.7.0 ...

    So I'll just leave you with this pic to show progress:
    0_1450846824849_embed.jpg

    NodeBB Plugins ns-plugin embed youtube vimeo

  • [nodebb-plugin-ns-embed] NS Embed
    codejetC codejet

    @Nicolas said:

    If it likes after, place it in the end of the page:

    <script ...
    </body>
    

    <script>
    require(['forum/footer']);
    </script>
    <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    </body>
    </html>

    unbelievably that updates all of the tweet embeds now without putting it in the embed replace code

    but still the same issues with it putting html in the post as content between the <p></p>'s
    post looks like:

    ">
    [embed]
    /a>

    not sure what's happenning

    NodeBB Plugins ns-plugin embed youtube vimeo

  • [nodebb-plugin-ns-embed] NS Embed
    codejetC codejet

    @Nicolas tried numerous things in the markdown config, but the option to work would look to be

    Open external links in a new tab/window
    Tell web crawlers that external links are not to be followed

    EDIT: Disabling both of these reduces it to

    ">
    [embed works]
    /a>

    th@ would seem to be the one doing you would think, but has no effect

    also the twitter likes to have the javascript only after the blockquote. doesn't work in the custom header. doh, would you be able to strip it from adding it to content (between the <p></p>'s in ur plugin ?

    NodeBB Plugins ns-plugin embed youtube vimeo

  • [nodebb-plugin-ns-embed] NS Embed
    codejetC codejet

    will try add the javascript to the custom header in nodebb panel. last time I tried this I'm sure it didn't work well

    NodeBB Plugins ns-plugin embed youtube vimeo

  • [nodebb-plugin-ns-embed] NS Embed
    codejetC codejet

    @Nicolas will try reorder plugins, nope same issue

    I have a feeling it's the externel link adder/checker, cos I've checked out the code, it's not the markdown / blockquote

    must be the way it is checking <a href="s"></a> if you notice the way twitter embeds it's content. It's not the standard iframe embed

    NodeBB Plugins ns-plugin embed youtube vimeo

  • [nodebb-plugin-ns-embed] NS Embed
    codejetC codejet

    @Nicolas did you get twitter working in this ?
    code to implement

    Watch
    (?:https?://)?(?:twitter.com)/([^/"\s])/statuse?s?/([^/"\s])(/photo/\d|)
    Replace
    <blockquote class="content twitter-tweet" lang="en"><a href="https://twitter.com/$1/status/$2"></a></blockquote><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

    I have everything working except it keeps adding text around the embed:

    " target="_blank" rel="nofollow">

    [this is where tweet embeds perfectly]

    /a>

    this something to do with externel links in nodebb, is it doing it automatically internally or something? is there a way to remove it

    love your work btw, keep it up

    NodeBB Plugins ns-plugin embed youtube vimeo

  • [nodebb-plugin-rss] RSS Feed plugin
    codejetC codejet

    Pretty keen on this getting updated. My old way of adding link to content doesn't seem to wrk anymore 😞

    Seems it randomly works and then doesn't again. It's acting a bit weird

    Any chance of an update @baris

    EDIT: got the rss's working again but my entry.link doesn't appear to work anymore ..hmm

    NodeBB Plugins plugin rss
  • 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
  • World
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development

Looks like your connection to NodeBB Community was lost, please wait while we try to reconnect.