The login page is available only after installing CuteNews v2.0+, after creating the admin account. The old version (1.4.6) is available here https://cutephp.com/cutenews/cutenews.1.4.6.zip if you need to extract the missing templates.
1 2019-05-31 14:29:00
Re: Restorel Cutenews 1.4.6 from backup do not want it reinstalled though (2 replies, posted in Problem Solving / Help & Support)
2 2019-05-31 14:26:30
Re: news in pagina non si vedono (3 replies, posted in Problem Solving / Help & Support)
Try using example.php, that is located in the CN root directory to display news. To add pagination, indicate '$number = 5;' (5 is a number of articles on 1 page) before 'include 'show_news.php';'.
Cutenews will automatically paginate your posts. The code sample:
```$number = 5;
include 'show_news.php';```
3 2019-05-31 14:14:39
Re: Variable of additional fields (3 replies, posted in Problem Solving / Help & Support)
All values for the additional fields are stored in MF as an associative array, where the key is responsible for the field name.
4 2019-05-31 14:11:45
Re: New, clean install of 2.1.2 but still claims I'm running 2.1.0 (4 replies, posted in Problem Solving / Help & Support)
Sorry about that. The version number has been fixed in the new installation file. This is not critical since the version is used only to check for new versions.
5 2019-05-31 12:06:21
Re: upgrading Cutenews 1.4.6 to 2.1.2 hanging on Admistration page (2 replies, posted in Problem Solving / Help & Support)
Please describe the problem with creating an administrative account v2.1.2 in more detail. For a successful installation, all the directories required by 'Permission check' (see it on the right) must be green. If this is the case, then try changing '<?php echo PHP_SELF;?>' to the '#' symbol in skins/base/install.php and try installing again.
To save all the data, follow the instruction https://cutephp.com/cutenews/upgrade.php?version=2.0
Download 1.4.6 by following the link https://cutephp.com/cutenews/cutenews.1.4.6.zip
6 2019-03-18 10:28:59
Re: A simple code for the title and description automatically in the page (2 replies, posted in Problem Solving / Help & Support)
Thank you for your kind feedback!
To do this, you can use templates and additional fields. Enter the template for showing active news and add placeholders for additional fields, which were added to the system configurations. This way, you can create you own title and your own fields with the necessary data.
7 2019-03-14 21:59:40
Re: Problem in CKFinder (3 replies, posted in Problem Solving / Help & Support)
Check if the Upload folder has the necessary chmod access rights: for example, 775 or 777 (in case 775 doesn't suit).
8 2019-03-13 22:19:24
Re: conf.php losing settings (3 replies, posted in Problem Solving / Help & Support)
It's really strange as the conf.php file can be saved only by users with admin rights in special cases like changing categories. Try the following actions: edit the core/core.php file, where the function is setoption($opt_name, $var) for the string
$fx = fopen($dest, 'w+');
fwrite($fx, "<?php die(); ?>\n" . base64_encode(serialize($cfg)) );
fclose($fx); rename($dest, $fn);
Comment out all the lines so that the config file can't be saved.
// $fx = fopen($dest, 'w+');
// fwrite($fx, "<?php die(); ?>\n" . base64_encode(serialize($cfg)) );
// fclose($fx); rename($dest, $fn);
If the problem persists, please inform us.
9 2019-03-10 20:30:14
Re: Additional fiels - Checkbox (3 replies, posted in Problem Solving / Help & Support)
In templates, it is possible to use such redirects as [if {my_checkbox_name}]Yes[/ if], instead of {my_checkbox_name}.
In this case, Y will be redirected to Yes.
10 2019-03-10 20:25:23
Re: Showing most viewed articles (4 replies, posted in Problem Solving / Help & Support)
Unfortunately, there is no such function in CuteNews. In this version of CuteNews, news can be sorted only by a number of comments ($sortby = 'comments').
11 2019-03-10 20:22:08
Re: login problem (2 replies, posted in Problem Solving / Help & Support)
Please specify when the page reloads if there's a message about a wrong password or login. Perhaps, it's up to your browser cache. After reloading the page, try refreshing the page with Ctrl + F5.
12 2019-02-13 09:04:08
Re: Items display horizontally, and prevent full-story new window (6 replies, posted in Problem Solving / Help & Support)
As one of the options, you can fix the layout for the template Active News. By default, there is
<div style="width: 100%; margin-bottom:30px;">
Change it for the structure
<div style="width: 100%; padding: 10px; display: inline-block; width: 250px; vertical-align: top">
In this case, the news will go as a block with width of 250 pixels (you can write any other number, including percentage), vertically aligned.
13 2019-01-21 08:55:35
Re: Sort "Additional Fields" (6 replies, posted in Problem Solving / Help & Support)
Sorting is made in the lexicographical order: the numbers are sorted as characters, it turns out that 0 goes before 1, but 2 is less than 10, since the comparison is done lexicographically, by characters, not by numbers.
14 2019-01-16 08:39:04
Re: Problem in CKFinder (3 replies, posted in Problem Solving / Help & Support)
Change the string of the file ckfinder/config.php
from
if (isset($_COOKIE['session']) && $_COOKIE['session'])
to
if (isset($_COOKIE['CUTENEWS_SESSION']) && $_COOKIE['CUTENEWS_SESSION'])
15 2019-01-16 08:25:01
Re: Smileys are not properly displayed (3 replies, posted in Problem Solving / Help & Support)
Smileys titled as numbers aren't allowed in CN. To correct it, please edit the file core/news.php
Change the string from
if (preg_match_all('/\:([a-z_]+?)\:/i', $template, $ct, PREG_SET_ORDER))
to
if (preg_match_all('/\:([a-z0-9_]+?)\:/i', $template, $ct, PREG_SET_ORDER))
Alternatively, use alphabetical symbols.
16 2018-12-27 20:47:10
Re: Cutenews with database? (3 replies, posted in Problem Solving / Help & Support)
CuteNews can't work with MySQL store data. Only a flat database can be used as it makes databases easily transferrable.
17 2018-12-10 08:15:37
Re: Move news to new webserver (6 replies, posted in Problem Solving / Help & Support)
Please edit your code core/news.php, line 20:
from
$nice = '';
to
$nice = [];
18 2018-12-06 08:25:40
Re: Move news to new webserver (6 replies, posted in Problem Solving / Help & Support)
Please specify the error message you've got while moving a backup file. To move files to a new web server, it's enough to copy all the files.
19 2018-11-27 08:44:36
Re: Sort "Additional Fields" (6 replies, posted in Problem Solving / Help & Support)
To sort your field names from A to Z, please edit the file core/modules/dashboard.php
Before the code
cn_assign('list', $list);
paste this code
ksort($list);
20 2018-11-27 08:39:07
Re: Login/PWD Reset issues (2 replies, posted in Problem Solving / Help & Support)
To recover your password using your login, create a file in the root directory for your website. For example, the code for admin_reset_password.php will be
<?php require_once dirname(__FILE__) . '/core/init.php';
$_SESSION['user'] = '<you_username>'; echo "OK"; ?>
Then access this file via the web browser by typing you_site/admin_reset_password.php
21 2018-11-22 09:44:48
Re: Img URL + title in browser's tab (7 replies, posted in Problem Solving / Help & Support)
Please specify where the Additional URL is inserted. What is meant by the News widget? Is it a list of news in the administrative panel or something else? Kindly send us screenshots.
22 2018-11-21 07:56:53
Re: Count number of commas in string (3 replies, posted in Problem Solving / Help & Support)
Please try this string:
echo substr_count('A,B,C,D', ',');
23 2018-11-19 08:15:32
Re: How to add tags Open Graph in between <head> tags? (10 replies, posted in Problem Solving / Help & Support)
Please use this code string:
if (!empty($entry['mf']['og_image'])) echo '<meta property="og:image" content="'.$entry['mf']['og_image'].'" />';
24 2018-11-14 15:43:35
Re: How to add tags Open Graph in between <head> tags? (10 replies, posted in Problem Solving / Help & Support)
To do this, you should use additional fields to insert a photo there.
To add a new field, go to Dashboard> Additional fields, select the type 'Image / Resource', the og_image name, for example. Then click 'Add / Replace field'.
When editing the news, a new og_image field will appear, with which you can select an image for the article. Then, as in the previous case, you can add this string to the <head> section
if (! empty ($ entry ['mf'] ['og_image']))) echo '<meta property = "og: image" content = "'. $ entry ['mf'] ['og_image']. '" /> ';
25 2018-11-13 12:43:05
Re: Make hyperlink sortby (5 replies, posted in Problem Solving / Help & Support)
Sadly, sorting by title isn't supported in the current version.