Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[HACK] Word censor in shoutbox
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-08-16 19:23:30
don't work help me please
Unknown User
2008-08-17 13:07:41
"kevito, post: 45611":
don't work help me please

if you installed the mod correctly then i do not understand why it does not work. did you add some words to be censored? also take a look at the v.2.04 files and compare it to the ones here, because it is working in v.2.04 but it should be basically the same as what it is here.
Unknown User
2008-12-25 16:20:27
Not working, but I got it working.  Here you go:

In functions.php

FIND:

	// Smilies

require_once("smilies.php");

reset($smilies);

while (list($code, $url) = each($smilies))

$s = str_replace($code, "<img border=0 src=" . $site_config['SITEURL'] . "/images/smilies/$url>", $s);





AFTER ADD:





	$r = mysql_query("SELECT * FROM censor");

while($rr=mysql_fetch_row($r))

$s = preg_replace("/".preg_quote($rr[0])."/i", $rr[1], $s);
Unknown User
2012-10-09 18:44:44
backend/smilies

NOT  been tested let me know if working



////////////////// badwords //////////////////

$badwords = array(

"bastard" => "<img src=images/censored.png>",

"dickhead" => "<img src=images/censored.png>",

"cunt" => "<img src=images/censored.png>",

"pissoff" => "<img src=images/censored.png>",

"retard" => "<img src=images/censored.png>",

"wanker" => "<img src=images/censored.png>",

"fuck" => "<img src=images/censored.png>",

"weed" => "<img src=images/censored.png>",

"idiot" => "<img src=images/censored.png>",

"asshole" => "<img src=images/censored.png>",

"bollocks" => "<img src=images/censored.png>",

"bullshit" => "<img src=images/censored.png>",

"cock" => "<img src=images/censored.png>",

"Breast" => "<img src=images/censored.png>",

"dyke" => "<img src=images/censored.png>",

"assface" => "<img src=images/censored.png>",

"blowjob" => "<img src=images/censored.png>",

"beaner" => "<img src=images/censored.png>",

"bollox" => "<img src=images/censored.png>",

"cockjockey" => "<img src=images/censored.png>",

"dumbfuck" => "<img src=images/censored.png>",

"bitch" => "<img src=images/censored.png>",

"bitchtits" => "<img src=images/censored.png>",

"pirate" => "<img src=images/censored.png>",

"buttfucker" => "<img src=images/censored.png>",

"bitchass" => "<img src=images/censored.png>",

"cockmonkey" => "<img src=images/censored.png>",



//////////// badwords ////////////

);




reset($badwords);

while (list($code, $url) = each($badwords))

$s = str_replace($code, "$url", $s);




function format_comment($text, $strip_html = true)

{

global $smilies, $privatesmilies, $badwords;

$s = $text;


censored.png
censored.png
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728