News Plugin ๐Ÿ“ฐ

How does a guy see this in action? https://try.thepavilion.io/ is broken.

Also, do the images and text data roll off the forum after awhile? Otherwise, I could see this hitting harddrive space over time.

1๊ฐœ์˜ ์ข‹์•„์š”

Import Error: about.json does not exist, or is invalid. Are you sure this is a Discourse Theme?

i am encountering this error.

Because itโ€™s not, itโ€™s a plugin. You have to add this to app.yml and rebuild as per the link in the OP.

2๊ฐœ์˜ ์ข‹์•„์š”

Great job. In fact, it replaces the blog. Is it possible to do something similar for embedded videos and channels for YouTube, etc.? For example, https://invisioncommunity.com/files/file/7524-videobox-video-livestream-sharing-platform/
This way we will get a universal all in one community platform with great capabilities. Before my thematic community, it is necessary to import channels with 200k+ videos with updates so that users can watch videos on the site, and not on third-party services. Embedded videos are liked by search engines and increase the time spent on the site hundreds of times.
Yes, the plugin is complicated, it should have navigation and a built-in video player, but itโ€™s worth it. I think a lot of thematic communities will want to have such a plugin, and maybe all communities :sweat_smile: :grinning:
They tried to create something similar here, but itโ€™s not the same at all (
https://www.elektronauts.com/media

2๊ฐœ์˜ ์ข‹์•„์š”

Iโ€™m looking for the answer to this question too. When the site opens, I want it to open as site.com/news.

@angus

Just noticed that the Elektronauts site now supports embedded video (that is active/clickable) on the home page news feed. This is new to me, and something Iโ€™d very much like to see in the implementation Iโ€™m using. Is this feature implemented in the current version of the News Plugin?

Its been about 3 months since I updated my plugin.

Iโ€™ve tried many font awesome classes, (Iโ€™ve tried different formats), but the font/icon shows broken. This is the setting that Iโ€™ve chosen at the moment:

And this is what the front end shows:

Just reporting one small display problem. Rather than formatting the text visually, it shows so many html tags inside the news itself.


I donโ€™t know if this the fault with the โ€˜rss feedโ€™ or with the โ€˜news pluginโ€™. Though Iโ€™ve checked/tested with 3-4 other (all Punjabi language) feeds, the same problem is with all of them.

For the icon, have you tried just the class name without the mark-up?

1๊ฐœ์˜ ์ข‹์•„์š”

I filled this <i class="icon-camera-retro"></i> and still the front-end shows broken icon.

And if I use only this icon-camera-retro, then the front end of the site shows no icon at all.

Who has this running on their forum so I can see an example?

1๊ฐœ์˜ ์ข‹์•„์š”

Hi. Thanks for the plugin. Iโ€™m trying to get it configured. Iโ€™ve got the variables set like this:

There is a /news route, but it just looks like a normal forum page:

What am I missing in order to make the page look like the example?

Does the lack of a green checkmark indicate that something is wrong? Is there something else I can check to see why the /news route only renders a normal topic page and the header doesnโ€™t include the News link?

@Stanzilla Did you figure this one out? Was it a configuration problem, or a bug?

I just checked this plugin out on latest tests-passed and it appears to be working.

What is strange about your second screenshot is the lack of โ€œNewsโ€ link in the header - have you refreshed your browser since enabling the plugin?

Note that the Category Topic List should be unchanged: news works on its own route.

what happens when you navigate to /news?

Thanks @merefield Hereโ€™s a video of what Iโ€™m seeing.

Is there a log I should be checking for errors? Any other config params that are known to conflict (e.g. Iโ€™ve tried all the permutations of navigation, etc)

1๊ฐœ์˜ ์ข‹์•„์š”

That looks suspicious - whatโ€™s showing in the browser console?

The other place to check is /logs

app.js:29 Uncaught Error: Could not find module `discourse/components/modal/share-topic` imported from `discourse/plugins/discourse-news/discourse/initializers/news-initializer`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at e._prepareInitializer (app.js:23:1)
    at app.js:73:1
    at Array.forEach (<anonymous>)
    at e.start (app.js:66:1)
    at HTMLDocument.<anonymous> (start-app.js:5:7)
    at discourse-boot.js:18:12
    at discourse-boot.js:19:2
1๊ฐœ์˜ ์ข‹์•„์š”

Are you sure you have the latest code from tests-passed in Discourse and the latest version of the News plugin on main branch? There was a PR from @David 3 weeks ago that covered this off, which is why it is working on two dev instances for me.

Ah! I am on 3.0.5 in Discourse, because I didnโ€™t know if 3.1.0-betaX was done/stable. I am using it with the News plugin main branch. Is there a version/branch of the News plugin that works with 3.0.5? If not, I will set about upgrading my Discourse. Thank you @merefield !