PDA

View Full Version : Guestbook



nets
29-12-2005, 10:56 PM
I've finished coding my guestbook script, I'm going to give it a nice layout though soon.

http://joshh.co.uk/examples/guestbook/index.php
Find errors etc please, I might release the script later.

Functions:

A BB Code text editor (Coded in JavaScript)
Gets date of when it was installed
Doesn't require MySQL to work
Knows how many entries there are
Pretty easy to install

Steven.
29-12-2005, 10:58 PM
Marquee is not working in FF. :)

nets
29-12-2005, 11:00 PM
Marquee is not working in FF. :)
I'm gonna look into it, marquee seems to be working fine in IE.

Digital
29-12-2005, 11:06 PM
Works fine :O tis cool


- De

Steven.
29-12-2005, 11:06 PM
Date Installed; Thu,Dec,2005 What Thursday was that? :P

nets
29-12-2005, 11:10 PM
Date Installed; Thu,Dec,2005 What Thursday was that? :P
I'll sort it out now.

Steven.
29-12-2005, 11:11 PM
rofl, well you said report bugs? :P

nets
29-12-2005, 11:30 PM
Fixed the date.
Aligned it left.
Fixed Marquee.

Pawf
29-12-2005, 11:41 PM
Pretty neat, however make it so that you can highlight a bit of text to make bold/italic/marquee :)

Dan Williamson
29-12-2005, 11:48 PM
Well done Josh.

10/10 keep them coming.

- Dan

Luckyrare
30-12-2005, 07:49 AM
Very good work...
You could work on word filtering?

10/10 ;)

nets
30-12-2005, 11:47 AM
Very good work...
You could work on word filtering?

10/10 ;)
I don't see much point as it is easy to avoid, but if anyone wanted to add it they would just need to add this before the message gets submitted.

$abusive_language = array("swear1","swear2","swear3","swear4");
$message = str_replace($abusive_language,"[Word Removed]",$message);

ozzie-ing
30-12-2005, 11:53 AM
good work rofl some1s pretended there nelly

Anderman
30-12-2005, 12:26 PM
Its pretty good,
I still think you should of used mysql

Luckyrare
30-12-2005, 02:22 PM
I don't see much point as it is easy to avoid, but if anyone wanted to add it they would just need to add this before the message gets submitted.

$abusive_language = array("swear1","swear2","swear3","swear4");
$message = str_replace($abusive_language,"[Word Removed]",$message);

mmmmm, Iam sure if you use * around the words it stops people from puting ' ect...

I may be wrong ;)

nets
30-12-2005, 03:57 PM
I've made a nice new layout for it.



mmmmm, Iam sure if you use * around the words it stops people from puting ' ect...

I may be wrong ;)
I think you're thinking of forums, but there might be a wild card.

Anderman
30-12-2005, 04:20 PM
Yea,
You would have to create your own script for that
Not steal it of IPB

Nice skin btw

nets
30-12-2005, 08:56 PM
I've just reinstalled the guestbook, so all those stupid posts are now gone.
Also I've added some "extra" security, try and use the name admin :']

Tomush
30-12-2005, 08:59 PM
I've just reinstalled the guestbook, so all those stupid posts are now gone.
Also I've added some "extra" security, try and use the name admin :']

Ha, Guess who took your advice :']

nets
30-12-2005, 09:01 PM
Ha, Guess who took your advice :']
Muahaha

Tomush
30-12-2005, 09:06 PM
Muahaha

How long is it, The free money that is ;)

nets
30-12-2005, 09:21 PM
How long is it
How long is what? The ban?
Permanent IP ban, but I'll unban you lol..

Tomush
30-12-2005, 09:30 PM
How long is what? The ban?
Permanent IP ban, but I'll unban you lol..

:o Ban, hes lieing guys, if you put your name as admin, you dont banned :eusa_whis

Rob
30-12-2005, 09:38 PM
Nice guestbook, lovely layout :)

Tomush
30-12-2005, 10:09 PM
88.105.6.129 is my ip according to your sig..

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