Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 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

More
10 years 5 months ago #170575 by kenzo
Hi! Thanks for share with us. Your solution still works? I'm looking for an "Open Graph plugin".
Thanks!

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
10 years 4 months ago - 10 years 4 months ago #171451 by Trony

kenzo wrote: Hi! Thanks for share with us. Your solution still works? I'm looking for an "Open Graph plugin".
Thanks!


Hello.
Yes it's still work but i changed for Kunena 4.0.7
New file is default.php in:

components -> com_kunena -> template -> system -> layouts -> image
Code:
defined ( '_JEXEC' ) or die (); $document =& JFactory::getDocument();

and at the end of
Code:
</div>
of div class
Code:
<div class="kmsgimage">

Code:
<? $document->addCustomTag( '<link rel="image_src" href="'.$url.'" />'); $document->addCustomTag ('<meta property="og:image" content="'.$url.'" />'); $document->addCustomTag ('<meta name="twitter:image:src" content="'.$url.'" />'); ?> </div>

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: 10 years 4 months ago by Trony.

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

More
9 years 6 months ago #180863 by Ierofant
Hello!
Please tell me how to make a version 5.0.2

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
9 years 6 months ago #180995 by Trony

Ierofant wrote: Hello!
Please tell me how to make a version 5.0.2


For 5.0.2 and 5.0.3 you must edit these files in Crypsis Template:

template ► crypsis ► layouts ► attachment ► item ► image.php
Code:
defined('_JEXEC') or die(); $document =& JFactory::getDocument();

at end
Code:
<? $doctype = $document->getType(); // Only render for HTML output if ($doctype == 'html') { $document->addCustomTag('<link rel="image_src" href="'. JURI::base() .$attachment->getUrl().'">'); $document->addCustomTag ('<meta property="og:image" content="'. JURI::base() .$attachment->getUrl().'" />'); $document->addCustomTag ('<meta name="twitter:image:src" content="'. JURI::base() .$attachment->getUrl().'" />'); } ?>


template ► crypsis ► layouts ► bbcode ► image ► default.php
Code:
defined('_JEXEC') or die(); $document =& JFactory::getDocument();

at end
Code:
<? $doctype = $document->getType(); // Only render for HTML output if ($doctype == 'html') { $document->addCustomTag( '<link rel="image_src" href="'.$url.'">'); $document->addCustomTag ('<meta property="og:image" content="'.$url.'" />'); $document->addCustomTag ('<meta name="twitter:image:src" content="'.$url.'" />'); } ?> </div>


Naturally.... BEFORE BACKUP ORIGINALS FILES !!!

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

The following user(s) said Thank You: Ierofant

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

More
9 years 6 months ago #180998 by 810
I get this errors on the face checker:
Code:
Warnings That Should Be Fixed. Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags. . Extraneous Property Objects of this type do not allow properties named 'og:author'. . Extraneous Property Objects of this type do not allow properties named 'article:published_time'. . Extraneous Property Objects of this type do not allow properties named 'article:section'. . Share App ID Missing The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog. . Parser Mismatched Metadata The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: 'og:author, article:published_time, article:section'

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

More
9 years 6 months ago #181002 by Ierofant

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

Time to create page: 0.244 seconds