Page 1 of 1

Shoutbox/Spam Sciprt

Posted: Mon May 16, 2005 7:14 pm
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.

Posted: Tue May 17, 2005 1:10 pm
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

Posted: Tue May 17, 2005 5:11 pm
by Lisk
ok...
no smiles.
I have a nice shoutbox... but it's... too... just too much -_- need VERY simple.

try with mysql?

Posted: Tue May 17, 2005 5:42 pm
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

Posted: Tue May 17, 2005 8:55 pm
by Lisk
and only have... 50? max posts in the dbase too ;P

you should look @ "sboard shoutbox"
http://www.jivenetworks.com/

Posted: Sun Mar 19, 2006 8:36 am
by znad
thanks lisk
it is a good work

Re: Shoutbox/Spam Sciprt

Posted: Sun Mar 19, 2006 6:40 pm
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???

Posted: Tue Apr 18, 2006 6:00 am
by uz
is there ant script that helps to AVOID those SPAMS?

Posted: Sat Apr 29, 2006 12:52 pm
by Kaky
I have just downloaded smile tag i think it will do great.