profile views today

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

    #16
    Originally posted by joseg View Post
    Code already post in another tread

    where is this posted as i can not find it me self can some one post it here please witth db thanks
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    Comment


      #17
      yeah please do that thread cannot be found

      Comment


        #18
        why dnt u guys just download some of my edits and browse thru it ull find some codes in there that u allways request here and also look in mobilezonez script it also have many

        Comment


          #19
          Here
          Lavalair Mods... - Coding-Talk

          Comment


            #20
            bro i download every script here and thats not wat am looking for @joseg

            Comment


              #21
              here is a example on what am talking

              Profile views: 44

              Profile Views Today: 9

              Comment


                #22
                Brot in the scritp for views today using in the sql consult ("SELECT wathever FROM proviews WHERE id='".$who."' AND time='".$time24."'")
                and
                ("INSERT INTO wathever='".$wathever."', time='".time()."' SET proviews WHERE id='".$who."'")
                make the variable $tm24 = time() - (24*60*60);
                add in sql prowiews or watheve the line time varchan 100 not nule
                Last edited by joseg; 16.11.09, 19:26.

                Comment


                  #23
                  the value is stuck at 0

                  Comment


                    #24
                    /////////////////////////////////////// 10 viewers

                    else if($action=="skl10")
                    {
                    addonline(getuid_sid($sid),"Viewing Last 10 profileviewers","");
                    if($who==""||$who==0)
                    {
                    $mnick = $_POST["mnick"];
                    $who = getuid_nick($mnick);
                    }
                    $whonick = getnick_uid($who);

                    echo "<card id=\"main\" title=\"Viewing Last 10 profileviewers\">";
                    echo "<p align=\"left\">";
                    $sql= mysql_query("SELECT skl10lastview,ltime FROM skl10lastview WHERE whonick='".$whonick."'ORDER BY ltime DESC LIMIT 10");
                    while($row = mysql_fetch_array($sql))
                    {
                    $a = getuid_nick($row[0]);
                    echo "<a href=\"index.php?action=viewuser&amp;sid=$sid&amp; who=$a\">$row[0]</a>";
                    $newtime =$row[1]+(0 *60 *60);
                    echo " <b>".date("D d M y - h:i:s a",$newtime)."</b>
                    ";
                    echo "<br/>";
                    }
                    $a = getuid_nick($whonick);
                    echo "back to <a href=\"index.php?action=viewuser&amp;sid=$sid&amp; who=$a\">$whonick</a>'s profile
                    ";
                    echo "<a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
                    echo "</p>";
                    echo "</card>";
                    }
                    Last edited by sklbd; 21.12.09, 16:14.

                    Comment


                      #25
                      u have also need a new data base table for lastview

                      and put this code to user profile
                      $sql = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM skl10lastview WHERE whonick='".$whonick."'"));
                      if ($sql[0]>10)
                      {
                      $sql = mysql_fetch_array(mysql_query("SELECT MAX(id) FROM skl10lastview WHERE whonick='".$whonick."'"));
                      $sql = $sql[0]-9;
                      mysql_query("DELETE FROM skl10lastview WHERE whonick='".$whonick."' AND id <'".$sql."'");
                      }
                      $lv=getnick_sid($sid);
                      $a = getuid_nick($whonick);
                      if($a!=$uid)
                      {
                      mysql_query("INSERT INTO lastview SET skl10lastview='".$lv."', whonick='".$whonick."', ltime='".time()."'");
                      }
                      $sql= mysql_fetch_array(mysql_query("SELECT skl10lastview,ltime FROM skl10lastview WHERE whonick='".$whonick."'ORDER BY ltime DESC LIMIT 1"));
                      $a = getuid_nick($sql[0]);
                      $link = "<a href=\"index.php?action=viewuser&amp;sid=$sid&amp; who=$a\">$sql[0]</a>";
                      echo "last viewed by $link -";
                      echo "<a href=\"index.php?action=skl10&amp;who=$who&amp;sid =$sid\">View</a><br/>";

                      Comment


                        #26
                        Thanks, just give it a trial
                        http://myfacepals.com
                        MYFACEPALS SOCIAL NETWORKsigpic

                        Comment


                          #27
                          still not the code am looking for

                          Comment


                            #28
                            Pablo.
                            wait do u want the code like

                            total profile view :: 450
                            today profile view :: 10

                            like this?????????? so wait i will give u

                            Comment


                              #29
                              go look for wap.net.ph script working ...u need to do it to sceate sql or alter table for it
                              com site: http://vampist.net
                              download site: http://wapdloads.net
                              fb: http://www.facebook.com/pmplx

                              Comment

                              Working...
                              X