HITMAN 17 Posted August 31, 2007 Posted August 31, 2007 Re: FREE ADVANCED USERSONLINE MOD For v1 cause som ones gona ask oh yh the only reason why i havent put it in a code boxit keeps messin up You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print " "; $cn=0; $q=mysql_query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); while($r=$db->fetch_row($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } $cn++; print it dont work Quote
Absolute Zero Posted August 31, 2007 Posted August 31, 2007 Re: FREE ADVANCED USERSONLINE MOD are you using V2? Quote
Godfather Posted September 1, 2007 Posted September 1, 2007 Re: FREE ADVANCED USERSONLINE MOD good mod Quote
HITMAN 17 Posted September 1, 2007 Posted September 1, 2007 Re: FREE ADVANCED USERSONLINE MOD are you using V2? no its v1 Quote
parelem Posted September 1, 2007 Posted September 1, 2007 Re: FREE ADVANCED USERSONLINE MOD This works for V2 but the location only shows the # of location :?Yes I realize Lostone posted the code but could not get it to work right.Thanks for the help :-D $query = mysql_query("SELECT * FROM `cities` WHERE `cityid` = '".$ir["location"]."'"); $result = mysql_fetch_array($query); $location = $result["cityname"]; Quote
3XTR3M3 Posted September 2, 2007 Posted September 2, 2007 Re: FREE ADVANCED USERSONLINE MOD its allright but its easy to make lol Quote
dementor Posted September 11, 2007 Posted September 11, 2007 Re: FREE ADVANCED USERSONLINE MOD nice mode +1 Quote
Anubis Posted September 13, 2007 Posted September 13, 2007 Re: FREE ADVANCED USERSONLINE MOD ok, i've taken what everyone has posted up here and put it together along with locations and gangs. I also linked gangs to the gang homepage. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This works well on my site and the users love it. Quote
Satans_Pimp Posted September 13, 2007 Posted September 13, 2007 Re: FREE ADVANCED USERSONLINE MOD V2 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MEANXF Posted September 20, 2007 Posted September 20, 2007 Re: FREE ADVANCED USERSONLINE MOD Great Mod very good indeed thanks alot +1 for you :-D :-D Quote
3XTR3M3 Posted September 20, 2007 Posted September 20, 2007 Re: FREE ADVANCED USERSONLINE MOD lol easy just added borders etc good though Quote
Klikoka Posted September 21, 2007 Posted September 21, 2007 Re: FREE ADVANCED USERSONLINE MOD Nice mod Quote
HITMAN 17 Posted September 22, 2007 Posted September 22, 2007 Re: FREE ADVANCED USERSONLINE MOD ok, i've taken what everyone has posted up here and put it together along with locations and gangs. I also linked gangs to the gang homepage. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This works well on my site and the users love it. +1 Quote
HITMAN 17 Posted October 4, 2007 Posted October 4, 2007 Re: FREE ADVANCED USERSONLINE MOD [glow]+1 Quote
Solid Snake Posted October 5, 2007 Posted October 5, 2007 Re: FREE ADVANCED USERSONLINE MOD [glow]+1 yer good mod Quote
HITMAN 17 Posted February 6, 2008 Posted February 6, 2008 Re: FREE ADVANCED USERSONLINE MOD can anyone make a free one with the colours for the staff and donators Quote
Guest Anonymous Posted February 6, 2008 Posted February 6, 2008 Re: FREE ADVANCED USERSONLINE MOD Add this to usersonline..... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
HITMAN 17 Posted February 6, 2008 Posted February 6, 2008 Re: FREE ADVANCED USERSONLINE MOD where do i put the colours like red Quote
boggl Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD <font color=putthefriggingcolorhere> Quote
POG1 Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD where do i put the colours like red are u stupid? this looks like a nice mod, im gonna try it 8-) Quote
YoungGold Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD where do i put the colours like red omfg.....go back to nursery man :/ Quote
Cruisey Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD <font color=putthefriggingcolorhere> lol Quote
YoungGold Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD <font color=putthefriggingcolorhere> LOL should be You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you forgot then: ' Quote
POG1 Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD i like this mod.! nice work. I changed the last column, is the user is in jail it has a link to bust them out or if the user is in hospital it says in hospital :evil: i took out the money bit and a few others aswell :P screenshot: http://img167.imageshack.us/my.php?imag ... hotyo0.png Quote
HITMAN 17 Posted February 7, 2008 Posted February 7, 2008 Re: FREE ADVANCED USERSONLINE MOD <font color=putthefriggingcolorhere> LOL should be You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you forgot then: ' ye i forgot mate know wneed to have a go Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.