[nodebb-plugin-featured-topics-extended] Feature Topics in a News/Blog page and Widgets.
@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.
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 :)!
@yariplus The width of the plugin look real slim on 1.3. The header is at 100% width but the content is not.
I have a rather large update coming, should be done by tomorrow.
Featured Topics are now added to
Topic Lists. The
/featuredpage is used to add, remove, and manage lists. Admin and Global Mods can use the
/newspage now uses the unremovable
Newstopic 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/blogwere added to the user profile menu.
/featuredallows users to manage their lists, while
/blogis a public route where topics from their
Bloglist are displayed.
nbb 1.3.0 and up required
@yariplus Just updated, the old featured list did not move over but I'm fine with that. Thank you.
@evoixmr Sorry about that. The import worked for me, not sure what could have happened...
phit last edited by
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
@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, etc
Does this make sense? Do you think this is doable?
phit last edited by
@phit Perfect, but there's one problem. I don't see that option. Do I need to change something in the control panel?
I am running Nodebb v1.4 and using Persona Theme with no skin.
Settings => Uploads => Allow users to upload topic thumbnails
@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
Newslist will appear on the home/front page. Any additional lists you make are featured in
Widgetswhich you must place on a page from the
admin=>extend=>widgetsmenu after creating the list.
yari last edited by
When does the new update come in?
@yari Unfortunately, I have little free time lately. Putting in a lot of overtime at my "real" job.
yari last edited by
Updated to v0.3.0
- Fixed all NodeBB 1.5.x compatibility issues.