News Articles Preview

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Suggested Hosts
Post Reply
fwproject
Registered User
Posts: 7
Joined: Tue Dec 07, 2021 11:26 am

News Articles Preview

Post by fwproject »

I'm looking for a way to have news articles as a preview rather then just the url posted
Image
such as that from the Mighty Networks software
Attachments
preview article.PNG
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: News Articles Preview

Post by warmweer »

Perhaps something could be done with phpBB Media Embed extension.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: News Articles Preview

Post by david63 »

fwproject wrote: Tue Dec 07, 2021 11:33 am such as that from the Mighty Networks software
Mighty Networks does not have an api, and they are not planning on having one any time soon, so being able to incorporate it into a phpBB, or any other, site is not possible - and I also doubt that many will be prepared to pay a minimum of $33 a month.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
fwproject
Registered User
Posts: 7
Joined: Tue Dec 07, 2021 11:26 am

Re: News Articles Preview

Post by fwproject »

warmweer wrote: Tue Dec 07, 2021 3:10 pm Perhaps something could be done with phpBB Media Embed extension.
yeah I thought about that didn't work well.

Here is a a example on mighty networks

Code: Select all

<div class="post-link-container">
      <img class="preview-post-image" src="https://media1-production-mightynetworks.imgix.net/asset/32083183/gr1.jpg?ixlib=rails-0.3.0&amp;fm=jpg&amp;q=75&amp;auto=format">
      <span class="title" style="overflow-wrap: break-word;">The epidemiological relevance of the COVID-19-vaccinated population is increasing</span>
      <p class="text-color-body">High COVID-19 vaccination rates were expected to reduce transmission of SARS-CoV-2 in populations by reducing the number of possible sources for transmission and thereby to reduce the burden of COVID-19 disease. Recent data, however, indicate that the epidemiological relevance of COVID-19 vaccinated individuals is increasing.</p>
    </div>
fwproject
Registered User
Posts: 7
Joined: Tue Dec 07, 2021 11:26 am

Re: News Articles Preview

Post by fwproject »

david63 wrote: Tue Dec 07, 2021 3:29 pm
fwproject wrote: Tue Dec 07, 2021 11:33 am such as that from the Mighty Networks software
Mighty Networks does not have an api, and they are not planning on having one any time soon, so being able to incorporate it into a phpBB, or any other, site is not possible - and I also doubt that many will be prepared to pay a minimum of $33 a month.
yeah not looking at using MN since I'm not interested in using them. I replied to other posted with the code they use. If you have any suggestions I would appreciate them.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: News Articles Preview

Post by Brf »

That example code is not linking to an article. All it is doing is showing an image and some text.
fwproject
Registered User
Posts: 7
Joined: Tue Dec 07, 2021 11:26 am

Re: News Articles Preview

Post by fwproject »

Brf wrote: Tue Dec 07, 2021 4:44 pm That example code is not linking to an article. All it is doing is showing an image and some text.
Sorry just noticed that myself here is the full code

Code: Select all

<div id="detail-layout-content-region"><div class="detail-content-layout mighty-max-content-width"><div class="post-detail-media mighty-max-content-width">
  <a class="text-color-title-link " href="https://www.thelancet.com/journals/lanepe/article/PIIS2666-7762(21)00258-1/fulltext?s=08#%20" rel="nofollow" target="_blank">
    <div class="post-link-container">
      <img class="preview-post-image" src="https://media1-production-mightynetworks.imgix.net/asset/32083183/gr1.jpg?ixlib=rails-0.3.0&amp;fm=jpg&amp;q=75&amp;auto=format">
      <span class="title" style="overflow-wrap: break-word;">The epidemiological relevance of the COVID-19-vaccinated population is increasing</span>
      <p class="text-color-body">High COVID-19 vaccination rates were expected to reduce transmission of SARS-CoV-2 in populations by reducing the number of possible sources for transmission and thereby to reduce the burden of COVID-19 disease. Recent data, however, indicate that the epidemiological relevance of COVID-19 vaccinated individuals is increasing.</p>
    </div>
  </a>
</div></div></div>
deninho32
Registered User
Posts: 186
Joined: Tue May 21, 2019 8:57 am
Contact:

Re: News Articles Preview

Post by deninho32 »

Maybe this extension does what you want.
https://www.phpbb.com/customise/db/extension/magicogp/
phpBB 3.3.7 | PHP Version 8.2.4 | Milk Theme
fwproject
Registered User
Posts: 7
Joined: Tue Dec 07, 2021 11:26 am

Re: News Articles Preview

Post by fwproject »

deninho32 wrote: Tue Dec 07, 2021 6:55 pm Maybe this extension does what you want.
https://www.phpbb.com/customise/db/extension/magicogp/
that is perfect thank you.
Post Reply

Return to “Extension Requests”