• 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

Teaser images not working

Scheduled Pinned Locked Moved Bug Reports
5 Posts 2 Posters 1.4k 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.
  • trevorT Offline
    trevorT Offline
    trevor Plugin & Theme Dev Anime Lovers GNU/Linux
    wrote on last edited by trevor
    #1

    I just updated to the latest commit as of now. Not sure why its doing this...

    Screen Shot 2014-04-20 at 5.07.31 PM.png

    I currently am using the *almost same code as whats in the repo.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    What does the api route show? Teasers should have a user object inside now.

    trevorT 1 Reply Last reply
    0
  • trevorT Offline
    trevorT Offline
    trevor Plugin & Theme Dev Anime Lovers GNU/Linux
    replied to <baris> on last edited by
    #3

    @baris I have http://convoe.com/api/? perhaps recent or anything with the topics_list.tpl partial - also the API routes are minified in my browser so I can't really "see" what you're talking about.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #4
      "teaser": {
                    "pid": "1270",
                    "username": "kiratsuchi",
                    "userslug": "kiratsuchi",
                    "picture": "https://secure.gravatar.com/avatar/1475882ac6076e1a09a46364ea7ee75d?size=128&default=identicon&rating=pg",
                    "timestamp": "2014-04-20T20:53:52.368Z"
                },
    

    Looks like your teasers are still using the old structure. Now it looks like

      "teaser": {
                    "pid": "1270",
                    "timestamp": "2014-04-20T20:53:52.368Z"
                    "user": { 
                        "username": "kiratsuchi",
                        "userslug": "kiratsuchi",
                        "picture": "https://secure.gravatar.com/avatar/1475882ac6076e1a09a46364ea7ee75d?size=128&default=identicon&rating=pg"
                   }       
                },
    

    Make sure NodeBB core is up to date.

    trevorT 1 Reply Last reply
    0
  • trevorT Offline
    trevorT Offline
    trevor Plugin & Theme Dev Anime Lovers GNU/Linux
    replied to <baris> on last edited by trevor
    #5

    @baris Thanks Baris, I just git pulled again and it worked.
    :squirrel: /solved

    1 Reply Last reply
    0

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