My Edit Scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    no,all is normal,my link is:

    chat.php?action=arhiva&sid=$sid&rid=$rid

    you see room id is here.
    (chat.php?action=arhiva&sid=session&rid=4)

    Your code don't working... all is same... :D

    Comment


      #32
      Code:
      Your account is not valid!
      Verificarea si activarea contului dumneavoastra se va face in cel mai scurt timp, va rugam asteptati!
      Va multumim!


      please help waht are going to do wth the settings

      Comment


        #33
        <div class='quotetop'>QUOTE (uNrEaL @ Feb 24 2009, 07:41 AM) <{POST_SNAPBACK}></div>
        no,all is normal,my link is:

        chat.php?action=arhiva&amp;sid=$sid&amp;rid=$rid

        you see room id is here.
        (chat.php?action=arhiva&sid=session&rid=4)

        Your code don&#39;t working... all is same... :D[/b]

        Ok i would need to see it in action .

        Comment


          #34
          Code:
          //////////////////////////////chat history
          else if($action=="arhiva")
          {
          echo "<card id=\"main\" title=\"Chat history\">";
          addonline($uid,"[b]Arhiva chat sobe  $rname[/b]",""); 
          echo "<p align=\"center\">";
              $who = $_POST["who"];
              $ds= date("H:i", $chat[2]);
          $uid = getuid_sid($sid);
           echo "[size="1"]Chat History [b] $rname[/b]
          --
          [/size]";
           echo "</p>"; 
          //////ALL LISTS SCRIPT <<
          
              if($page=="" || $page<=0)$page=1;
              $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chat WHERE rid= &#39;".$rid."&#39; AND who=&#39;0&#39;"));
              $num_items = $noi[0]; //changable
              $items_per_page= 10;
              $num_pages = ceil($num_items/$items_per_page);
              if(($page>$num_pages)&&$page!=1)$page= $num_pages;
              $limit_start = ($page-1)*$items_per_page;
          
              //changable sql
                
                
                $sql = "SELECT chatter, msgtext , timesent , who FROM ibwf_chat WHERE rid=&#39;".$rid."&#39; AND who=&#39;0&#39; ORDER BY id DESC LIMIT $limit_start, $items_per_page";  
          
              $items = mysql_query($sql);
              if(mysql_num_rows($items)>0)
              {
               echo "
          
          ";
          while ($item = mysql_fetch_array($items))
          {
          
          $ds= date("H:i", $item[2]);
          $who = $item[0]; 
          $mesaje = parsepm($item[1], $sid);
          
          //($item[1], $sid);
          
             echo "[size="1"][$ds] <a href=\"index.php?action=viewuser&amp;sid=$sid&amp;who=$item[0]&amp;sid=$sid\">".getnick_uid($item[0])."</a> - $mesaje[/size]";
          
             //echo "<a href=\"winamp.php?action=sterge_melodie&amp;sid=$sid&amp;tid=$item[0]\">sterge</a></small>";
             echo "
          ";
          }
              echo "</p>";
              echo "<p align=\"center\">";
                  if($page>1)
              {
                $ppage = $page-1;
                echo "[size="1"]<a href=\"chat.php?action=$action&amp;page=$ppage&amp;sid=$sid&amp;view=$view&amp;rid=$rid\">Back</a> | [/size]";
              }
              if($page<$num_pages)
              {
                $npage = $page+1;
                echo "[size="1"]<a href=\"chat.php?action=$action&amp;page=$npage&amp;sid=$sid&amp;view=$view&amp;rid=$rid\">Next</a>[/size]";
              }
              echo "[size="1"]
          $page/$num_pages
          [/size]";
              
              if($num_pages>2)
              {
                  $rets = "[size="1"]Str:[/size]<input name=\"pg\" format=\"*N\" size=\"3\"/>";
                  $rets .= "[size="1"]<anchor>Go";
                  $rets .= "<go href=\"chat.php\" method=\"get\">";
                  $rets .= "<postfield name=\"action\" value=\"$action\"/>";
                  $rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
                  $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
                  $rets .= "</go></anchor>[/size]";
          
                  echo $rets;
              }
                  echo "</p>";
              }else{
              echo "<p align=\"center\"><img src=\"../images/notok.gif\" alt=\"\"/>
          ";
                echo "[size="1"][u]Chat History  $rname is empty![/u][/size]
          ";
          echo "</p>";
          }
          echo "<p align=\"center\">";
              echo "[size="1"]--
          <a href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw\">Back in chat room</a>  ";
               echo "<a href=\"index.php?action=main&amp;sid=$sid\">$glavna
          [Home]</a>[/size]";
              echo "</p></card>";
          }

          Comment


            #35
            now is working THANK YOU

            Comment


              #36
              please help me.......why if i login or register ..when finished it tells that i havent validated yet??

              Comment


                #37
                <div class='quotetop'>QUOTE (keanvn @ Feb 25 2009, 02:51 PM) <{POST_SNAPBACK}></div>
                please help me.......why if i login or register ..when finished it tells that i havent validated yet??[/b]
                cos most likely you need
                to be admin in order to have
                power/option to validate newly registered user...

                so... first things first..
                you make your selfe account..
                go to PHP.My.Admin
                search for table *prefix*_user
                find your nickname in that tab le and set row &#39;permission&#39; to 2(or 3 or 4 or 5.. depends from script mod/version)
                also find row &#39;validated&#39; (or similar) and set it to 1
                save and exit...
                that would be alll
                then for next registered user..
                you should have option in script through admin panel to validate users..
                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


                  #38
                  <div class='quotetop'>QUOTE (wap2k @ Feb 25 2009, 01:20 AM) <{POST_SNAPBACK}></div>
                  <div class='codetop'>CODE
                  <div class='codemain' style='height:200px;white-space:pre;overflow:auto'>//////////////////////////////chat history
                  else if($action=="arhiva")
                  {
                  echo "<card id=\"main\" title=\"Chat history\">";
                  addonline($uid,"Arhiva chat sobe $rname","");
                  echo "<p align=\"center\">";
                  $who = $_POST["who"];
                  $ds= date("H:i", $chat[2]);
                  $uid = getuid_sid($sid);
                  echo "Chat History $rname
                  --
                  ";
                  echo "</p>";
                  //////ALL LISTS SCRIPT <<

                  if($page=="" || $page<=0)$page=1;
                  $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chat WHERE rid= &#39;".$rid."&#39; AND who=&#39;0&#39;"));
                  $num_items = $noi[0]; //changable
                  $items_per_page= 10;
                  $num_pages = ceil($num_items/$items_per_page);
                  if(($page>$num_pages)&&$page!=1)$page= $num_pages;
                  $limit_start = ($page-1)*$items_per_page;

                  //changable sql


                  $sql = "SELECT chatter, msgtext , timesent , who FROM ibwf_chat WHERE rid=&#39;".$rid."&#39; AND who=&#39;0&#39; ORDER BY id DESC LIMIT $limit_start, $items_per_page";

                  $items = mysql_query($sql);
                  if(mysql_num_rows($items)>0)
                  {
                  echo "

                  ";
                  while ($item = mysql_fetch_array($items))
                  {

                  $ds= date("H:i", $item[2]);
                  $who = $item[0];
                  $mesaje = parsepm($item[1], $sid);

                  //($item[1], $sid);

                  echo "[$ds] <a href=\"index.php?action=viewuser&amp;sid=$sid&amp; who=$item[0]&amp;sid=$sid\">".getnick_uid($item[0])."</a> - $mesaje";

                  //echo "<a href=\"winamp.php?action=sterge_melodie&amp;sid=$s id&amp;tid=$item[0]\">sterge</a></small>";
                  echo "
                  ";
                  }
                  echo "</p>";
                  echo "<p align=\"center\">";
                  if($page>1)
                  {
                  $ppage = $page-1;
                  echo "<a href=\"chat.php?action=$action&amp;page=$ppage&amp ;sid=$sid&amp;view=$view&amp;rid=$rid\">Back</a> | ";
                  }
                  if($page<$num_pages)
                  {
                  $npage = $page+1;
                  echo "<a href=\"chat.php?action=$action&amp;page=$npage&amp ;sid=$sid&amp;view=$view&amp;rid=$rid\">Next</a>";
                  }
                  echo "
                  $page/$num_pages
                  ";

                  if($num_pages>2)
                  {
                  $rets = "Str:<input name=\"pg\" format=\"*N\" size=\"3\"/>";
                  $rets .= "<anchor>Go";
                  $rets .= "<go href=\"chat.php\" method=\"get\">";
                  $rets .= "<postfield name=\"action\" value=\"$action\"/>";
                  $rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
                  $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
                  $rets .= "</go></anchor>
                  ";

                  echo $rets;
                  }
                  echo "</p>";
                  }else{
                  echo "<p align=\"center\"><img src=\"../images/notok.gif\" alt=\"\"/>
                  ";
                  echo "Chat History $rname is empty!
                  ";
                  echo "</p>";
                  }
                  echo "<p align=\"center\">";
                  echo "--
                  <a href=\"chat.php?sid=$sid&amp;rid=$rid&amp;rpw=$rpw \">Back in chat room</a> ";
                  echo "<a href=\"index.php?action=main&amp;sid=$sid\">$glavn a
                  [Home]</a>
                  ";
                  echo "</p></card>";
                  }</div>[/b][/quote]
                  well... theres still one problem.. you cant see private MSGs in history
                  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


                    #39
                    just add on link rpw=$rpw

                    chat.php?action=arhiva&amp;sid=$sid&amp;rid=$rid&a mp;rpw=$rpw

                    Comment


                      #40
                      <div class='quotetop'>QUOTE (uNrEaL @ Feb 25 2009, 08:40 PM) <{POST_SNAPBACK}></div>
                      just add on link rpw=$rpw

                      chat.php?action=arhiva&amp;sid=$sid&amp;rid=$rid&a mp;rpw=$rpw[/b]
                      tried that... doesnt work...
                      i&#39;d like to see in history also all private msgs..
                      those sent to me and those i&#39;ve sent to some1
                      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


                        #41
                        yes this is problem,in chat archive i can&#39;t see private messages... but this is possible to add... i will try.. You can see in WAP/WEB coding all what I wish to add on chat Also is good to have opcion Private where you can see all private messages you send and recieved

                        Comment


                          #42
                          <div class='quotetop'>QUOTE (uNrEaL @ Feb 25 2009, 10:36 PM) <{POST_SNAPBACK}></div>
                          yes this is problem,in chat archive i can&#39;t see private messages... but this is possible to add... i will try.. You can see in WAP/WEB coding all what I wish to add on chat Also is good to have opcion Private where you can see all private messages you send and recieved [/b]
                          do you have php globals turned on in your htaccess??
                          usually if this isnt active most functions wont work









                          Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
                          Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

                          Comment


                            #43
                            yes i have - this is not problem here :D you must add code for private messages in chat history

                            Comment


                              #44
                              sir metulj....i try it but same thing happen...can u help me???if u may i can pm u my details...tnx

                              Comment

                              Working...
                              X