Lavalair patchwork

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by Storm View Post
    I want to learn coding but i don't even know where to start. Am confuse here
    start here => Perfect Learning Start
    It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
    ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
    ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
    キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

    Comment


      #17
      You can use the mod log to show possible hack attacks - and it will show you millions of them lol
      Then when you realize that you have so much traffic trying to attack you - you use it to your advantage and send them to your adverts rofl

      Comment


        #18
        Originally posted by ori View Post
        its just more secure your not trying to create sessions on every page its just checking the session and if banned
        no! its useless.

        when block someone to access you`r website, give him redirect (with headers) to session delete. block check only in login. delete everywhere else, cause its junk code then. no more safety with that, only useless rows. its like to create a new section and never use it.
        Nous Ne Dansos Pas, Nous Sommes Le Danse.!

        Comment


          #19
          This is nice but...

          If you want to change lavalair script how about to recode it to PHP4 or PHP5 ?clean all DEPRECATED functions?clean all crap css from script an move that to css file not in script?how about to move damn forum code from index.php to forum php?

          Provably you got it.here how I can see everyone just inventing hot water which is invented long ago .I have lava in php4,css3 and jquery,run like bullet and no holes so main problem here is that most of you are to lazy to inpruve script ,just waiting who will do it for your serlf and you will just put your name in footer copyright .

          Lava code is simple to learn and so far you can invented 100 of new modules for it but you did not, still smashing your heads how to protect it.
          But that is just my opinion and dont take it for serious ....admins feel free to delete this post like you did with other one few days ago ,I want get angry becouse I know the truth is allways hurting peoples feelings

          Comment


            #20
            Does anyone knows how to protect admin from banning

            Comment


              #21
              Originally posted by stefan998 View Post
              Does anyone knows how to protect admin from banning
              Take away there admin rights? - banning is the least of your worries that an admin can do in wapdesire script - A Simple html form modification and your admin can make them selfs owners lol

              Comment


                #22
                Originally posted by stefan998 View Post
                Does anyone knows how to protect admin from banning
                use this code in admnproc inside $action==ipban


                PHP Code:
                $uid getuid_sid($sid);
                  
                $perm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$uid."'"));
                  
                $trgtperm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE name='".$user."'"));

                  if(
                $trgtperm>$perm){
                  echo 
                "<b><img src="../images/notok.gif" alt="x"/><br/>Error!!!<br/>Permission Denied...</b><br/>";
                  echo 
                "<br/>U Cannot Ip-ban $user<br/>";
                  echo 
                "<a href="index.php?action=main&amp;sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
                  echo 
                "</p>";
                  }else

                {

                your other codes goes here


                Last edited by thunderwap; 21.05.15, 04:45.
                sigpic

                WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

                Comment


                  #23
                  Originally posted by thunderwap View Post

                  use this code in admnproc inside $action==ipban


                  PHP Code:
                  $uid getuid_sid($sid);
                  $perm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$uid."'"));
                  $trgtperm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE name='".$user."'"));

                  if(
                  $trgtperm>$perm){
                  echo 
                  "<b><img src="../images/notok.gif" alt="x"/><br/>Error!!!<br/>Permission Denied...</b><br/>";
                  echo 
                  "<br/>U Cannot Ip-ban $user<br/>";
                  echo 
                  "<a href="index.php?action=main&amp;sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
                  echo 
                  "</p>";
                  }else

                  {

                  your other codes goes here


                  let me fix your code
                  PHP Code:
                  $uid getuid_sid($sid);
                  $perm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$uid."'"));
                  $trgtperm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE name='".$user."'"));

                  if(
                  $trgtperm[0]>$perm[0]){
                  echo 
                  "<b><img src="../images/notok.gif" alt="x"/><br/>Error!!!<br/>Permission Denied...</b><br/>";
                  echo 
                  "<br/>U Cannot Ip-ban $user<br/>";
                  echo 
                  "<a href="index.php?action=main&amp;sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
                  echo 
                  "</p>";
                  }else

                  {

                  your other codes goes here


                  remember that you are calling an array not a string

                  http://wapx.amob.com
                  Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!

                  Comment


                    #24
                    Its been long i coded a mobile site, whats the best mobile script now can some one please help me
                    http://myfacepals.com
                    MYFACEPALS SOCIAL NETWORKsigpic

                    Comment

                    Working...
                    X