• 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

Need help for adding thumbnail info to the nodebb-plugin-composer-redactor

Scheduled Pinned Locked Moved Technical Support
composer
18 Posts 2 Posters 5.7k 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.
  • JamJ Offline
    JamJ Offline
    Jam
    wrote on last edited by
    #1

    I'm going to use nodebb-plugin-composer-redactor for the main composer, but there is no thumbnail info field for the topic like the nodebb-plugin-composer-default, could you guys give me some advice to make it work?

    Thanks very much~

    1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #2

    Would have to be added to the plugin code. I'll take a look at it.

    1 Reply Last reply
    1
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by yariplus
    #3

    Well, that was easy enough, I just had to add it to the template and it works fine.

    add topic thumbnail by yariplus · Pull Request #47 · NodeBB-Community/nodebb-plugin-composer-redactor

    Fixes #46

    favicon

    GitHub (github.com)

    JamJ 2 Replies Last reply
    0
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by
    #4

    @yariplus cool, thank you very much ! ❤

    1 Reply Last reply
    0
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by
    #5

    @yariplus but it seems that the appearance is not so good in mobile mode~

    1 Reply Last reply
    1
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #6

    Yeah, you're right, i'll add it to the formatting bar.

    JamJ 1 Reply Last reply
    2
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by Jam
    #7

    @yariplus many thanks~

    by the way, would you know how to add the class="img-responsive" to the upload img? because the uploaded img show too large in mobile mode, i want to add class="img-responsive" to the img and make it seemed better in mobile composer~ 😸

    1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #8

    That whole section really needs to be restyled.

    I was thinking something like this for mobile.

    favicon

    (puu.sh)

    Maybe with a radius depending on the theme/admin settings.

    favicon

    (puu.sh)

    Like this for desktop/tablet.

    favicon

    (puu.sh)

    JamJ 1 Reply Last reply
    0
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by
    #9

    @yariplus hi, i just install the composer-redactor to my site, but the upload thumbnail block is looking so bad in mobile mode~ please take a look at it ~

    ➡ click me

    yariplusY 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to Jam on last edited by
    #10

    @Jam what is the answer to the registration question?

    JamJ 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #11

    nvm figured it out

    JamJ 1 Reply Last reply
    0
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by
    #12

    @yariplus The answer is the chinese name of China: 中国

    1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #13

    Is this what it looks like for you?

    favicon

    (puu.sh)

    JamJ 2 Replies Last reply
    0
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by
    #14

    @yariplus 0_1470320561277_Screenshot_2016-08-04-22-21-13_com.tencent.mm.png

    1 Reply Last reply
    0
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by
    #15

    @yariplus it seems that look good in chrome, but in safari or mobile mode, it seems a little bad!~

    yariplusY 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to Jam on last edited by
    #16

    @Jam Ahh, okay. Yeah, it also looks bad on firefox. I'll see if I can fix it up, make it look more like my examples above.

    1 Reply Last reply
    1
  • JamJ Offline
    JamJ Offline
    Jam
    replied to yariplus on last edited by Jam
    #17

    @yariplus said in Need help for adding thumbnail info to the nodebb-plugin-composer-redactor:

    nvm figured it out

    wow, you meant that you can figured the answer out to the registration question?

    yariplusY 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to Jam on last edited by
    #18

    @Jam haha yeah, google translate figured it out. It just took me a minute to realize I had to type it in Chinese characters.

    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