Shoutbox/Spam Sciprt

Any problem with PHP can be disscused here
Post Reply
User avatar
Lisk
Posts: 327
Joined: Sat Mar 05, 2005 4:47 pm
Contact:

Shoutbox/Spam Sciprt

Post by Lisk »

Yeah, I need a -simple- shoutbox script
since, I'm too nooby to write it myself --; You can do the work for me

what it should do:

form: name
form: text

write "name||text" to file sbox.dat
must not be more than 30 messages
it should read and output messages in a simple "Name: text" style
no backgrounds

simple bbcodes:

Code: Select all

	$message = str_replace("[url]","[<a href=\"",$message);
	$message = str_replace("[/url]","\" target=\"_blank\">www</a>]",$message);
	$message = str_replace("[mail]","[<a href=\"mailto:",$message);
	$message = str_replace("[/mail]","\">@</a>]",$message);
	$message = str_replace("[b]","[b]",$message);
	$message = str_replace("[/b]","[/b]",$message);
	$message = str_replace("[u]","<u>",$message);
	$message = str_replace("[/u]","</u>",$message);
	$message = str_replace("[i]","[i]",$message);
	$message = str_replace("[/i]","[/i]",$message);
No, I couldn't find anything THAT simple on the net.
ThankQ.


Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

why you dont want shoutbox with mysql, it would be easier. If you would like, i could give you shoutbox with smilies and i could add phpbb code support
http://www.hotscripts.com/ here you REALY find what you are looking for. It is difficult for me to work with simple file
Image
User avatar
Lisk
Posts: 327
Joined: Sat Mar 05, 2005 4:47 pm
Contact:

Post by Lisk »

ok...
no smiles.
I have a nice shoutbox... but it's... too... just too much -_- need VERY simple.

try with mysql?
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

ok, so now i would like to know few things:
no smilies
generate links using phpbb code
format text using phpbb code (bold italic and underline)
and ok, if it will not use text file, but use mysql
show only 30 last posts
???
If everything is right, notify me, and i'll do it for u
Image
User avatar
Lisk
Posts: 327
Joined: Sat Mar 05, 2005 4:47 pm
Contact:

Post by Lisk »

and only have... 50? max posts in the dbase too ;P

you should look @ "sboard shoutbox"
http://www.jivenetworks.com/
znad
Posts: 250
Joined: Sat Oct 01, 2005 3:12 pm

Post by znad »

thanks lisk
it is a good work
boyvnca
Posts: 170
Joined: Mon Mar 13, 2006 10:46 pm

Re: Shoutbox/Spam Sciprt

Post by boyvnca »

Lisk wrote:Yeah, I need a -simple- shoutbox script
since, I'm too nooby to write it myself --]
$message = str_replace("","[<a href=\"",$message);
$message = str_replace("
","\" target=\"_blank\">www</a>]",$message);
$message = str_replace("[mail]","[<a href=\"mailto:",$message);
$message = str_replace("[/mail]","\">@</a>]",$message);
$message = str_replace("","",$message);
$message = str_replace("
","
",$message);
$message = str_replace("","<u>",$message);
$message = str_replace("
","</u>",$message);
$message = str_replace("","",$message);
$message = str_replace("
","
",$message);
[/code]

No, I couldn't find anything THAT simple on the net.
ThankQ.

these script is for forum or website???
uz
Posts: 140
Joined: Sat Dec 24, 2005 5:32 pm

Post by uz »

is there ant script that helps to AVOID those SPAMS?
Kaky
Posts: 274
Joined: Tue Apr 18, 2006 7:43 pm

Post by Kaky »

I have just downloaded smile tag i think it will do great.
Image

A funny picture -------> me , myself and i (too much for this world)
Post Reply