[nodebb-plugin-featured-topics-extended] Feature Topics in a News/Blog page and Widgets.

NodeBB Plugins
  • Hey there, thanks for checking out my plugin. Please be aware this plugin is still in it's early stages. While many features do work, many more features have yet to be implemented.

    Source: (MIT-0 license)
    https://github.com/yariplus/nodebb-plugin-featured-topics-extended

    Issues/Suggestions:
    https://github.com/yariplus/nodebb-plugin-featured-topics-extended/issues

    Featured Topics Extended

    Featured Topics Extended is a plugin for creating lists of topics and featuring them on different areas of the forum.

    There are two types of lists: User Lists and Global Lists.

    User Lists

    The default user list is "Blog".
    Each user has their own unique set of lists.
    Topics are added manually to a User List by using the Post Tools menu on the FIRST POST of a topic.
    Lists are managed on the /user/<user>/featured page.

    Blog Page

    The topics featured in the default Blog list are automatically displayed on the /user/<user>/blog page.

    Global Lists

    The default admin list is "News"
    All admins and global moderators share the same set of lists.
    Topics are added manually to a Global List by using the Topic Tools menu of a topic.
    Lists are managed on the /featured page.

    News Page

    The topics featured in the default News list are automatically displayed on the /user/<user>/blog page.

    The style of the news page is very customisable from within the ACP settings page. You can also select from a list of styles that mimic popular blogging sites.

    Widgets

    The are an extensive amount of widgets for Featured Topics Extended. With widgets, you can place a Featured Topic List almost anywhere on your forum. Widgets are available that match parts of your forum's theme exactly or that mimic widgets from other plugins such as widget-essentials.

    The news page itself is also available in widget form. In this way, you can have any page display blog-like topics using their own list and their own style.

    To-dos

    • More templates for widgets.
    • Feature by tag.
    • Feature by creator.
  • Hey, I'll get some basic docs up soon ™

    Here's an intro:

    The plugin works by featuring topics, you can use Topic Tools from within a topic to feature that specific topic, or new topics in a category can be auto-featured by using the plugin's ACP page.

    The topics can be featured on widgets and/or on the /news page. The news page uses a special blog-like template which you can customise on the plugin ACP page. The news page can also be set to your forum homepage in General=>Homepage in the ACP. The news page also has an extensive amount of widget areas including header, footer, left bar, right bar, before topics, after topics, and between topics.

    Let me know if anything doesn't work for you or you want something added. The plugin is barely in a beta state, and I haven't added half the features I want in the final plugin yet.

    ,,,,,,,,,,,,,,,,,,,,,,

  • @yariplus How do I get rid of the '1" on the bottom?
    0_1472680357264_Region Capture.jpg

  • @evoixmr Hmm. That's the paginator, do you want it hidden when it's only one page?

    I can probably add a few display options in the settings page.

  • @yariplus It just mess up tre view counts, everytime I click it add one view count. How many topics per page? Does inage show up? Can I control the number of topics?

  • @evoixmr On that template, the topic image will appear on the right, replacing the poster's icon.

    Those other things are all options I will be adding to the settings page.

  • @yariplus Can this act like a newsfeed? Who can add to the featured topic? how long will the topic be consider new? Instead of pages, can you set this up to scroll and autoload every 5-10 items?

    Can you also set to follow user permissions?

  • @evoixmr

    Can this act like a newsfeed?

    Not currently.

    Who can add to the featured topic?

    Currently only Admins, but this will change when I add multiple feature lists and personal feature lists.

    how long will the topic be consider new?

    There's no expiration currently.

    Instead of pages, can you set this up to scroll and autoload every 5-10 items?

    I personally don't like infinite scroll, but if enough people want it, I can add it.

    Can you also set to follow user permissions?

    It currently should obey the user's view permissions. There will be added permissions once multiple lists are added.

  • @yariplus The permission is being ignore on display but clicking continue reading is following permission.

  • @yariplus All offline users on featured topic are showing online.

  • @evoixmr

    The permission is being ignore on display but clicking continue reading is following permission.

    Thanks, should be fixed now.

    All offline users on featured topic are showing online.

    I believe this is a problem with core. I sent a PR to fix.

  • @yariplus When nodebb-plugin-lightbox is activated the pictures on the feature topic are showing in full size, the rest of pictures on the forum does not have this issue.

    Also some profile pictures are going pass the box (even with lightbox disabled).

  • @evoixmr Not 100% sure, but I think it should be good now. lmk.

  • @yariplus It worked, The ones with profile picture are showing online/offline correctly.

  • @yariplus Everytime the page is refresh the latest featured topic increases 1 count. It only does this for the most recent.

  • @yariplus Can you look at the view count issue?

  • @evoixmr This is intentional. I will be adding an option to turn it off or on for all topics, for the next update.

  • @yariplus Is there a way to customize the style of the news page to match the rest of the forum theme? It doesn't look like there's anywhere for me to input styles when I select "Custom" for the template when I'm on the plugins page in the ACP.

  • @mxngyn Hello,

    Are you looking for a form to edit styles? Normally, you would use the custom CSS section of the ACP to add styles. If you have an example site I can help you with CSS rules. A form may be added in the future, but for now you should use custom CSS rules.

    As for the custom template option, it's not particularly useful unless you know the template variables. Honestly, that was just me messing with using the ace editor as a config value. It may be more useful at some point but for now I would leave it on Porta.

  • @yariplus Thanks for your quick reply! I guess I must've misread the documentation. I've tested out customizing it in the Custom CSS section and it works for me. Thanks again :)!


Suggested Topics