PDA

View Full Version : Cutenews Hoster BETA



Luckyrare
01-01-2006, 07:52 PM
Cutenews Hosting! - Cutenewser as Tim says

Just leave your name here if you are using it/supporting it!

The beta was rushed, I will get all things sorted for the main version...

Many thanks to...
Myself - My idea and the creator
Tim - Hosting it for me, doing the interface and supporting my idea
Sygon - Linking me to the the files to unzip.
Nets - He helped me, kinda :p
HotelMentor - He tryed to help with CSS, Tim stole his job.

I will finish cutenews edits soon, hopefully by Tuesday.

http://www.tim-rogers.co.uk/danny/ (http://tim-rogers.co.uk/danny/)

Please use your correct email otherwise I will delete it </3

ERRORS THIS WAY - TELL ME!

the wombats
01-01-2006, 07:57 PM
Oh erm:


An error occured. The page you requested could not be found at Tim Rogers Blog. You tried to get to this page (/danny/start.php) from http://www.habboxforum.com/showthread.php?t=135712 but failed. You were using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 as your browser. Your IP address is 62.254.64.13 Contact [email protected] showing this error in the email

Luckyrare
01-01-2006, 07:58 PM
Oh erm:

I put the wrong link, thanks.

Owen
01-01-2006, 07:58 PM
You got me to come on here for an error O_O!

Edit: Ok, you edited it :P

the wombats
01-01-2006, 08:00 PM
Name: Bobboid :D:P
Email: *Add Danny's emaill here* :p

Luckyrare
01-01-2006, 08:01 PM
You got me to come on here for an error O_O!

Edit: Ok, you edited it
But now i you get the thing saying "Please delete the installer"
Don't like that ;[

Press try to delete... And ta da.

Owen
01-01-2006, 08:03 PM
danny/mum19:58:41

Time
What happens if i register with the same name at the same time tomorrow? :O

Steven.
01-01-2006, 08:05 PM
That looks preety dam neet, is this script going to be released? :o

Luckyrare
01-01-2006, 08:05 PM
Lmao, well you can try get the same second... Upto you :P I may need to change that...


$user$hit

Owen
01-01-2006, 08:06 PM
Lmao, well you can try get the same second... Upto you :P I may need to change that...


$user$hit

Indeed
Could cause havvoc :P

Splinter
01-01-2006, 08:06 PM
doubt you would get the seconds perfect :p but thats really nice danny.. well done.

Luckyrare
01-01-2006, 08:06 PM
Lmao, well you can try get the same second... Upto you :P I may need to change that...


$user$hit


That looks preety dam neet, is this script going to be released? :o

I am not giving the source away... I may give it to someone if I dont use it.


doubt you would get the seconds perfect but thats really nice danny.. well done.

Thanks </3

Steven.
01-01-2006, 08:08 PM
ok ^_^ i would of used it on stevena.co.uk when i upload all the pages ;p

Splinter
01-01-2006, 08:09 PM
Its not exactly the hardest thing to code if you know how but this will be useful to loads of people..

Steven.
01-01-2006, 08:11 PM
Yes, you wont get people "PLS CAN U INSTALL MY CUTENEWZZ" :rolleyes:

Invent
01-01-2006, 08:18 PM
Lol. I made the same code about 4 Months earlier. Never thought of posting it on here :(

:Blob
01-01-2006, 08:19 PM
Danny, you forgot me for the code, remember? And g on msn

Edit: No you've put me as Sygon :P its Ryan (Sygons not me)

Luckyrare
01-01-2006, 08:23 PM
Danny, you forgot me for the code, remember? And g on msn

Edit: No you've put me as Sygon :P its Ryan (Sygons not me)

O NO! I will get someone to change it... It was your messenger name that made me do that :P

timROGERS
01-01-2006, 08:24 PM
This took us quite a long time, originally it was going to contain confirmation emails but I was having difficulty making a working mailer, it was giving an annoying undetailed error.

I did do a nice interface for it, which has broken for some reason, I am attempting to fix it :P The interface is at http://www.tim-rogers.co.uk/danny/timindex.php

:Blob
01-01-2006, 08:28 PM
Its nice now lol :D


Danny, you going on msn?

Luckyrare
01-01-2006, 08:30 PM
*Is on msn* *Can't get post edited*

:Blob
01-01-2006, 08:32 PM
Request Mod to do it :D

Invent
01-01-2006, 08:34 PM
My code is very ****** and well its using the older version of cutenews. If I have time I will update the code and post it.

Luckyrare
01-01-2006, 08:37 PM
Lol,

Updates I need to do

- if email and site name are blank, leave a error message.
- email is sent to the email, to stop people puting fake emails
- Add credits onto cutenews

Stuff tim is doing...

- Done interface </3
- Changing time to random number 1-100000

timROGERS
01-01-2006, 08:38 PM
Updated at 8:35pm

Added:

Blue and White Interface
Random Numbers instead of Date

nets
01-01-2006, 08:48 PM
I don't know how I helped you, but thanks for mentioning me none the less.



$hit
Don't swear please.

:Blob
01-01-2006, 08:51 PM
I don't know how I helped you, but thanks for mentioning me none the less.


Don't swear please.

Lol :D ;D ;D ;D :D

Luckyrare
01-01-2006, 08:54 PM
Don't swear please.

Lmao woops. I did not mean to ;P

$count ;P

Coding4Newbs
02-01-2006, 10:01 AM
Thats really awesome, well done

Carlsta
02-01-2006, 10:05 AM
aceeeeee!!

iAdam
02-01-2006, 10:09 AM
Im tryin it now hang on.

EDIT: Good work but the smilie images wont work where you slect them :D .

Tomm
02-01-2006, 10:11 AM
Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 66

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 68

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 70

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 72

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 74

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 76

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 78

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 80

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 82

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 84

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 86

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 88

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 90

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 92

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 94

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 96

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 98

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 100

Warning: chmod(): No such file or directory in /home/rogers/public_html/danny/create.php on line 102

timROGERS
02-01-2006, 10:18 AM
That error seems to happen sometimes, if you wait a minute or two it normally fixes :P

iAdam
02-01-2006, 10:19 AM
Happened to me just press back and try again.

Seems to happen more when you dont fill in all the form.

timROGERS
02-01-2006, 10:20 AM
Well, you do need to fill them in lmao :P

Luckyrare
02-01-2006, 10:40 AM
I need some help


if ($user == ""){
echo "Please enter your sitename";

How can I use like "ifelse" to show the rest of the coding?

Tomm
02-01-2006, 10:48 AM
if isset($_GET['user']){
//code if user exsists
}

Luckyrare
02-01-2006, 11:26 AM
Can you guys tell me how you get this error?

Splinter
02-01-2006, 01:01 PM
Ok so you want to make sure the form is filled in then use..


if((!$user) or (!$email)) {
echo "You have not filled in the form properly please go back and try again!";
exit(); //Stops rest of the script running
}

Luckyrare
02-01-2006, 01:48 PM
Thanks Splinter & Tomdarkness rep added ;)

Added to cutenewser ;P

KCMac
02-01-2006, 01:53 PM
:P Lovley script

Tomm
02-01-2006, 01:58 PM
Also this makes sure the user has entered a valid email:

Between your <head> tags add this:


<script type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_valida teForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
}
//-->
</script>

And inside your form tag add this:


onsubmit="MM_validateForm('textfield','','NisEmail');return document.MM_returnValue"

timROGERS
02-01-2006, 02:01 PM
We'll be getting a domain soon, once Danny manages to allow the CHMOD command on his dedicated server ;)

timROGERS
02-01-2006, 02:45 PM
Updates

Added Validation
Going to Add Symbol Removal

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