Plz Heave Somebody Vip.php Membership
Started on the old forum in December 2008 · view the original in the archive · old links redirect here
vip.php? 4 wich script???
more details pls...
if like my post click:
QUOTE (sweetangel @ Dec 15 2008, 09:58 AM) <{POST_SNAPBACK}>
vip.php? 4 wich script???
more details pls...
for vip members lavair chat
QUOTE (sweetangel @ Dec 15 2008, 10:58 AM) <{POST_SNAPBACK}>
vip.php? 4 wich script???
more details pls...
i nedd in to the script lavair ... is a admin moder owner i nedd a vip member
at index.php
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>'".$plus."' AND lastact>'".$timeon."'"));
$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>'".plus."' AND lastact>'".$timeon."'
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&who=$item[2]&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&page=$ppage&sid=$sid\">«PREV</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"index.php?action=$action&page=$npage&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&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
and
$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>'".$plus."' AND lastact>'".$timeon."'"));
echo "Staff Online: <a href=\"index.php?action=vipol&sid=$sid\">".$noi[0]."</a>
";
this add vip status based plusses...if user have 5000plusses is vip... 😉
if like my post click:
i have the original vip.php as i coded the vip parts for this script but i ain't giving it out as if its the script edits i made then only one person should have them other than me as i've never given them out.
anyhow code it yourself, its easy... just let VIP'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.
QUOTE (sweetangel @ Dec 15 2008, 12:12 PM) <{POST_SNAPBACK}>
at index.php
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>'".$plus."' AND lastact>'".$timeon."'")); $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>'".plus."' AND lastact>'".$timeon."' LIMIT $limit_start, $items_per_page "; echo " "; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $lnk = "<a href=\"index.php?action=viewuser&who=$item[2]&sid=$sid\">$item[0]</a>"; echo "$lnk - V.I.P "; } echo "</p>"; echo "<p align=\"center\">"; if($page>1) { $ppage = $page-1; echo "<a href=\"index.php?action=$action&page=$ppage&sid=$sid\">«PREV</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href=\"index.php?action=$action&page=$npage&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&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo "</card>"; }and
$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>'".$plus."' AND lastact>'".$timeon."'")); echo "Staff Online: <a href=\"index.php?action=vipol&sid=$sid\">".$noi[0]."</a> ";this add vip status based plusses...if user have 5000plusses is vip... ;)
tanks is working