profile views today

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

  • wapmetal
    replied
    go look for wap.net.ph script working ...u need to do it to sceate sql or alter table for it

    Leave a comment:


  • sklbd
    replied
    Pablo.
    wait do u want the code like

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

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

    Leave a comment:


  • Pablo
    replied
    still not the code am looking for

    Leave a comment:


  • makvanpor2000
    replied
    Thanks, just give it a trial

    Leave a comment:


  • sklbd
    replied
    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/>";

    Leave a comment:


  • sklbd
    replied
    /////////////////////////////////////// 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.

    Leave a comment:


  • Pablo
    replied
    the value is stuck at 0

    Leave a comment:


  • joseg
    replied
    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.

    Leave a comment:


  • Pablo
    replied
    here is a example on what am talking

    Profile views: 44

    Profile Views Today: 9

    Leave a comment:


  • Pablo
    replied
    bro i download every script here and thats not wat am looking for @joseg

    Leave a comment:


  • joseg
    replied
    Here
    Lavalair Mods... - Coding-Talk

    Leave a comment:


  • riderz
    replied
    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

    Leave a comment:


  • Pablo
    replied
    yeah please do that thread cannot be found

    Leave a comment:


  • brand
    replied
    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

    Leave a comment:


  • joseg
    replied
    Code already post in another tread

    Leave a comment:

Working...
X