Cutenews version 1.4.3

I'm showing the user list and want to know how to create a link to the user just as they show on the news templates {author} on show_users

I tested this code, create a link, but does not recognize the {author}

Include:

<?PHP
include("data/show_users.php");
?>



greetings and thanks in advance!

Hello many have already implemented these recommendations with some hacks and work, the one I mention that is was the voting experimental items could be created with stars and as a result gives the number of votes, and total score, what I suggest is that you make a hack for the new version with the news more views, it is used a lot these days.

But many hacks were implemented for other versions of Cutenews, hopefully they can implement and improve in future releases

Greetings!

It's easy, go to your control panel templates settings in Options - Edit formats (Templates) - Form to add comments, delete the tag {smilies} and will not be shown in your comments.

Otherwise if you want to remove the system, looking for system setup and there is a part to enter emoticon key or delete all you want, just in case make a backup of those keys handy if you want to apply to your cutenews back.

Greetings!

I'm using UTF 8 Cutenews fro m ¨Korn9¨ Great Job! and runs fine on local server, the problem is that the upload does not recognize the Captcha image.

The image is displayed correctly, but when inserted in the field does not recognize, it seems that some file is missing captcha check

My index.php where is include code.

Up:

<?PHP
ob_start();
require('./cutenews/captcha/php-captcha.inc.php'); ?>

and include...

<?PHP
$pre_include = ob_get_clean();
$number = "4";
$category = 10;
$template = "Default";
include("cutenews/show_news.php");
?>

capcha folder and I had to change this line code add ./ to display the image

$aFonts = array('./VeraMoBd.ttf');


I think it is path problem, the captcha image is displayed correctly, only fails when typing letters and sending comments, it's like it never recognizes the image.

Not a Cutenews error, you probably have an error in ID or not correctly calls the player.

It is a common mistake of PHP, check the code of index.php in <head> there can be no code before <? Php, also reviews includes.

The error is common when you have <? Php session_start ();?> In the wrong place.

Check  cutephp.com/forum/index.php?showtopic=25853

7

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

Search works on index.php or the main page where you have the code samples Include where the news, but can be modified in the field

<form method="get" self action="index.php?subaction=search">

Where is the website Do index which shows the results.

Where have the Include code search.php?

8

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

There should be a way to work with MYSQL CN but I think it is rather easy to migrate the system and less if you are online, as they would have to change several settings files and could generate multiple errors, as said (LKJ) filed from time to time .

Another small problem I had is that when filing the latest_comments stops working because, when filed, the news with his comments folder change, not if there is a hack for this, I ask out of curiosity, greetings to all!  https://cutephp.com/forum/style_emoticons/default/cool.gif

9

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

I have understood that Cutenews was the option to upload files, you automatically create a link to download counter ...

That Cutenews version you installed?

Tanks! Solved Problem !  https://cutephp.com/forum/style_emoticons/default/biggrin.gif

Is there any way to make the last comment does not disappear when archiving the news?

Another Question: I remember seeing a hack to search news archives,

Thanks in advance greetings!

12

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

It works correctly:

http://moneymattersmerseyside.co.uk/datab/search.php

It has to be an addressing problem...

13

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

I works correctly    https://cutephp.com/forum/style_emoticons/default/smile.gif ,  the problem I have is how to show the news and read them the MYSQL database, and also as to the INCLUDE ...

The problem is how to read from the database to display the news.  https://cutephp.com/forum/style_emoticons/default/huh.gif

Just comment and showed no problems, probably was the template, greetings!

Hello, I installed the hack to display news headlines on the page title.

<?PHP
function title_values($id, $use_category)
    {
                $path = 'cutenews/data';
        if ($use_category)
        {
            $cat_lines = file($path.'/category.db.php');
            foreach ($cat_lines as $cat_line)
                {
                    $cat_array = explode('|', $cat_line);
                    $my_cats[$cat_array[0]] = $cat_array[1];
                }
        }

        $news_lines = file($path.'/news.txt');
        foreach ($news_lines as $news_line)
            {
                $news_array = explode("|", $news_line);
                if ($news_array[0] == $id)
                    {
                        $title = strip_tags($news_array[2]);
                        $description = strip_tags($news_array[3]);

                        if ($use_category and !empty($news_array[6]))
                            {
                                if (strstr($news_array[6], ','))
                                    {
                                        $cat_array = explode(',', $news_array[6]);
                                        foreach ($cat_array as $category)
                                            $category_arr[] = $my_cats[$category];
                                    }
                                else $category_arr = $my_cats[$news_array[6]];
                            }
                    }
            }
        return array ($title, $category_arr, $description);
    }

if (isset($_GET['id']))
    {
        $title_values = title_values($_GET['id'], true);//change true to false if the category doesn't need to be in the titlebar.
        $title = $title_values[0];
        $description = $title_values[2];
        if (is_array($title_values[1])) $cat = ' - '.implode(' - ', $title_values[1]);
        else $cat = ' - '.$title_values[1];

        echo "<title>".$title."".$cat."</title>\n";
        echo "<meta name=\"description\" content=\"".$description."\" />";
    }

else
    {
        echo "<title>Site Name</title>\n";
        echo "<meta name=\"description\" content=\"Default Description\">";
    }
?>

To view the full news {category-url}  is abbreviated, for example.

In Short Story: Video
In Full Story: V

This happens only in full view of the news, what is happening?

I have installed the stars to rate the news, my question is how I can or if there is any news exploid showing more voted, and would fail a hack that shows the most visited news I think is essential in today's websites.

greetings!

I have a single problem with this hack, in full history categories shown abbreviated know why this happens?

eg

Video is shown as V

Only full story happens in not Short History

18

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

Hello which the problem?, The engine URL Add This does not work? What version of cutenews have

Hi!

I dowloaded the Cutenews version from GitHub and the problem was solved!

Moderators: you can delete or close this topic if you want ;]

Vander Hello, very nice site, I like to know how did the method of answering comments, I have it installed but it looks very different, yours looks great, when you reply to a comment left underneath as she does that?

Greetings!

20

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

Hi, a while back there was a hack that sought to files but can not find, install the browser and works perfectly, but the news archive and can not find it.

Is there any way to do this??

Greetings and thanks in advance!

Hi, Change the language of the dates and abbreviations, use a text editor or any PHP editor and opens the file in the folder

<sup>cutenews/inc/functions.inc.php</sup>

(I recommend making a backup before modifying this file),

In the last lines are the dates, change them to your preferred language, double check the code after editing recalls that ; or closing } missing lines can cause problems.

Greetings!

22

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

I visited your site and can not find the problem, paging works correctly

Hello community, I wanted to know if you can add a new field to cutenews user registry, for example, to ask how much is 4 + 4, to avoid some spam.

You could do this?

Greetings and thanks in advance!

I installed the hack and now apparently leaving comments repeated 3 times.

I just want to install a hack to serve responses to the comments are below the comment, and not create a new comnetario, what I do is that the answers are in a thread but I could do with this hack.

Any help thanks in advance greetings

25

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

My version is 1.4.6