[nodebb-plugin-custom-homepage] Basic CMS plugin - custom homepage


  • Clicking the new header.navigation button for /forum does a hard load of the /forum page so transitions are not smooth. After going to /forum going to any other link on top bar smoothly transitions fine. Anyway to correct this?


  • Looks like another great app. For some reason I can't get it to work. Is there an admin area to edit the front page?

  • GNU/Linux Admin

    This plugin introduces new widgets you can drag/drop in the "Themes->Widgets" section of the ACP 🙂


  • @julian

    AH! I didn't' even see that! Thanks! Are there any plans to add a custom menu in the admin page? That would go hand in hand with this addon. Thanks again for all the hard work you guys do!


  • @julian A couple questions:

    1. When using the "recent view" widget, it defaults to topics from the past day. Since I won't have topics each day, I don't want this to result in a blank page. The "recent post" widget has an option to include the past week or month -- is a similar thing possible with the "recent view" widget?

    2. None of the topic lists have a "New Topic" button (hence the widgetized homepage also doesn't have one with the recent view list). Is it possible to add the "New Topic" button to each page (recent posts and popular posts), or manually add it to the custom home page?

  • GNU/Linux Admin

    Pinging @psychobunny, as it is his plugin 🙂


  • If I navigate to the custom homepage from any other page, only the sidebar loads. None of the other widgets (header, footer, content) show up and Firefox' Inspector can't seem to find them either.
    It does work when directly navigating to the page though, so I'm guessing this must be related to the SPA-ness of NodeBB?

  • Admin

    1. When using the "recent view" widget, it defaults to topics from the past day. Since I won't have topics each day, I don't want this to result in a blank page. The "recent post" widget has an option to include the past week or month -- is a similar thing possible with the "recent view" widget?

    Created an issue for it, track progress here

    1. None of the topic lists have a "New Topic" button (hence the widgetized homepage also doesn't have one with the recent view list). Is it possible to add the "New Topic" button to each page (recent posts and popular posts), or manually add it to the custom home page?

    I wonder if this script could be re-appropriated for that use

    If I navigate to the custom homepage from any other page, only the sidebar loads

    I haven't encountered this problem myself, are you completely up to date?


  • @psychobunny said:

    I haven't encountered this problem myself, are you completely up to date?

    That particular installation was freshly pulled yesterday and this plugin was installed via list of available plugins in the Admin Panel, which I believe just calls npm.
    Both https://www.npmjs.org/package/nodebb-plugin-custom-homepage and https://github.com/psychobunny/nodebb-plugin-custom-homepage were last updated a month ago, so unless there is some massive time dilation going on it's probably up to date.


  • @julian Thanks for the explanation on where to go to use this (especially for us nodebb noobs)
    @psychobunny Great plugin! Can you add a note on your github readme? Thanks!


  • @Xiph said:

    If I navigate to the custom homepage from any other page, only the sidebar loads.

    UPDATE: After some (re)starts it seems to work perfectly fine, though most of the time the aforementioned bug still occurs. Basically, restart 'till ya get lucky.
    I checked the console for any particular errors or warnings related to this plugin, but there appear to be none. (although there's plenty of plugins complaining about either staticDirs or callbacked. nodebb-plugin-emoji seems to find it necessary to print that particular warning a couple billion times)

  • GNU/Linux Admin

    @Xiph You should just use emoji-extended instead. It's a superset of the emoji plugin 🙂


  • @julian said:

    @Xiph You should just use emoji-extended instead. It's a superset of the emoji plugin 🙂

    I would, but it crashes NodeBB upon activation.


  • Oh, and by the way: when clicking on the navigation icon this plugin adds, the page is loaded via the "normal" method instead of NodeBB's fancy AJAX one. I miss my loading bar 😢


  • @Xiph @julian

    My NodeBB also crashed after installing that plugin. How do you manually remove (all?) plugins so that NodeBB can restart safely?


  • @Kamal-Patel In my case the plugin only crashed the instance of NodeBB running and I could just restart it - the plugin was still disabled though, and trying to activate it just results in the same crash.
    If restarting doesn't work for you, you can try running ./nodebb reset plugins. That should just disable all plugins.


  • @Xiph Unfortunately I activated a few plugins at once and NodeBB wouldn't even start. Thanks for the help!


  • @Kamal-Patel said:

    How do you manually remove (all?) plugins so that NodeBB can restart safely?

    Instead of disabling all plugins, might be better to remove the plugin that caused the problem. npm remove <insert-plugin-name-here> should do it.


  • A small, trivial issue, but driving me nuts....

    Where oh where do i fix this title....

    and, i'm a nodebb noob... somewhat....

  • Admin

    Hey @nexed, I fixed the broken tooltip, update to 0.0.2 🙂

Suggested Topics

| |