Online Mood Code For Socalled Lava & Wapdesire Script

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

    Online Mood Code For Socalled Lava & Wapdesire Script

    the topic where this code was wanted has been closed.so I posted here
    use this SQL query in your phpmyadmin
    Code:
    ALTER TABLE `ibwf_users` ADD `onlinemsg` VARCHAR( 100 ) NOT NULL AFTER `battlep`;
    copy and paste this code in index.php
    Code:
    //////////////////////////////////////////Update online msg & mood
    else if($action=="mood")
    {
     addonline(getuid_sid($sid),"Updating online msg & mood","");
     echo "<card id=\"main\" title=\"Updating online msg &amp; mood\">";
     echo "
    
    ";
     echo "Mood msg: <input name=\"kiss\" maxlength=\"100\"/>
    ";
     echo "<anchor>Update";
     echo "<go href=\"index.php?action=upolm&amp;sid=$sid\" method=\"post\">";
     echo "<postfield name=\"kiss\" value=\"$(kiss)\"/>";
     echo "</go></anchor>";
     echo "
    
    ";
     echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
     echo "Home</a>
    ";
     echo "© coded by Rukiya";
     echo "</p>";
     echo "</card>";
    }
    //////////////////////////////////////////Update online msg & mood
    else if($action=="upolm")
    {
     addonline(getuid_sid($sid),"Updating online msg &amp; mood","");
     $kiss = $_POST["kiss"];
    echo "<card id=\"main\" title=\"Updating online msg &amp; mood\">";
     echo "<p align=\"center\">";
     $res = mysql_query("UPDATE ibwf_users SET onlinemsg=&#39;".$kiss."&#39; WHERE id=&#39;".$uid."&#39;");
      if($res)
      {
        echo "<img src=\"images/ok.gif\" alt=\"o\"/>Your online msg was updated successfully
    ";
      }else{
        echo "<img src=\"images/notok.gif\" alt=\"x\"/>Error updating your online msg
    ";
      }
     echo "
    <a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
     echo "Home</a>
    ";
     echo "© coded by Rukiya";
     echo "</p></card>";
    }
    replace your $action=="online" in index.php with this code
    for socalled lavalair script
    [attachment=1659:1.php]
    for socalled wapdesire script
    [attachment=1658:2.php]
    dnt erase the copyright line if you are not enough stupid
    Attached Files

    #2
    one thing I have forgotten to post before and thats
    Usage
    Code:
     echo "<a href=\"index.php?action=mood&amp;sid=$sid\">Update Online Mood</a>
    ";

    Comment


      #3
      one thing I have forgotten to post before and thats
      Usage
      Code:
       echo "<a href=\"index.php?action=mood&amp;sid=$sid\">Update Online Mood</a>
      ";
      [/b]
      question ??

      do smilies work in the moods . as they dont in other code i added . thanks
      Wapchat4u


      Topsites4u

      Comment


        #4
        the topic where this code was wanted has been closed.so I posted here
        use this SQL query in your phpmyadmin
        Code:
        ALTER TABLE `ibwf_users` ADD `onlinemsg` VARCHAR( 100 ) NOT NULL AFTER `battlep`;
        copy and paste this code in index.php
        Code:
        //////////////////////////////////////////Update online msg & mood
         else if($action=="mood")
         {
          addonline(getuid_sid($sid),"Updating online msg &amp; mood","");
          echo "<card id=\"main\" title=\"Updating online msg &amp; mood\">";
          echo "
        
        ";
          echo "Mood msg: <input name=\"kiss\" maxlength=\"100\"/>
        ";
          echo "<anchor>Update";
          echo "<go href=\"index.php?action=upolm&sid=$sid\" method=\"post\">";
          echo "<postfield name=\"kiss\" value=\"$(kiss)\"/>";
          echo "</go></anchor>";
          echo "
        
        ";
          echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>
        ";
          echo "© coded by Rukiya";
          echo "</p>";
          echo "</card>";
         }
         //////////////////////////////////////////Update online msg & mood
         else if($action=="upolm")
         {
          addonline(getuid_sid($sid),"Updating online msg &amp; mood","");
          $kiss = $_POST["kiss"];
         echo "<card id=\"main\" title=\"Updating online msg &amp; mood\">";
          echo "<p align=\"center\">";
          $res = mysql_query("UPDATE ibwf_users SET onlinemsg=&#39;".$kiss."&#39; WHERE id=&#39;".$uid."&#39;");
           if($res)
           {
             echo "<img src=\"images/ok.gif\" alt=\"o\"/>Your online msg was updated successfully
        ";
           }else{
             echo "<img src=\"images/notok.gif\" alt=\"x\"/>Error updating your online msg
        ";
           }
          echo "
        <a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>
        ";
          echo "© coded by Rukiya";
          echo "</p></card>";
         }
        replace your $action=="online" in index.php with this code
        for socalled lavalair script
        [attachment=1659:1.php]
        for socalled wapdesire script
        [attachment=1658:2.php]
        dnt erase the copyright line if you are not enough stupid[/b]
        it can be done with less coding...

        Comment


          #5
          it can be done with less coding...[/b]
          i know how can it be done with least coding n do it then make comments about my codes

          Comment


            #6
            and whats with the
            echo "© coded by Rukiya";
            Line?..

            And nclemale, The Mood smilies do work... post your coded one :-)

            Comment


              #7
              question ??

              do smilies work in the moods . as they dont in other code i added . thanks[/b]
              read this topic name again

              Comment


                #8
                and whats with the
                echo "© coded by Rukiya";
                Line?..

                And nclemale, The Mood smilies do work... post your coded one :-)[/b]
                LoL who ever played with the script don&#39;t know what they where doing because when i first coded it it was working perfect.

                anyway the Original chapel action=main in index.php
                Code:
                else if($action=="main")
                {
                echo "<card id=\"main\" title=\"$sitename\">";
                addonline(getuid_sid($sid),"In The Chapel","");
                echo "<p align=\"center\">";
                echo "<img src=\"images/chapel.jpg\" alt=\"Chapel\"/>
                ";
                echo "Welcome To The Online Chapel!
                ";
                echo "Here You Can Get Wappied To That Special Someone In Your Wap Life!
                ----
                ";
                echo "<a href=\"chapel.php?action=wnumpty&amp;sid=$sid\">What Is Wappied?</a>
                ";
                $uid = getuid_sid($sid);
                $isreq = mysql_fetch_array(mysql_query("SELECT rpen, uid FROM chapel WHERE mid=&#39;".$uid."&#39;"));
                if ($isreq[0]==1)
                {
                $wid = $isreq[1];
                $wnick = getnick_uid($wid);
                echo "$wnick Has Requested To Get Wappied To You
                ";
                echo "Do You Accept:
                ";
                echo "<anchor>YES!";
                echo "<go href=\"chapel.php?action=conm&amp;sid=$sid\" method=\"post\">"; 
                echo "<postfield name=\"wid\" value=\"$wid\"/>";
                echo "</go></anchor>
                ";
                echo "<anchor>NO!";
                echo "<go href=\"chapel.php?action=rejm&amp;sid=$sid\" method=\"post\">";  
                echo "<postfield name=\"wid\" value=\"$wid\"/>";
                echo "</go></anchor>
                ";
                }else{
                $mstat = mysql_fetch_array(mysql_query("SELECT ismd FROM chapel WHERE id=&#39;".$uid."&#39;"));
                if ($mstat[0]==0)
                {
                echo "<a href=\"chapel.php?action=rgetm&amp;sid=$sid\">Get Wappied!</a>
                ";
                }else{
                $mstat = mysql_fetch_array(mysql_query("SELECT ismd FROM chapel WHERE id=&#39;".$uid."&#39;"));
                if ($mstat[0]==1)
                {
                echo "<a href=\"chapel.php?action=getd&amp;sid=$sid\">Get Devorced</a>
                ";
                }
                }
                }
                echo "<img src=\"images/line.gif\" alt=\"line\"/>";
                echo "
                <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
                echo "
                
                [size="1"](c)WhiteWarrior[/size]";
                echo "</p>";
                echo "</card>";
                }
                i know it works 100%[/b]
                and whats with the
                echo "

                ©WhiteWarrior";
                line?

                Comment


                  #9
                  and whats with the
                  echo "

                  ©WhiteWarrior";
                  line?[/b]
                  Agh ok, aybe you do have a point but i didn&#39;t say
                  "dnt erase the copyright line if you are not enough stupid"
                  LoL

                  Comment


                    #10
                    Agh ok, aybe you do have a point but i didn&#39;t say
                    "dnt erase the copyright line if you are not enough stupid"
                    LoL
                    [/b]
                    dnt you see who said that?

                    Comment


                      #11
                      dnt you see who said that?[/b]
                      No... i&#39;m blind.

                      Comment


                        #12
                        No... i&#39;m blind.[/b]
                        this is my version of online moods .
                        without totally re editing my sites to install the above code to get my smilies workin can anyone point out wer i have gone wrong.
                        Attached Files
                        Wapchat4u


                        Topsites4u

                        Comment


                          #13
                          rukiya i try this your code and i have error!

                          Code:
                           XML parsing failed: not well-formed (Line: 5, Character: 158)<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="main" title="Updating online msg &amp; mood">
                          
                          Mood msg: <input name="kiss" maxlength="100"/>
                          <anchor>Update<a href="index.php?action=upolm&sid=7e91a82af45ccb8f67806ad0b501bc4d" method="post"><postfield name="kiss" value="$(kiss)"/></go></anchor>
                          
                          [url="index.php?action=main&sid=7e91a82af45ccb8f67806ad0b501bc4d"][img]images/home.gif[/img]Home[/url]
                          © coded by Rukiya</p></card> </wml>

                          Comment


                            #14
                            rukiya i try this your code and i have error!

                            Code:
                             XML parsing failed: not well-formed (Line: 5, Character: 158)<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="main" title="Updating online msg &amp; mood">
                            
                            Mood msg: <input name="kiss" maxlength="100"/>
                            <anchor>Update<a href="index.php?action=upolm&sid=7e91a82af45ccb8f67806ad0b501bc4d" method="post"><postfield name="kiss" value="$(kiss)"/></go></anchor>
                            
                            [url="index.php?action=main&sid=7e91a82af45ccb8f67806ad0b501bc4d"][img]images/home.gif[/img]Home[/url]
                            © coded by Rukiya</p></card> </wml>
                            [/b]
                            copy and paste this line
                            Code:
                            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Home</a>
                            ";
                            in place of
                            Code:
                             echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
                              echo "Home</a>
                            "

                            Comment


                              #15
                              copy and paste this line
                              Code:
                              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Home</a>
                              ";
                              in place of
                              Code:
                               echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
                                echo "Home</a>
                              "
                              [/b]

                              error was here:

                              i replace this

                              Code:
                              echo "<go href=\"index.php?action=upolm&sid=$sid\" method=\"post\">";

                              with this:

                              Code:
                              echo "<go href=\"index.php?action=upolm&amp;sid=$sid\" method=\"post\">";

                              Comment

                              Working...
                              X