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

  • GNU/Linux

    I gonna give it a try. Hope I can deactivate it at any time and come back to normal home page.


  • @meetdilip All plugins can be deactivated. 👍


  • This post is deleted!

  • Question @psychobunny : The custom sidebar widgets only show up to logged-in users. Is there a way to make them show up to everyone? I left "hide from anonymous users" unchecked in the widgets.


  • @zenkamal said:

    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?

    Great plugin, very useful, however I get the same issue above. Is there a work around/fix for this? How to get the New Topic button's back?
    To be clear, there are no New Topic buttons on any category pages. Tried playing with the AccessControl, and that did not change anything...

    EDIT:
    Did a fresh install with 0.4.x and seems to be working ok.

  • GNU/Linux

  • Plugin & Theme Dev

    This post is deleted!
  • Plugin & Theme Dev

    @Tanner said:

    I installed this plugin and put the widgets in their respective places, however none of them show up. Am I missing something after installing, activating, and moving in the widgets?

    I removed the class="hidden" variable and it now shows up. What are they there for??

    Also, there's a bug when you load the homepage by clicking on the home link, the widgets will not show up, but will only show up when you refresh.

    Edit: this bug was solved by updating to the latest version of NodeBB

  • Plugin & Theme Dev

    Also was curious if a forum.tpl section could be added to display sidebars just on the forums and not anywhere else. The category nor the homepage .tpl's or widget sections do not show up on the forums page - only global widgets, which is not what I'm after.

  • Plugin & Theme Dev

    I'm getting this same error again with the latest install of NodeBB that I have with this plugin. When clicking the home button the content widgets do not show up, only the sidebar widgets.

    Edit: Moved everything to the custom widget areas and now none of them show up when clicking the home page button. What do?

    Edit2: Fixed by uninstalling the plugin and installing from npm. The one listed in the plugins page seems to be buggy or outdated somehow.

  • Plugin & Theme Dev

    Sorry for all the multiposts...

    @psychobunny is there a way to set a custom sidebar on the forums page separate from the homepage?

  • Admin

    Hey clearly I've missed all your previous posts (although a few of the issues were pointed out to me by others and I've fixed some of them) - let me know if anything from your past posts are still an issue.

    is there a way to set a custom sidebar on the forums page separate from the homepage

    It depends on the theme, this is specifically for the homepage. Lavender has sidebar widget areas for the home and category pages for example. If you're looking for a widget area on a specific page, let me know, I might be able to incorporate it into the theme.

  • Plugin & Theme Dev

    It's on Lavender, would just like to have the ability to put a sidebar on the forums page separate from the home or category pages 🙂

  • Plugin & Theme Dev

    Once this plugin is installed it appears to load the forum page as a hard link rather than a smooth one like the rest, i.e. there is no loading bar when navigating into the forums area as compared to the rest of the pages. Makes for a bit of a jolt in the flow in the forums, is this a possible fix?


  • Dear master

    I follow the idea of the plugin's route:

    
        app.get('/', middleware.buildHeader, renderHomepage);
        app.get('/api/home', renderHomepage);
        app.get('/templates/home.tpl', renderHomepage);
    
        app.get('/forum', middleware.buildHeader, controllers.home);
        app.get('/api/forum', controllers.home);
    

    When I enter "/", custom homepage appeared , then "/forum/, it work ok, then to topics list page, then click browser's "back" button , it can't back to "/forum".

    I don't know how to make it ok, need help

  • Admin

    When I enter "/", custom homepage appeared , then "/forum/, it work ok, then to topics list page, then click browser's "back" button , it can't back to "/forum".

    I don't know how to make it ok, need help

    Don't think I follow 100%, are you building your own plugin and using this one as a base?

    Makes for a bit of a jolt in the flow in the forums, is this a possible fix?

    Yeah I think I fixed it a while ago tbh, but it might have broken again after some changes in core. I'll have a look: https://github.com/NodeBB/nodebb-plugin-custom-homepage/issues/5


  • @psychobunny said:

    When I enter "/", custom homepage appeared , then "/forum/, it work ok, then to topics list page, then click browser's "back" button , it can't back to "/forum".

    I don't know how to make it ok, need help

    Don't think I follow 100%, are you building your own plugin and using this one as a base?

    Yes, I'm building my own plugin, but I only adopt the idea of the route rules. I had try to just install the custom homepage plugin to see if it is ok, but seems also the problem. I did need a hompage before enter forum home. Some good idea please?


  • Looking at this and wondering about the photo in the first post. What is the sample blog post? Is that just another forum post but styled differently or something else altogether. If it works like wordpress, one less software to install and make it 100% nodebb. Anyone with experience care to give examples of how this works?


  • @peter pretty confident they just hand coded that to look like a blog entry.

    Also 😆 @ the downvotes at the start of this topic. Maybe it didn't work for someone.

  • NodeBB

    Not sure why that person downvoted all the posts, anyways I increased the minimum reputation required to downvote posts from 0 to 10.

Suggested Topics

| |