26

(3 replies, posted in Problem Solving / Help & Support)

Great, it works https://cutephp.com/forum/style_emoticons/default/wink.gif

https://cutephp.com/forum/style_emoticons/default/questionmark.gif

Hi Support Team,

I've tried to migrate 2.0.2 version to 2.0.3 without success (many errors so I upload old files to solve the problem).

How to proceed ?

Thanks you.

I add:
[captcha] {captcha} [/captcha]
to my template but I see no CAPTCHA! It doesn't work at all. It's like I never added this to the template. How should I properly integrate CAPTCHA?

CN version is: v2.0.2 (Build ID - 202)
I am using UTF-8

Try to add a div like this :

[captcha]<div>{captcha}</div>[/captcha]

30

(9 replies, posted in Script Feedback and Suggestion)

As soon as possible. Currently, we have 42 changes including bug fixes and new features, at the moment the code is being tested and adjusted.

Thanks you https://cutephp.com/forum/style_emoticons/default/wink.gif

31

(9 replies, posted in Script Feedback and Suggestion)

Hi Support Team,

First of all, thanks you for your great work on Cutenews 2.0.2

For next release with many points to solve, have you got a date ?

Best regards.

yes it would be great...

Hi,

I've 21500 news, no problem...

Best regards.

34

(5 replies, posted in Problem Solving / Help & Support)

Thank you Support Team, it's perfect.

35

(5 replies, posted in Problem Solving / Help & Support)

Hi support Team,

Yes first solution :  the meta tags to simply not be displayed when they are empty

Best regards.

36

(5 replies, posted in Problem Solving / Help & Support)

up https://cutephp.com/forum/style_emoticons/default/smile.gif

Hi Support Team and members,

I’ve a request, I use this code for meta :

<?PHP require_once "../info/cn_api.php";$entry = cn_api_get_entry();if ($entry['t']){$header_title = ($entry['t']);$short_story = (substr($entry['f'],0,160));$tagline = ($entry['tg']);$category_name = ( join(' / ', $entry[':cot']) );$trunc_short = trim( (strip_tags($short_story)) );$entry['mf']['photo'];$entry['mf']['photoxxl'];$entry['mf']['video'];$entry['mf']['videoxxl'];$entry['mf']['daily'];$entry['mf']['dailyxxl'];$entry['mf']['twitter'];}echo '<title>'.$header_title.' - '.$category_name.'</title>';echo '<meta name="description" content="'.$trunc_short.'"/>';echo '<meta name="news_keywords" content="'.$category_name.','.$tagline.'"/>';echo '<meta property="og:title" content="'.$header_title.'"/>';echo '<meta property="og:description" content="'.$trunc_short.'"/>';echo '<meta property="og:image" content="'.$entry['mf']['photo'].'"/>';echo '<meta property="og:image" content="'.$entry['mf']['photoxxl'].'"/>';echo '<meta property="og:image" content="http://img.youtube.com/vi/'.$entry['mf']['video'].'/hqdefault.jpg"/>';echo '<meta property="og:image" content="http://img.youtube.com/vi/'.$entry['mf']['videoxxl'].'/hqdefault.jpg"/>';echo '<meta property="og:image" content="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['daily'].'"/>';echo '<meta property="og:image" content="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['dailyxxl'].'"/>';echo '<meta name="twitter:card" content="summary_large_image"/>';echo '<meta property="twitter:image:src" content="'.$entry['mf']['photo'].'"/>';echo '<meta property="twitter:image:src" content="'.$entry['mf']['photoxxl'].'"/>';echo '<meta property="twitter:image:src" content="http://img.youtube.com/vi/'.$entry['mf']['video'].'/hqdefault.jpg"/>';echo '<meta property="twitter:image:src" content="http://img.youtube.com/vi/'.$entry['mf']['videoxxl'].'/hqdefault.jpg"/>';echo '<meta property="twitter:image:src" content="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['daily'].'"/>';echo '<meta property="twitter:image:src" content="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['dailyxxl'].'"/>';echo '<meta property="twitter:title" content="'.$header_title.'"/>';echo '<meta name="twitter:creator" content="'.$entry['mf']['twitter'].'"/>';echo '<meta property="twitter:description" content="'.$trunc_short.'"/>';echo '<link rel="image_src" href="'.$entry['mf']['photo'].'"/>';echo '<link rel="image_src" href="'.$entry['mf']['photoxxl'].'"/>';echo '<link rel="image_src" href="http://img.youtube.com/vi/'.$entry['mf']['video'].'/hqdefault.jpg"/>';echo '<link rel="image_src" href="http://img.youtube.com/vi/'.$entry['mf']['videoxxl'].'/hqdefault.jpg"/>';echo '<link rel="image_src" href="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['daily'].'"/>';echo '<link rel="image_src" href="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['dailyxxl'].'"/>';echo '<meta itemprop="image" content="'.$entry['mf']['photo'].'"/>';echo '<meta itemprop="image" content="'.$entry['mf']['photoxxl'].'"/>';echo '<meta itemprop="image" content="http://img.youtube.com/vi/'.$entry['mf']['video'].'/hqdefault.jpg"/>';echo '<meta itemprop="image" content="http://img.youtube.com/vi/'.$entry['mf']['videoxxl'].'/hqdefault.jpg"/>';echo '<meta itemprop="image" content="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['daily'].'"/>';echo '<meta itemprop="image" content="http://www.dailymotion.com/thumbnail/video/'.$entry['mf']['dailyxxl'].'"/>';if ($_GET['id']) echo '<meta property="og:url" content="http://'.$_SERVER['SERVER_NAME'].''.$_SERVER['REQUEST_URI'].'"/>';if ($_GET['id']) echo '<meta name="twitter:url" content="http://'.$_SERVER['SERVER_NAME'].''.$_SERVER['REQUEST_URI'].'"/>';if ($_GET['id']) echo '<meta itemprop="url" content="http://'.$_SERVER['SERVER_NAME'].''.$_SERVER['REQUEST_URI'].'"/>';if ($_GET['id']) echo '<link rel="canonical" href="http://'.$_SERVER['SERVER_NAME'].''.$_SERVER['REQUEST_URI'].'"/>'; ?>

It’s works, no problem but when an article is shared, for example Facebook, the OG image can be with the tag photo, photoxxl, video or videoxxl. It means that at once, 3 of 4 meta are empty and the debugger Facebook (https://developers.facebook.com/tools/debug) said there is empty meta (error). Of course it’s normal but is it a possibility to write something like that in meta :

if…
else…

Best regards.

I found it in the file main.php, thanks you Support Team.

Fantastic ! Thanks you.

Last request, is it possible to hide the short story in cutenews and to show full story (without to click on button "Toggle Full Story").

It's probably possible but what files to modify ?

Hi Support Team,

It's ok, the meta description works but a little problem. The meta description is not truncated and all the text of the full story appears in the meta description... Is it possible to limit it to 160 characters for example (better for SEO...) ?

Thanks you.

Hi Support Team.

Actually it's ok but if I don't use short story (for gain of time for writers), the meta description are empty because I use this code :

<?PHP require_once "../news/cn_api.php";$entry = cn_api_get_entry();if ($entry['t']){$header_title = ($entry['t']);$short_story = ($entry['s']);$tagline = ($entry['tg']);$category_name = ( join(' / ', $entry[':cot']) );$trunc_short = trim( (strip_tags($short_story)) );$entry['mf']['photo'];$entry['mf']['photoxxl'];$entry['mf']['video'];$entry['mf']['videoxxl'];$entry['mf']['daily'];$entry['mf']['dailyxxl'];$entry['mf']['twitter'];}echo '<title>'.$header_title.' - '.$category_name.'</title>';echo '<meta name="description" content="'.$trunc_short.'"/>'

The meta <meta name="description" content="'.$trunc_short.'"/> is linked to the short story.

How to do this with full story in meta description ? And of course truncate the full story because a meta description doesn't exceed 160/165 words...

Is it possible ?

Thaks you.

yes thanks you, it's ok for RSS but for meta description ?

... and for the RSS it's the same problem, I don't want to use full story because in RSS feed, all the text is not really good...

<item>
   <title><![CDATA[{title}]]></title>
   <link>{rss-news-include-url}</link>
   <description><![CDATA[{short-story}]]></description>
   <guid isPermaLink="false">{news-id}</guid>
   <pubDate>{date}</pubDate>
</item>

Yes it works but in the <head> section, I use : echo '<meta name="description" content="'.$trunc_short.'"/>'

Consequently, there is no text in meta description...

Thanks.

Hi Support Team,

It would be great because it would a gain of time for writers...

Best regards.

46

(2 replies, posted in Problem Solving / Help & Support)

Thanks you ! perfect https://cutephp.com/forum/style_emoticons/default/smile.gif

47

(2 replies, posted in Problem Solving / Help & Support)

Hi Support Team,

You've recently add error404 in your last updates. It's better but :

Is it possible to configure error404 with a page of site ?

If yes, how is it possible ?

Best regards.

Hi Team,
I have just installed CuteNews 2.0.2 for the first time and I am looking for a way to generate an automated Short Story based on the content of the Long Story.

I have found an hack (link) that I believe was created for version 1.x of the script.

Can anybody suggest a way to fix this for version 2.x?

Ideally, I would like the user to type the Long Story (only) and have the Short Story generated automatically. The Short Story field should not appear at all when a user is writing the article.

Any help would be much appreciated and apologies if I am trying to do something that already has a solution.

+1, it would be great...

Hello,

Dont' forget something like that in template (tagline) : {tag} {comma| }

50

(0 replies, posted in Problem Solving / Help & Support)

Hi Support Team,

I think it would be great to have the possibility to configure error 404. With CN 2.0, it’s not possible, the htaccess doesn’t matter of error 404 configuration because of CN…
Possible to solve this problem ?

Thanks you.