Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. ethanwu
    E
    • Profile
    • Following 0
    • Followers 1
    • Topics 6
    • Posts 11
    • Best 0
    • Groups 0

    ethanwu

    @ethanwu

    0
    Reputation
    547
    Profile views
    11
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    ethanwu Follow

    Latest posts made by ethanwu

    • V1.0.0 login trigger error 403 forbidden

      ./nodebb log print out: invalid csrf token

      clear cookie not working, register also trigger same issues.

      I tried with latest version it works fine.

      I need the v1.0.0 because I need to use it with this plugin https://github.com/akhoury/nodebb-plugin-import

      Currently stucked and no work around. Please help, thanks!

      posted in NodeBB Development
      E
      ethanwu
    • RE: Override templates in nodebb-widget-essentials

      @yariplus said in Override templates in nodebb-widget-essentials:

      @ethanwu I just submitted the changes needed here.

      https://github.com/NodeBB/nodebb-widget-essentials/blob/79b92dd812298689d7d939a2b6e105e4095c2a20/library.js

      If you want to use it right away, you can just replace the widget-essentials library.js file with mine until it is updated.

      Thanks, i will test it today.

      posted in General Discussion
      E
      ethanwu
    • RE: Override templates in nodebb-widget-essentials

      @yariplus said in Override templates in nodebb-widget-essentials:

      Oh, sorry about that. Looks like widget-essentials still uses some old code that reads the raw template file without looking for replacements. I'll see if I can get this fixed for you.

      Thanks, can you let me know how. I would love to help on this.

      I looked at the plugin, in the init method, it seem it directly load from the __dirname

      https://github.com/NodeBB/nodebb-widget-essentials/blob/master/library.js#L44

      Do you know what should i change to enable it to read from the overridden one?

      Thanks,
      Ethan

      posted in General Discussion
      E
      ethanwu
    • RE: Override templates in nodebb-widget-essentials

      @yariplus said in Override templates in nodebb-widget-essentials:

      @ethanwu In the ACP plugins menu, there is a button on the right that says "Order Active Plugins". Make sure your plugin is below widget-essentials.

      Thanks, I did that. And the console also prints "/widgets/categories.tpl replaced by {my-plugin}".

      However, after I restart the server, the templates still remaining unchanged. Is there anything wrong?

      posted in General Discussion
      E
      ethanwu
    • RE: Override templates in nodebb-widget-essentials

      Thanks, but how could I control the order when the plugin is loaded?

      @yariplus said in Override templates in nodebb-widget-essentials:

      Sure thing, any template you define with the same name and path will override a previously loaded one.

      posted in General Discussion
      E
      ethanwu
    • Override templates in nodebb-widget-essentials

      Hey Nodebb Team:

      Is it possible to write a plugin to override templates in nodebb-widget-essentials instead of fork a new one?

      Thanks,
      Ethan

      posted in General Discussion
      E
      ethanwu
    • Extending custom page widgets

      Hey Nodebb team:

      I am a fan of this custom page plugin. But I dont like default widget in the pages. Is there anyway to write a plugin and override the widget with a few custom HTML and CSS?

      Thanks,
      Ethan

      posted in NodeBB Development
      E
      ethanwu
    • RE: ACP internationalization?

      @julian

      I am volunteer to help, just let me know how.

      posted in General Discussion
      E
      ethanwu
    • ACP internationalization?

      Do we have a plan over ACP internationalization? Currently it's a pain in the ass for some non english users.

      posted in General Discussion
      E
      ethanwu
    • Create custom route in plugin

      Hey Guys, is there anyway to make custom route in plugin? I saw there are navigation tab and home page tab that could add and config new route as plugin, but how could I config the content of the route?

      Is there any example to follow?

      Thanks!

      posted in NodeBB Plugins
      E
      ethanwu