Hi All,
I am looking for a way to wrap the text of my news around images.

At the moment, I am only able to post images in "horizontal blocks" between paragraphs. Is it possible (for example) to have an image aligned to the right and have text surrounding the picture (to the left)?

Thank you

Yep. Tested and working fine.

Good work Damoor. I appreciate it.

P.S. if you could also help with the other question I had ([HELP] [HACK] Automated Short Story) it would be awesome!

Damoor, thank you for this.

As you suggested, I created a subfolder and successfully protected it using .htaccess/.htpsswd

Now I have a folder structure similar to this:

/ROOT/
|- index.php
|- news.php (newspage - not protected)
|--/news/
|--/news/<cutenews> (CN admin panel)
|--/private/
|--/private/news.php (copy of newspage - protected)

The next step is to update the $PHP_SELF variable. Can you confirm I should make the update as per below?

No changes to this block

<?php

    require_once("news/core/init.php");

    // Play with settings --------------------------------------------------
    $pw = REQ('pw');
    
    if (isset($pw['PHP_SELF'])&&$pw['PHP_SELF']) $PHP_SELF = $pw['PHP_SELF'];
    if (isset($pw['template'])&&$pw['template']) $template = $pw['template'];

    if (isset($pw['start_from'])&&$pw['start_from']) $start_from = $pw['start_from'];
    if (isset($pw['number'])&&$pw['number']) $number = $pw['number'];
    if (isset($pw['archive'])&&$pw['archive']) $archive = $pw['archive'];
    if (isset($pw['category'])&&$pw['category']) $category = $pw['category'];
    if (isset($pw['ucat'])&&$pw['ucat']) $ucat = $pw['ucat'];
    if (isset($pw['sortby'])&&$pw['sortby']) $sortby = $pw['sortby'];
    if (isset($pw['dir'])&&$pw['dir']) $dir = $pw['dir'];
    if (isset($pw['page_alias'])&&$pw['page_alias']) $page_alias = $pw['page_alias'];
    if (isset($pw['tag'])&&$pw['tag']) $page_alias = $pw['tag'];
    if (isset($pw['user_by'])&&$pw['user_by']) $user_by = $pw['user_by'];

    if (isset($pw['static'])&&$pw['static']) $static = $pw['static'];
    if (isset($pw['reverse'])&&$pw['reverse']) $reverse = $pw['reverse'];
    if (isset($pw['only_active'])&&$pw['only_active']) $only_active = $pw['only_active'];
    if (isset($pw['no_prev'])&&$pw['no_prev']) $no_prev = $pw['no_prev'];
    if (isset($pw['no_next'])&&$pw['no_next']) $no_next = $pw['no_next'];
    // ---------------------------------------------------------------------

    if (isset($_GET['do'])&& $_GET['do'] == "rss") include("rss.php");
?>

Changes below

            <div class="pagedata">
                <?php

                /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Here we decide what page to include
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
                if (isset($_GET['search'])&&$_GET['search'])
                {
                    $PHP_SELF = "private/news.php";
                    include ("news/search.php");
                }
                elseif (isset($_GET['do'])&&$_GET['do'] == 'archives')
                {
                    $PHP_SELF = "private/news.php";
                    include ("news/show_archives.php");
                }
                elseif (isset($_GET['do'])&&$_GET['do'] == "stats")
                {
                    echo "You can download the stats addon and include it here to show how many news, comments ... you have"; // include("$path/stats.php");
                }
                else
                {
                    $PHP_SELF = "private/news.php";
                    include ("news/show_news.php");
                }

                ?>
            </div>

Hi Team,
I would like to implement a way to username/password protect the news on my site.

What I want is to have the page with all the "Short Articles" available to everyone (no login required), however, when a user clicks on a specific news, the user is prompted to insert username and password before reading the "Long Article".

Ideally, the system would generate a session cookie (not persistent) in a way that a user is not requested to type username and password every single time an article is opened.

Any suggestions?

That's perfect, Tisat. Thank you!

I have noticed that the header does not resize based on the image size. For this reason, I am using an image that is 50px height.

Once again, thank you!

Hi Team,
I am trying to add a static image to the Header of the Admin Area.

Ideally, I want to show the same image (static) across all pages of the Admin Area. Refer to the attached file: the image should appear where the red box is.

Any suggestions?

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.