plz help me
Plz Heave Somebody Vip.php Membership
Collapse
X
-
<div class='quotetop'>QUOTE (sweetangel @ Dec 15 2008, 09:58 AM) <{POST_SNAPBACK}></div>vip.php?
4 wich script???
more details pls...[/b]
Comment
-
<div class='quotetop'>QUOTE (sweetangel @ Dec 15 2008, 10:58 AM) <{POST_SNAPBACK}></div>vip.php?
4 wich script???
more details pls...[/b]
Comment
-
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>'".$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>"; }
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>'".$plus."' AND lastact>'".$timeon."'")); echo "Staff Online: <a href=\"index.php?action=vipol&sid=$sid\">".$noi[0]."</a> ";
Comment
-
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.
Comment
-
<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>'".$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>"; }
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>'".$plus."' AND lastact>'".$timeon."'")); echo "Staff Online: <a href=\"index.php?action=vipol&sid=$sid\">".$noi[0]."</a> ";
Comment
Comment