Auto Ban For Lavalair

Started on the old forum in April 2007 · view the original in the archive · old links redirect here

19 replies · 1,961 views · started 19 years ago · 1 min read

3 participants
Guest #1

any one with this code willing to help me or share this code with me? pls asap

alesh Lead · 604 posts #3

u mean auto ban when sum1 inbox a site address??

eeeeerrr....

Guest #5

its already in the script

i know its in script but how you activate it because no one got auto ban when they post nor do they see warnig for such offenses

Guest #6

i did not see where the auto ban is on the script so could you paste it here i search core ect. but i dont see it pls help?

alesh Lead · 604 posts #7

i think its in core.php

i edit mine and its working perfectly!!!!!!!!!

God bless 4 tht lol

eeeeerrr....

Guest #8

i think its in core.php i edit mine and its working perfectly!!!!!!!!!

God bless 4 tht lol

Open your core.php and and find function isblocked($str,$sender)

Add the site URL etc u wanna block eg: $sites[x] = "BLOCKED-SITE";

alesh Lead · 604 posts #9

yeah thts it! nd i thnk u already have urls of sites that they r blocked.. ..so u just delete url of site u dnt want it 4 autoban nd write url of site tht u want 2 put on autoban!

eeeeerrr....

Guest #10

Open your core.php and and find function isblocked($str,$sender)

Add the site URL etc u wanna block eg: $sites[x] = "BLOCKED-SITE";

it works perfectly bro thank you very mush bless

alesh Lead · 604 posts #11

while i was downloading all available lavalair scripts at this forum, in 1 of them i found sumthng very interesting stuff for AUTOBAN!!!! lol its a tool 4 adding sites in admin cp... its so much easyer now than writing it in the core constantly... dnt knw who did tht in script but heeey thanx 4 tht!!!!!

eeeeerrr....

wizard Senior · 493 posts #12

while i was downloading all available lavalair scripts at this forum, in 1 of them i found sumthng very interesting stuff for AUTOBAN!!!! lol its a tool 4 adding sites in admin cp... its so much easyer now than writing it in the core constantly... dnt knw who did tht in script but heeey thanx 4 tht!!!!!

thats in my mod m8 but i cant take credit for it. some1 ere gave it to me but i modified it a little. in my funmobile mod u got features like ban username from registering, reserving username, adding / deleting spam words.... u can try d script. u can c d demo @ http://www.funmobile.ws External image (may be gone)

alesh Lead · 604 posts #13

thats in my mod m8 but i cant take credit for it. some1 ere gave it to me but i modified it a little. in my funmobile mod u got features like ban username from registering, reserving username, adding / deleting spam words.... u can try d script. u can c d demo @ http://www.funmobile.ws External image (may be gone)

oh tht was urs??? lol thank u and i thank 4 tht who gave it 2 u lol i found it very useful tool!!!

and i never took a look at tht funmobile script... hmmmm going right away

eeeeerrr....

linkrx7 #15

adding the auto ban is easy i successfully got it on shoutbox, inbox, popups, forums and chat jus use the code from inbox autoban u may hav 2 modify it 4 different site parts but its piece cake lol

alesh Lead · 604 posts #16

hey cn any1 help me 2 adjust autoban 4 shoutbox pls!!!! i tried and i tried but i always get sum error

heres the code in genproc.php

//////////////////////////////////////////shout

else if($action=="shout")
{
  $shtxt = $_POST["shtxt"];
    addonline(getuid_sid($sid),"Shout","");

    echo "<card id=\"main\" title=\"Shout\">";
    echo "<p align=\"center\">";
    if(getplusses(getuid_sid($sid))<75)
    {
        echo "<img src=\"images/notok.gif\" alt=\"X\"/>75 plusses needed!";
    }else{
      $shtxt = $shtxt;
    //$uid = getuid_sid($sid);
    $shtm = time();
    $res = mysql_query("INSERT INTO ibwf_shouts SET shout='".$shtxt."', shouter='".$uid."', shtime='".$shtm."'");
    if($res)
    {
    $shts = mysql_fetch_array(mysql_query("SELECT shouts from ibwf_users WHERE id='".$uid."'"));
    $shts = $shts[0]+1;
    mysql_query("UPDATE ibwf_users SET shouts='".$shts."' WHERE id='".$uid."'");
    echo "<img src=\"images/ok.gif\" alt=\"O\"/>Shout dodan uspjesno";
    }else{
        echo "<img src=\"images/notok.gif\" alt=\"X\"/>Database error!";
    }
            }
         echo "

<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
    echo "</p>";
    echo "</card>";
}

and heres the autoban code from inboxproc.php

if($action=="sendpm")
{
  echo "<card id=\"main\" title=\"Inbox\">";
  echo "<p align=\"center\">";
  $whonick = getnick_uid($who);
  $byuid = getuid_sid($sid);
  $tm = time();
  $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
  $pmfl = $lastpm[0]+getpmaf();
  if($byuid==1)$pmfl=0;
  if($pmfl<$tm)
  {
    if(!isblocked($pmtext,$byuid))
    {
    if((!isignored($byuid, $who))&&(!istrashed($byuid)))
    {
  $res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='".$byuid."', touid='".$who."', timesent='".$tm."'");
  }else{
    $res = true;
  }
  if($res)
  {

    echo "<img src=\"images/ok.gif\" alt=\"O\"/>";
    echo "Pm bla bla 2 $whonick

";
    echo parsepm($pmtext, $sid);
    
  }else{
    echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
    echo "u cnt send pm 2 $whonick

";
  }
  }else{
    $bantime = time() + (7*24*60*60);
    echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
    echo "u cnt send pm 2 $whonick

";
    echo "ur banned";
    mysql_query("INSERT INTO ibwf_penalties SET uid='".$byuid."', penalty='1', exid='1', timeto='".$bantime."', pnreas='Ban. automatic ban!'");
    mysql_query("UPDATE ibwf_users SET plusses='0', shield='0' WHERE id='".$byuid."'");
    mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='".$byuid."', touid='2', timesent='".$tm."'");
  }

i cnt put those 2 2gether... any1 help please

eeeeerrr....

linkrx7 #17

heres my shoutbox code

else if($action=="shout")
{
  $shtxt = $_POST["shtxt"];

    addonline(getuid_sid($sid),"Shouting","");

    echo "<card id=\"main\" title=\"Shout\">";
    echo "<p align=\"center\">";
    if(getplusses(getuid_sid($sid))<75)
    {
    echo "<img src=\"../images/notok.gif\" alt=\"X\"/>You should have at least 75 plusses to shout!

";
    echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo "</p>";
    echo "</card>";
    echo "</wml>";
    exit();
    }
    if(istrashed(getuid_sid($sid)))
    {
    echo "<img src=\"../images/notok.gif\" alt=\"X\"/>
Unknown error cannot shout!
please try again later...

";
    echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo "</p>";
    echo "</card>";
    echo "</wml>";
    exit();
    }else{
    $shtm = time();
    if(!isblocked($shtxt,$uid))
    {
    $res = mysql_query("INSERT INTO ibwf_shouts SET shout='".$shtxt."', shouter='".$uid."', shtime='".$shtm."'");
        echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Shout added successfully";
    }else{
    $bantime = time() + (30*24*60*60);
    echo "<img src=\"../images/notok.gif\" alt=\"X\"/>";
    echo "Can't Post Shout Message

";
    echo "You just shouted a link to one of the crapiest sites on earth
 The members of these sites spam here a lot, so go to that site and stay there if you don't like it here
 as a result of your stupid action:
1. you have lost your sheild
2. you have lost all your plusses
3. You are BANNED!";
        $user = getnick_sid($sid);
    mysql_query("INSERT INTO ibwf_mlog SET action='autoban', details='[b]Wap Desire[/b] auto banned $user for spamming shoutbox', actdt='".time()."'");
    mysql_query("INSERT INTO ibwf_penalties SET uid='".$uid."', penalty='1', exid='2', timeto='".$bantime."', pnreas='Banned: Automatic Ban for spamming for a crap site'");
    mysql_query("UPDATE ibwf_users SET plusses='0', shield='0' WHERE id='".$uid."'");
    echo "</p></card>";
    echo "</wml>";
    exit();
  }
}

         echo "

<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
    echo "</p>";
    echo "</card>";
}
alesh Lead · 604 posts #18

BIG THANX LINKRX7!!!! I C MY MISTAKE NOW!!

btw it will wait lil bit cuz i get hacked 2day freakin TWICE!!!!! lolololololollololololol

they r so freakin jelaous and freakin scared of my site and i got only freakin 10 online users at my site!!!!

stupid ass holes... but they 4got 1 thing.... I WILL FOUND THEM (they wore two) AND 2 ONE ILL STUFF THT F#CKING WAPPY SCRIPT SITE INTO HIS ASS AND 2 OTHER ILL SHOW HOW WE SAVED HIS COUNTRY FROM BEING EXTERMINATED!!!!!! SORRY GUYS BUT U SHOULDNT PUT UR PICS AT UR PROFILES AT UR SITES... IT MADE ME MORE EASYER 2 FOUND UR UGLY RACIST F#UCKN FACE!!!!!!

eeeeerrr....

linkrx7 #19

someones bit angry lol my sites hav never been hacked properly there always the occasional twat that guesses a password but sql backups stop them from being a prob thats why my login logs are not run off sql

alesh Lead · 604 posts #20

someones bit angry lol my sites hav never been hacked properly there always the occasional twat that guesses a password but sql backups stop them from being a prob thats why my login logs are not run off sql

NOPE BRO... THEY DIDNT JUST GUESS PASSWORDS... IT WAS SUMKIND OF TOOL... THEY CHANGE THEIR BROWSERS AND OVER PASS THE BLOCK FILE... AND THEY ENTER INTO MY SITE AS INVISIBLE USER, BUT U CN C THEM AS NEWEST USER... BUT WITHOUT MAKING A NEW ACCOUNT...

NEWEST USER IS: index.php?action=main&sid=$sidWHO ID 304 BLA BLA or sumthng like this and when u click on tht user u cnt ban them cuz u get THE USER DOES NOT EXSIST.... BUT HE IS ALREADY IN UR ADMIN ACCOUNT!!!!!!!!!!!!!

BUT I HAD THEIR REAL IP-s at my c panel

ugh im not a GAY but when ill catch em ILL F#CK THEM UNTILL THEY START 2 PISS BLOOD

oh btw im just working at my site, inproving it etc.. i gave tht site 2 my gf and shes manage it AND THEY R AFRAID OF THE GIRL???????????????? THEY R SCARED OF THE GIRL AND THEY HAD 2 HACK HER??????? I GUESS THEY LIKE HER LOL LOL LOL LOL LOL WELL I KNW THEY READ THIS SO I SAY IF THEY WANNA HAVE GIRLS, THEY HAVE 2 TURN OFF THE COMPUTER AND GO OUTSIDE.... 2 PARTY OR SUMTHNG.... BUT I KNW THEY R SCARED 2 GO OUT BUT I HAVE 2 SAY

THAT WARM FEELING AT UR SHOULDERS AND AT UR HEAD IS JUST A SUN!!!!!!

eeeeerrr....

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close