Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Solved SOLVED: Open Graph for image with og:image and image_src

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Music and Electronic Devices Designer.
More
11 years 3 months ago - 11 years 2 months ago #160747 by Trony
Hello, i'm trying to add meta tags as title topic.

In /libraries/kunena/bbcode/bbcode.php at line 1712 i added
Code:
$document = JFactory::getDocument(); $document->addCustomTag( '<link rel="image_src" href="'.$fileurl.'" />'); $document->addCustomTag ('<meta property="og:image" content="'.$fileurl.'" />');

and it's work very well.

The problem is that when i switch from backend Render HTML & BBCode in RSS feeds to Yes, the Rss Feed give me an Error 500.

How can i solve this problem ?!?
Tnx so much for your Tips. :)

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Last edit: 11 years 2 months ago by Trony.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #160758 by 810
enable kunena debug, and then go back then copy the error here
The following user(s) said Thank You: Trony

Please Log in or Create an account to join the conversation.

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Music and Electronic Devices Designer.
More
11 years 2 months ago #160772 by Trony
Hi, thanks for reply but with Kunena Debug i can't see the error.
There's the screen with report the wrong line and stop. :pinch:

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #160773 by 810
login as admin. then paste here the error

Please Log in or Create an account to join the conversation.

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Music and Electronic Devices Designer.
More
11 years 2 months ago #160780 by Trony
Hi. This is the only information from my Kunena Debug. :pinch:


Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Please Log in or Create an account to join the conversation.

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Music and Electronic Devices Designer.
More
11 years 2 months ago - 11 years 2 months ago #160781 by Trony
Great !!! Now work !!! I changed my code in:
Code:
$document = JFactory::getDocument(); $doctype = $document->getType(); // Only render for HTML output if ($doctype == 'html') { $document->addCustomTag( '<link rel="image_src" href="'.$fileurl.'" />'); $document->addCustomTag ('<meta property="og:image" content="'.$fileurl.'" />'); }

I hope is a good solution for insert in Kunena Topic the og:image and image_src
Anyway, tnx so much for your support. :)

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Last edit: 11 years 2 months ago by Trony.
The following user(s) said Thank You: kenzo

Please Log in or Create an account to join the conversation.

Time to create page: 0.329 seconds