Plz Heave Somebody Vip.php Membership

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

    Plz Heave Somebody Vip.php Membership

    plz help me

    #2
    vip.php?
    4 wich script???

    more details pls...
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    Comment


      #3
      <div class='quotetop'>QUOTE (sweetangel @ Dec 15 2008, 09:58 AM) <{POST_SNAPBACK}></div>
      vip.php?
      4 wich script???

      more details pls...[/b]
      for vip members lavair chat

      Comment


        #4
        <div class='quotetop'>QUOTE (sweetangel @ Dec 15 2008, 10:58 AM) <{POST_SNAPBACK}></div>
        vip.php?
        4 wich script???

        more details pls...[/b]
        i nedd in to the script lavair ... is a admin moder owner i nedd a vip member

        Comment


          #5
          at index.php

          Code:
          else if($action=="vipol")
          {
          
            addonline(getuid_sid($sid),"Wheres The V.I.P","");
              echo "<card id=\"main\" title=\"Staff Online\">";
          
          
            //////ALL LISTS SCRIPT <<
          
              if($page=="" || $page<=0)$page=1;
          $plus=write your plus;////////////write your plus number like 500
              $timeout = 180;
            $timeon = time()-$timeout;
            $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>&#39;".$plus."&#39; AND lastact>&#39;".$timeon."&#39;"));
              $num_items = $noi[0]; //changable
              $items_per_page= 10;
              $num_pages = ceil($num_items/$items_per_page);
              if($page>$num_pages)$page= $num_pages;
              $limit_start = ($page-1)*$items_per_page;
              if($limit_start<0)$limit_start=0;
              //changable sql
              $sql = "
              SELECT name, plusses, id FROM ibwf_users WHERE plusses>&#39;".plus."&#39; AND lastact>&#39;".$timeon."&#39;
                      LIMIT $limit_start, $items_per_page
              ";
              echo "
          
          [size="1"]";
              $items = mysql_query($sql);
              echo mysql_error();
              while ($item = mysql_fetch_array($items))
              {
                $lnk = "<a href=\"index.php?action=viewuser&amp;who=$item[2]&amp;sid=$sid\">$item[0]</a>";
                
                echo "$lnk - V.I.P 
          ";
              }
              echo "[/size]</p>";
              echo "<p align=\"center\">";
              if($page>1)
              {
                $ppage = $page-1;
                echo "<a href=\"index.php?action=$action&amp;page=$ppage&amp;sid=$sid\">«PREV</a> ";
              }
              if($page<$num_pages)
              {
                $npage = $page+1;
                echo "<a href=\"index.php?action=$action&amp;page=$npage&amp;sid=$sid\">Next»</a>";
              }
              echo "
          $page/$num_pages
          ";
              if($num_pages>2)
              {
                echo getjumper($action, $sid,"index");
              }
              echo "</p>";
            ////// UNTILL HERE >>
          
            echo "<p align=\"center\">";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
            echo "</p>";
            echo "</card>";
          }
          and

          Code:
          $plus=write your plus;////////////write your plus number like 500
          $timeout = 180;
            $timeon = time()-$timeout;
            $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>&#39;".$plus."&#39; AND lastact>&#39;".$timeon."&#39;"));
            echo "Staff Online: <a href=\"index.php?action=vipol&amp;sid=$sid\">".$noi[0]."</a>
          ";
          this add vip status based plusses...if user have 5000plusses is vip... ;)
          if like my post click:

          http://coding-talk.com/images/totall...ost_thanks.gif

          Comment


            #6
            i have the original vip.php as i coded the vip parts for this script but i ain&#39;t giving it out as if its the script edits i made then only one person should have them other than me as i&#39;ve never given them out.

            anyhow code it yourself, its easy... just let VIP&#39;s have own chatroom, own tools to give plusses, game points, own vip forum and an update system when a member reches a number of posts get it to update them to vip or if they win the lotto etc.. the coding is already on the script you just need to copy and paste it and change a few things but yeah it would take about half hour to fully code the vip lounge.

            Comment


              #7
              <div class='quotetop'>QUOTE (sweetangel @ Dec 15 2008, 12:12 PM) <{POST_SNAPBACK}></div>
              at index.php

              Code:
              else if($action=="vipol")
              {
              
                addonline(getuid_sid($sid),"Wheres The V.I.P","");
                  echo "<card id=\"main\" title=\"Staff Online\">";
              
              
                //////ALL LISTS SCRIPT <<
              
                  if($page=="" || $page<=0)$page=1;
              $plus=write your plus;////////////write your plus number like 500
                  $timeout = 180;
                $timeon = time()-$timeout;
                $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>&#39;".$plus."&#39; AND lastact>&#39;".$timeon."&#39;"));
                  $num_items = $noi[0]; //changable
                  $items_per_page= 10;
                  $num_pages = ceil($num_items/$items_per_page);
                  if($page>$num_pages)$page= $num_pages;
                  $limit_start = ($page-1)*$items_per_page;
                  if($limit_start<0)$limit_start=0;
                  //changable sql
                  $sql = "
                  SELECT name, plusses, id FROM ibwf_users WHERE plusses>&#39;".plus."&#39; AND lastact>&#39;".$timeon."&#39;
                          LIMIT $limit_start, $items_per_page
                  ";
                  echo "
              
              [size="1"]";
                  $items = mysql_query($sql);
                  echo mysql_error();
                  while ($item = mysql_fetch_array($items))
                  {
                    $lnk = "<a href=\"index.php?action=viewuser&amp;who=$item[2]&amp;sid=$sid\">$item[0]</a>";
                    
                    echo "$lnk - V.I.P 
              ";
                  }
                  echo "[/size]</p>";
                  echo "<p align=\"center\">";
                  if($page>1)
                  {
                    $ppage = $page-1;
                    echo "<a href=\"index.php?action=$action&amp;page=$ppage&amp;sid=$sid\">«PREV</a> ";
                  }
                  if($page<$num_pages)
                  {
                    $npage = $page+1;
                    echo "<a href=\"index.php?action=$action&amp;page=$npage&amp;sid=$sid\">Next»</a>";
                  }
                  echo "
              $page/$num_pages
              ";
                  if($num_pages>2)
                  {
                    echo getjumper($action, $sid,"index");
                  }
                  echo "</p>";
                ////// UNTILL HERE >>
              
                echo "<p align=\"center\">";
                echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
                echo "</p>";
                echo "</card>";
              }
              and

              Code:
              $plus=write your plus;////////////write your plus number like 500
              $timeout = 180;
                $timeon = time()-$timeout;
                $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE plusses>&#39;".$plus."&#39; AND lastact>&#39;".$timeon."&#39;"));
                echo "Staff Online: <a href=\"index.php?action=vipol&amp;sid=$sid\">".$noi[0]."</a>
              ";
              this add vip status based plusses...if user have 5000plusses is vip... ;)[/b]
              tanks is working

              Comment

              Working...
              X