[nodebb-plugin-featured-topics-extended] Feature Topics in a News/Blog page and Widgets.
-
@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.
-
I have a rather large update coming, should be done by tomorrow.
-
v0.2.0 Changes!
Featured Topics are now added to
Topic Lists
. The/featured
page is used to add, remove, and manage lists. Admin and Global Mods can use the/featured
page. The/news
page now uses the unremovableNews
topic list. Old featured topics should be automatically moved to this list.Widgets can use any
Topic List
. Widgets can now be set to use specific topics within a list rather than the most recent section of the whole list.The News widget was added. The news widget displays a topic list using one of the news templates, but without a paginator. Using the specific topics option, for example, will allow you to set some topics as "pinned" on any page.
Users can now create featured topics lists as well. Users feature topics by using the post tools menu on the first post of a topic. The routes
/user/slug/featured
and/user/slug/blog
were added to the user profile menu./featured
allows users to manage their lists, while/blog
is a public route where topics from theirBlog
list are displayed.nbb 1.3.0 and up required
-
Just updated while moving to 1.4.0, everything works just a small theme issue
Porta shows "Invalid Date" next to the username, fixed it with a custom theme for now
http://i.imgur.com/qJJjsSo.png -
@yariplus Thanks for this great plugin. I have an idea, but I don't know if it will work. Could you give your thoughts on this?
Goal: Lists topics lists that include a thumbnail picture, snippet of text, topic author, topic date, number of comments.
Most of this can easily be done. The only thing in question is making the thumbnail. I thought of the following process:
Step 1: Topics always start with an imgur url image file
Step 2: That imgur url is then pulled out of the topic content using regular expressions and resized using this plugin https://community.nodebb.org/topic/2677/nodebb-plugin-image-sizer-image-resizing (this is done within a custom template inside featured topics extended). This would allow anyone to control the image shape - it could be a square, wide rectangle, tall rectangle, etcDoes this make sense? Do you think this is doable?
-
@yariplus This is a really good idea, and the initial introduction says lots of things do not work and it is WIP, with that said, Is this still being developed.
I found an issues where only stuff you feature under news list works, if I create a new list and feature things in there, it does not display the featured articles, could be just my usage of it. I can see the my featured article in my new list in admin, but when you click the menu button, nothing displays. You can only see featured articles in the default list.
-
@letsdothis Absolutely still being developed!
If I'm understanding you correctly, this is intentional. Only the
News
list will appear on the home/front page. Any additional lists you make are featured inWidgets
which you must place on a page from theadmin=>extend=>widgets
menu after creating the list. -
When does the new update come in?
-
Updated to v0.3.0
- Fixed all NodeBB 1.5.x compatibility issues.
-
Updated to v0.4.0
- Fixed compatibility with nbb 1.7.x
- Fixed widget settings not saving if a custom list was selected.
- Fixed widget area
content-between
, widgets now properly render between each post.