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


  • Community Rep

    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. I decided to make an official topic for it now because I get so many other posts/topics/messages on it and wanted to centralise discussion into one place.

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

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

    Featured Topic Lists

    This plugin lets users add topics to a list, and feature them on different areas of the forum. There are two types of lists; User Lists which are available to every user, and Global Lists which are available to Admins and Global Mods. Topics can be added to a User List by using the Post Tools menu on the first post of a topic. Topics can be added to a Global List by using the Topic Tools menu of a topic.

    News Page

    A /news page is created which displays the topics from the Global List News in a blog-like style.

    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.

    User Blogs

    Like the news page, a page is created for users at /user/username/blog, which displays the topics from the User List Blog.

    Widgets

    Widgets are the core of 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.

    New Widget Functionality

    Per-user widget settings. User repositionable widgets. Enhanced widget GUI.

    To-dos

    • Better templates for blog widgets.
    • Style editor maybe.

  • Community Rep

    Hey, I'll get some basic docs up soon :tm:

    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


  • Community Rep

    @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?


  • Community Rep

    @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?


  • Community Rep

    @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.


  • Community Rep

    @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).


  • Community Rep

    @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?


  • Community Rep

    @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.


  • Community Rep

    @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 :)!


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.