What kind of comments did you mean? Facebook ot cutenews? If Facebook so give the code of the widget is used?
676 2012-07-25 12:11:42
Re: Facebook Commenting (25 replies, posted in Problem Solving / Help & Support)
677 2012-07-25 12:09:46
Re: We need a section of forum in spanish (6 replies, posted in Script Feedback and Suggestion)
Our site officially supports only English.
678 2012-07-25 11:34:28
Re: I got problem with TZ (2 replies, posted in Problem Solving / Help & Support)
http://php.net/manual/en/function.date-def...imezone-set.php
There is information here.
You should give proper settings for date_default_timezone_set
679 2012-07-17 07:31:29
Topic: Instructions for restoring your password (4 replies, posted in Hacks & Tricks / FAQ)
If you have any problems with your password, follow the instructions:
1. For restoring your password use register.php?action=lostpass, the link is situated near the field 'password'.
Enter your login and email.
2.Approach to the server via FTP then find the folder data, open the file users.db.php for changing. After the line <?PHP die("You don't have access to open this file !!!"); ?> write the following:
1334140000|1|admin_recovery_username|e10adc3949ba59abbe56e057f20f883e|1234|your@
mail.somesite.com|0|||||
Log in and enter the following:
login: admin_recovery_username
password: 123456
After it enter Options -> Add/Edit Users and reset your password and then delete the user admin_recovery_username.
3. If you don't have an access via FTP, connect your hosting provider asking for restoring the password.
680 2012-06-27 06:29:09
Re: need some help with my post-template.. (3 replies, posted in Problem Solving / Help & Support)
Dear User!
Padding: 4px 8px 4px 8px; denotes a shift by the following rules: 4px - a shift from the top, 8px - from the right, 4px - from the bottom, 8px - from the left. To get more information about CSS W3C standards please consider the following link:
http://www.w3schools.com/css/css_padding.asp и http://www.w3schools.com/css/css_boxmodel.asp
681 2012-06-26 13:05:31
Re: need some help with my post-template.. (3 replies, posted in Problem Solving / Help & Support)
Dear User!
Please try using <div style="padding: 4px 8px 4px 8px;">{avatar}{short-story}</div> instead of {avatar}{short-story} in the "Part 3"
The padding you should set by yourself. However, please use your CSS и HTML knowledges for the CuteNews html pattern customization.
682 2012-06-25 12:28:16
Re: $PHP_SELF Problem (1 replies, posted in Problem Solving / Help & Support)
Dear User!
Please would you specify the purpose of changing the "news.php" file and using the "PHP_SELF и QUERY_STRING" in the code?
683 2012-06-25 12:00:27
Re: How to make news items side by side (horizontal) (2 replies, posted in Problem Solving / Help & Support)
Dear User!
Please try creating a new pattern for active news in Options -> Edit Templates or try changing an existent one.
684 2012-06-25 11:54:59
Re: adding images (1 replies, posted in Problem Solving / Help & Support)
Dear User!
Please would you describe your query in more detailed way?
685 2012-06-25 11:40:03
Re: Show_news.php Issue (5 replies, posted in Problem Solving / Help & Support)
Dear User!
Following your link http://allencarswell.com/ we weren't able to access any web page.
686 2012-06-20 09:59:01
Re: adding characters (2 replies, posted in Problem Solving / Help & Support)
Dear User!
Write Unicode HTML tag instead of a symbol.
It would be better to prepare the text by using a Unicode converter, as, for example, this one:
http://www.numberconverter.net/get-compute...nicode-to-text/ (Text -- Unicode for HTML, Decimal)
In addition, please do not forget to turn on the HTML tags saving option.
687 2012-06-13 13:10:09
Re: Problem when I click next news (5 replies, posted in Problem Solving / Help & Support)
Dear User,
Unfortunately, such functionality is not supported by CuteNews 1.4.7. One of the ways to solve this problem can consist in the using IFRAME for each category. This problem will be fully solved only in future versions.
688 2012-06-05 13:25:32
Re: News go to top on a new comment (4 replies, posted in Problem Solving / Help & Support)
Dear User,
Thank you for your remark.
Unfortunately, this functionality is not supported by CuteNews 1.4.7, but we are going to include it in future versions.
689 2012-06-05 13:17:26
Re: Cannot comment. Gives me error (8 replies, posted in Problem Solving / Help & Support)
Thank you for your reply, Xorlev.
You are absolutely right in that the given script can be vulnerable. The thing is that we didn't want to change the logic of the user script, aiming to keep it understandable. There is no room for doubt that all the users need to use verification of each incoming parameter; for instance, in this case it would be better to do this way:
$x = $HTTP_GET_VARS['x'];
if (empty($x)) {
$x = "home";
}
$allow = array('home', 'about', 'more', ... );
if ( !in_array($x, $allow) ) die("You cannot execute this page");
To improve security, we also advise that you use suhosin
690 2012-06-05 11:24:36
Re: Shot latest comments (7 replies, posted in Script Feedback and Suggestion)
Unfortunately, you can't display recent comments in CuteNews 1.4.7 as the fix only involved the display of the order of lines so that the script offered by a user could work.
691 2012-05-29 11:21:31
Re: News go to top on a new comment (4 replies, posted in Problem Solving / Help & Support)
Dear User!
Our programmers have created a script which you should insert after the code in inc/shows.inc.php:
if($allow_active_news){
$all_news = file("$news_file");
if($reverse == TRUE){ $all_news = array_reverse($all_news); }
the scipt code:
// Search last comments
if ( !empty($sortbylast) )
{
$garnews = array();
foreach ($all_news as $nl) { list ($id) = explode('|', $nl, 2); $garnews[$id] = $nl; }
$all_news = array();
$all_comments = file($comm_file);
$all_comments = preg_replace('~^(\d+)\|>\|((\d+)\|.*?\|.*?\|.*?\|.*?\|.*?\|)*~im', '\\3.\\1', $all_comments);
arsort($all_comments);
foreach ($all_comments as $pm) if ( $nl = rtrim($garnews[ (int)(substr($pm, strpos($pm, '.') + 1)) ]) ) $all_news[] = $nl;
}
Before to turn on show_news.php please set the parameter $sortbylast = 1
692 2012-05-29 11:15:34
Re: Succesful Cutenews URL Mod Rewrite (4 replies, posted in Problem Solving / Help & Support)
Can you help me please?
Following the link to your web site we weren't able to find out your problem.
What version of CuteNews do you use?
693 2012-05-29 10:23:10
Re: Any rater for cutenews ? (4 replies, posted in Problem Solving / Help & Support)
Dear User!
Thank you for contacting us. Please consider this link: http://amjos.com/cutemod/
694 2012-05-25 09:54:31
Re: Succesful Cutenews URL Mod Rewrite (4 replies, posted in Problem Solving / Help & Support)
Dear User!
Please insert after the lines
$htaccess = "RewriteEngine On\n";
$htaccess .= "RewriteBase ".$path."\n\n";
the following code:
$htaccess .= "RewriteRule ^subaction=showfull&id=(.*)$ ".$script_file."?subaction=showfull&url=$1 [L,NC]\n";
695 2012-05-22 09:40:00
Re: Layout Problem (4 replies, posted in Problem Solving / Help & Support)
Dear User!
Please try using the "multiply includes":
To include the blocks from the down of the page (red) please use the following code:
<?php $category = "3"; $number = 1; $static = true; $template = '<pattern1>'; include ('show_news.php'); ?>
<?php $category = "4"; $number = 1; $static = true; $template = '<pattern1>'; include ('show_news.php'); ?>
...
<?php $category = "8"; $number = 1; $static = true; $template = '<pattern1>'; include ('show_news.php'); ?>
For blue blocks:
<?php $category = "2"; $number = 4; $static = true; $template = '<pattern2>'; include ('show_news.php'); ?>
Main block:
<?php $number = "КОЛИЧЕСТВО ÐОВОСТЕЙ"; $template = '<pattern3>'; include ('show_news.php'); ?>
Right on the top (Recent Posts):
<?php $number = 8; $static = true; $template = 'Headlines (or your own <pattern4>)'; include ('show_news.php'); ?>
696 2012-05-22 08:50:42
Re: Cannot comment. Gives me error (8 replies, posted in Problem Solving / Help & Support)
Dear User!
Please try the following code:
<?php
// Velox Letum ©2005
// http://www.nanoshock.net
// elementation@gmail.com
$x = $HTTP_GET_VARS['x'];
if (empty($x)) {
$x = "home";
}
if ($x == "index") {
die("You cannot execute this page");
}
if( file_exists($x . ".php") === TRUE) {
include("$x.php");
} else {
$number = 5;
include('show_news.php');
}
?>
You should use the "x" parameter instead of id.
Please also check where the file "show_news.php" is placed on your server. In case you face "not found `show_news.php`" , you should specify the correct path to this script.
Please do not hesitate to contact us again if we can be of any further help.
697 2012-05-15 08:38:53
Re: Facebook Commenting (25 replies, posted in Problem Solving / Help & Support)
Dear all,
The latest CuteNews version supports facebook comments. Please insert the following code into your page:
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=<Ð’ÐШ_APPID>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
The following code can be inserted after your news:
<div class="fb-comments" data-href="<URL news page>" data-num-posts="5" data-width="595"></div>
698 2012-05-15 08:36:01
Re: Different Directories Effecting the Headlines Template (2 replies, posted in Problem Solving / Help & Support)
Dear User!
Thank you for contacting us and reporting on this issue. You should try using the several types of scripts. In the block where you want to see the full news in a file "index.php" mysite.com/about/faq/index.php please use the following code:
<?php if (!empty($_GET['subaction']) && $_GET['subaction'] == 'showfull') { $template = "Default"; include ('.....path/to/show_news.php'); } ?>
This block must be on the every page with the news got from id of the Headlines pattern.
The meaning of the problem is that the pattern Headlines tries to access itself to expand over the news, but it can not because this pattern includes no information on the full page, so you have to use the above mentioned code on any page.
This is due to some incomplete template features in the CuteNews 1.4.7.
699 2012-05-14 12:05:58
Re: Help in arabic language (1 replies, posted in Problem Solving / Help & Support)
hi to all..
i have recently used cutenews 1.4.7 in my school site. the problem is that when i write in arabic it is stored in some thing deferent characters. and when i try to show then it is displayed not in arabic. i tried to open news.txt directly and found no arabic text.Replaced it directly and uploaded then flie, Dosplayed in arabic...
So the problem seems it is in storing process... How to solve this???? help please
Dear User!
Our CuteNews 1.4.7 doesn't support Unicode. Please try converting your content by using the following service:
http://www.unicodetools.com/unicode/convert-to-html.php
When you add such kind of codes to your web site, please launch the RTE editor and select the "Use HTML in this article" in the Article Options.
700 2012-05-04 12:53:11
Re: Fatal error: Maximum execution time of 30 seconds exceeded (2 replies, posted in Problem Solving / Help & Support)
Dear User!
You wrote:
"Fatal error: Maximum execution time of 30 seconds exceeded in /home/afpd/public_html/news/inc/functions.inc.php on line 405"
Please would you provide us with the code around the line 405 in the file "/home/afpd/public_html/news/inc/functions.inc.php"?