PDA

View Full Version : Cutenews :S:S Help Me SomeOne Please!!!



jimbob3050
28-08-2005, 01:20 PM
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

GommeInc
28-08-2005, 01:22 PM
Have you read the read me and put the coding on the page you wish it to show up on your site?

splintercell!
28-08-2005, 01:25 PM
or use this tut :) http://www.habboxforum.com/showthread.php?t=22059

jimbob3050
28-08-2005, 02:52 PM
Yea I Read It. Where Abouts Do I Put The .Php Bits?
I Entered www.habsmash.octopus.uni.cc/cutenews/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

splintercell!
28-08-2005, 02:56 PM
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 =]

jimbob3050
28-08-2005, 03:12 PM
put that where? on server?

NEONvelvet
28-08-2005, 03:12 PM
You're site is going to be misery to the eyes so nobody should bother helping you.

jimbob3050
28-08-2005, 03:15 PM
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

splintercell!
28-08-2005, 03:15 PM
Put it in your main directory I.e where your index is :)

jimbob3050
28-08-2005, 03:17 PM
Ok Splinter Cell :D Your Wicked For Helping Me :P

jimbob3050
28-08-2005, 03:19 PM
what do u mean add this to it?<?PHP include("cutenews/show_news.php"); ?> Make A File Called <?PHP include("cutenews/show_news.php"); ?>

?

:Lemmings.
28-08-2005, 03:22 PM
Just off topic but i checked your main site.

You really need to sort your coding out.


<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Habsmash V2</title>
</head>
<body text="#000000" bgcolor="#000000" link="#000000" vlink="#000000" alink="#000000">
</body>
</html>
<div id="Layer1" style="position:absolute; width:202; height:500; z-index:1; left:6; top:8">
<img border="0" src="Habs%20v2%20nav.PNG" width="194" height="500"><div id="Layer2" style="position:absolute; width:617; height:264; z-index:1; left:204; top:133">
<img border="0" src="Habs%20v2%202Main.PNG" width="617" height="260">

<div id="Layer2" style="position:absolute; width:744; height:127; z-index:1; left:0; top:-127">
<img border="0" src="habsmash%20offical%20v2%20banner.PNG" width="744" height="123">

<div id="Layer4" style="position:absolute; width:141; height:100; z-index:1; left:-200; top:495">
<img border="0" src="habs%20v2%20vistors.PNG" width="176" height="97">

<div id="Layer5" style="position:absolute; width:152; height:91; z-index:1; left:817; top:-366">
<img border="0" src="habs%20v2%20radio.PNG" width="152" height="87">

<div id="Layer6" style="position:absolute; width:156; height:385; z-index:1; left:-1; top:90">
<img border="0" src="habs%20v2%20Links.PNG" width="152" height="385">

<div id="Layer7" style="position:absolute; width:617; height:122; z-index:1; left:-618; top:165">
<img border="0" src="Habs%20v2%20Main%20other2.PNG" width="617" height="215">

<div id="Layer8" style="position:absolute; width:95; height:52; z-index:1; left:642; top:-125">

<div id="Layer9" style="position:absolute; width:95; height:52; z-index:1; left:2; top:49">

<div id="Layer10" style="position:absolute; width:118; height:52; z-index:1; left:-5; top:48">

<div id="Layer11" style="position:absolute; width:121; height:209; z-index:1; left:-8; top:-103">
<p style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt">
<font face="Verdana" size="1">
<a href="http://www.habbopaper.co.uk/" target="_blank">
<img alt="habbopaper" src="http://images.habbohotel.co.uk/c_images/album182/habbopaper.gif" border="0" width="120" height="38"></a><a href="http://v-habbo.com/" target="_blank"><img alt="vhabbo" src="http://images.habbohotel.co.uk/c_images/album182/vhabbo.gif" border="0" width="120" height="38"></a><a href="http://www.habbodemand.com/" target="_blank"><img alt="habbodemand" src="http://images.habbohotel.co.uk/c_images/album182/habbodemand.gif" border="0" width="120" height="38"></a></font><a href="http://www.yourhabbo.co.uk/" target="_blank"><img src="http://images.habbohotel.co.uk/c_images/album246/YourHabbo1.gif" border="0" width="121" height="57"></a><a href="<A href="http://www.habsmash.octopus.uni.cc"><img">http://www.habsmash.octopus.uni.cc"><img border="0" src="links%20us%204.PNG" width="125" height="40"></a><a href="http://www.habbodown.com/" target="_blank"><img hspace="0" src="http://images.habbohotel.co.uk/c_images/album246/hdlink.gif" border="0" width="118" height="41"></a><font face="Verdana" size="1"><a href="http://www.habboforum.com/" target="_blank"><img alt="habboforum" src="http://images.habbohotel.co.uk/c_images/album182/habboforum.gif" border="0" width="120" height="38"></a></font><a href="<A href="http://www.octopus8.net"><img">http://www.octopus8.net"><img border="0" src="Habsma1.jpg" width="37" height="38"></a>

<div id="Layer12" style="position:absolute; width:100; height:38; z-index:1; left:-798; top:280"><IMG src="http://counters.freewebs.com/Members/Counters/counter.jsp?userid=14324237&name=Habsmash">

<div id="Layer13" style="position:absolute; width:50; height:38; z-index:1; right:-330; top:-303">

<div id="Layer14" style="position:absolute; width:154; height:456; z-index:1; left:-394; top:-185">
<p><img border="0" src="lamp.gif" width="12" height="11"><font face="Verdana"><a href="Habsmash%20V2%20Home.htm" style="text-decoration: none; font-weight: 700">Home</a></font></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Forum</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11"><a style="text-decoration: none" href="Habsmash%20V2%20Alterations.htm">Alterations</a></font></b></p>
<p></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Radio</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">News</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Article
</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Rare
Values</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Habbo
Hotels</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Fan
Sites </font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Job
Apps</font></b></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Downloads</font></b></p>
<p></p>
<p><b><font face="Verdana">
<img border="0" src="lamp.gif" width="12" height="11">Contact
Us</font></b></p>
<p></p>
<p>

<div id="Layer16" style="position:absolute; width:244; height:24; z-index:1; lright:-393; top:345; left:343">
<font color="#FFFFFF">What's Going On, In Habsmash Today?</font>

<div id="Layer17" style="position:absolute; width:544; height:195; z-index:1; left:-144; top:-218">
<font face="Arial Black">Welcome To Habsmash, We Are a Fan Site Here To
Entertain You Habbo's, If You Not A Habbo You Can Sign Up Here.</font>

<p><font face="Arial Black">If You Would Like To Work Here All You Have
To Do Is, Click On Job Apps&nbsp; And Fill The Form In Or You Can Go On
The Forum And Sign Up, As In The Jobs Section. You Might&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Not Get The Job, But Might As Well Try. </font></p>
<p><font face="Arial Black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Jimbob3005 And Flametale</font> </p>

<div id="Layer18" style="position:absolute; width:80; height:80; z-index:1; left:518; top:9">
<a onclick="openClient2(this.href, this.target); window.status='Check In!'; return false;" href="http://www.habbohotel.co.uk/habbo/en/common/habbo_client/client_popup/?t=1125136682839" target="client">
<img alt="Check in!" src="http://www2.habbohotel.co.uk/homepage/images/homepage/com/check_in_2.gif" border="0" width="80" height="80"></a>

<div id="Layer19" style="position:absolute; width:65; height:122; z-index:1; left:-16; top:89">
<img border="0" src="Jimbob3005.PNG" width="61" height="93">

<div id="Layer20" style="position:absolute; width:918; height:88; z-index:1; left:-705; top:338">
<p align="center"><font face="Verdana" color="#ffffff" size="1">
Disclaimer:<br>
Habbo®, Habbo Hotel®, Sulake and associated logos are trademarks
of Sulake Group. All rights reserved. Copyright, trademarks and
other rights in the material from Habbo Hotel® and other services
of Sulake Group on this website are owned by Sulake Group. All
rights reserved.<br>
<br>
This website is neither owned nor operated by Sulake Group and it
is not part of Habbo Hotel® or any other service or website owned
or operated by Sulake Group. Sulake Group are not responsible for
any content on this website and the views and opinions expressed
herein are not necessarily the views and opinions of Sulake
Group.</font>

Have </Html> as the very end tag.

jimbob3050
28-08-2005, 03:24 PM
why have that at end?

Plus how Did You Get That Info From The Site Source. Or Did You Download My Site Witch Would Be Copyright.

:Lemmings.
28-08-2005, 03:27 PM
Because thats where it goes. As your closing the html document.

splintercell!
28-08-2005, 05:45 PM
Ok make a file called news.php and in it put this:

<?php include("cutenews/show_news.php"); ?>
ok ? "/

Sam
28-08-2005, 06:19 PM
Ja or you should have a content box where you put all the writing such as welcome to my site! create a file called news.php then add the coding for your main site on it then in the content box on that page, add the code <?PHP include(\"cutenews/show_news.php\"); ?> then any news you write will appear in the content box ind NOT take up a whole page Pretty cool huh?

Sam
28-08-2005, 06:20 PM
Then put the link to the page on your navigation

Sam
28-08-2005, 06:21 PM
Example:- http://www.habbo-wide.net/UK/then click news lol

мϊкэ
28-08-2005, 06:23 PM
Just off topic but i checked your main site.

You really need to sort your coding out.



Have </Html> as the very end tag.


"/ looking at that source
1. Your hotlinking images from habbohotel
2. You havent sliced your layout your just overlaping aload of images apparently
3. You have made ALOT of mistakes...

Sorry .

Also...
Linktwist you triple posted! WTH!

And...

why have that at end?

Plus how Did You Get That Info From The Site Source. Or Did You Download My Site Witch Would Be Copyright.

its not breaching copyright unless he uses it himself, plus you havent registered the site with the copyright office .. so its not officially copyrighted

Finally ...
On the alts page you did NOT make some of those alts they are stolen

Sam
28-08-2005, 06:25 PM
Lol soz bout that

splintercell!
28-08-2005, 06:38 PM
its not breaching copyright unless he uses it himself, plus you havent registered the site with the copyright office .. so its not officially copyrighted

actually thats only in america. International law states if you make it you own the copyright.

мϊкэ
28-08-2005, 06:45 PM
OMG really :@ thats a pretty stupid law how many arguments would it cause! if youve registered it youve got proof "/

Honest man - "I made it first"
Ripper - "No i made it first"

with that law

Honest man - "I made it first"
Ripper - "No i made it first"
Honest man - "I registered it with the copyright office"
Ripper - "Oh ****! *runs*"

:Lemmings.
29-08-2005, 04:37 AM
:o I didn't notice he was hotlinking images.

Mentor
29-08-2005, 10:16 AM
i dont get the dispute, copyright laws, are taken from where ever the owner of the copyright that was breached is located, so propbably would be uk copyrioght law, wich is autmatic, and anyone who cairs to can easly find the age of a website wich is first bla bla bla.

No downloading someones site, viewing the sorce is not a breach of copyright, but takeing the sorce useing it on another site clameing it was mine bla bla bla would be "/

but as there isnt any of this, theres no dispute to start with "/

ps. hotlinking aka band width stealing is a crime thogh.

Want to hide these adverts? Register an account for free!