Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Feb 2005
    Location
    coventry
    Posts
    27
    Tokens
    0

    Default Cutenews :S:S Help Me SomeOne Please!!!

    Hey i need help, i have set everything up on server i can get on cutenews but i cant get the news to show on my site.

    Could some1 add me on msn and make 1 and set it me?

    PLEASE
    Habsmash Opening Soon.

  2. #2
    Join Date
    Aug 2004
    Location
    Essex
    Posts
    23,585
    Tokens
    9,258

    Latest Awards:

    Default

    Have you read the read me and put the coding on the page you wish it to show up on your site?

  3. #3
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default



    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  4. #4
    Join Date
    Feb 2005
    Location
    coventry
    Posts
    27
    Tokens
    0

    Default

    Yea I Read It. Where Abouts Do I Put The .Php Bits?
    I Entered http://www.habsmash.octopus.uni.cc/c.../show_news.php into the iframe and it said:

    CuteNews has detected that you are including show_news.php using the URL to this file.
    This is incorrect and you must include it using the PATH to show_news.php


    Example:
    this is WRONG : <?PHP include(\"http://yoursite.com/cutenews/show_news.php\"); ?>
    this is CORRECT: <?PHP include(\"cutenews/show_news.php\"); ?>


    // if you think this message shouldn't be shown, open show_news.php and delete it from there"); } //---------------------------------- // End of the check //---------------------------------- if(!isset($subaction) or $subaction == ""){ $subaction = $POST["subaction"]; } if(!isset($template) or $template == "" or strtolower($template) == "default"){ require_once("$cutepath/data/Default.tpl"); } else{ if(file_exists("$cutepath/data/${template}.tpl")){ require_once("$cutepath/data/${template}.tpl"); } else{ die("Error!
    the template ".htmlspecialchars($template)." does not exists, note that templates are case sensetive and you must write the name exactly as it is"); } } // Prepare requested categories if(eregi("[a-z]", $category)){ die("Error!
    CuteNews has detected that you use \$category = \"$category\"; but you can call the categories only with their ID numbers and not with names
    example:

    <?PHP
    \$category = \"1\";
    include(\"path/to/show_news.php\");
    ?>
    "); } $category = preg_replace("/ /", "", $category); $tmp_cats_arr = explode(",", $category); foreach($tmp_cats_arr as $key=>$value){ if($value != ""){ $requested_cats[$value] = TRUE; } } if($archive == ""){ $news_file = "$cutepath/data/news.txt"; $comm_file = "$cutepath/data/comments.txt"; }else{ $news_file = "$cutepath/data/archives/$archive.news.arch"; $comm_file = "$cutepath/data/archives/$archive.comments.arch"; } $allow_add_comment = FALSE; $allow_full_story = FALSE; $allow_active_news = FALSE; $allow_comments = FALSE; //<<<------------ Detarime what user want to do if( $CN_HALT != TRUE and $static != TRUE and ($subaction == "showcomments" or $subaction == "showfull" or $subaction == "addcomment") and ((!isset($category) or $category == "") or $requested_cats[$ucat] == TRUE) ){ if($subaction == "addcomment"){ $allow_add_comment = TRUE; $allow_comments = TRUE; } if($subaction == "showcomments") $allow_comments = TRUE; if(($subaction == "showcomments" or $allow_comments == TRUE) and $config_show_full_with_comments == "yes") $allow_full_story = TRUE; if($subaction == "showfull") $allow_full_story = TRUE; if($subaction == "showfull" and $config_show_comments_with_full == "yes") $allow_comments = TRUE; } else{ if($config_reverse_active == "yes"){ $reverse = TRUE; } $allow_active_news = TRUE; } //----------->>> Detarime what user want to do require("$cutepath/inc/shows.inc.php"); if($_GET['archive'] and $_GET['archive'] != ''){ $archive = $_GET['archive']; } // stupid fix ? unset($static, $template, $requested_cats, $category, $catid, $cat,$reverse, $in_use, $archives_arr, $number, $no_prev, $no_next, $i, $showed, $prev, $used_archives); ?>

    And He Said To Put www.yoursite.com/cutenews/show_news.php and that says not to put it. :S
    Habsmash Opening Soon.

  5. #5
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Lol ok. That dosent work like that. Create a separate file called news.php and add this to it <?PHP include("cutenews/show_news.php"); ?> then use this to get to your news. Its the improved way of doing it because you can easilly add objects around the news or add css to it etc =]


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  6. #6
    Join Date
    Feb 2005
    Location
    coventry
    Posts
    27
    Tokens
    0

    Default

    put that where? on server?
    Habsmash Opening Soon.

  7. #7

    Default

    You're site is going to be misery to the eyes so nobody should bother helping you.

  8. #8
    Join Date
    Feb 2005
    Location
    coventry
    Posts
    27
    Tokens
    0

    Default

    hmm my site? I Dont Belive You Have Seen It Have You? NO You Aint. And It Will Be Good Pll Already Go On It Well The Version 1
    Habsmash Opening Soon.

  9. #9
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Put it in your main directory I.e where your index is


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  10. #10
    Join Date
    Feb 2005
    Location
    coventry
    Posts
    27
    Tokens
    0

    Default

    Ok Splinter Cell Your Wicked For Helping Me
    Habsmash Opening Soon.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •