d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Guide: How-to Make A Dynamic Ladder-slasher Sig > In A Few Easy Steps With Pics
Prev1293031323360Next
Add Reply New Topic New Poll
Member
Posts: 36,521
Joined: Jul 28 2007
Gold: Locked
Trader: Scammer
Warn: 10%
Apr 18 2009 11:09am
nvm i found it

This post was edited by Xabi on Apr 18 2009 11:10am
Member
Posts: 41,017
Joined: Jul 4 2005
Gold: 871.28
Apr 18 2009 01:42pm
Hmm, am I the only person, for which these sigs are not loading always while watching the forums? ( I'm using opera ). :unsure:
When I don't see it, I need to click quote/edit and the pic is visible..

This post was edited by markov on Apr 18 2009 01:43pm
Member
Posts: 36,521
Joined: Jul 28 2007
Gold: Locked
Trader: Scammer
Warn: 10%
Apr 18 2009 01:56pm
Quote (markov @ Sat, 18 Apr 2009, 21:42)
Hmm, am I the only person, for which these sigs are not loading always while watching the forums? ( I'm using opera ). :unsure:
When I don't see it, I need to click quote/edit and the pic is visible..


i use ff and works fine for me
Member
Posts: 20,664
Joined: Aug 20 2006
Gold: 620.00
Apr 18 2009 02:01pm
Quote (markov @ Sat, Apr 18 2009, 08:42pm)
Hmm, am I the only person, for which these sigs are not loading always while watching the forums? ( I'm using opera ). :unsure:
When I don't see it, I need to click quote/edit and the pic is visible..


think its only you
mine works fine :P
Member
Posts: 53,370
Joined: Jun 8 2007
Gold: 87,887.20
Apr 18 2009 04:13pm
Quote (markov @ Sat, 18 Apr 2009, 20:42)
Hmm, am I the only person, for which these sigs are not loading always while watching the forums? ( I'm using opera ). :unsure:
When I don't see it, I need to click quote/edit and the pic is visible..


had same problem with opera, thats why i change it to ff :D
Member
Posts: 53,370
Joined: Jun 8 2007
Gold: 87,887.20
Apr 20 2009 08:24am
what is command if i want to add to sig (last played...?)
Member
Posts: 4,620
Joined: Aug 3 2008
Gold: 525.25
Apr 20 2009 09:41am
call it as $lastplayed




Code
$lastaction = (int)$data->lastaction;
 $time1 = time() - $lastaction;
 $lastplayed = sec2hms($time1);



function sec2hms ($sec, $padHours = false)
{

  $days = intval(intval($sec) / 86400);
  $hours = intval(($sec / 3600) % 24);
  $minutes = intval(($sec / 60) % 60);
 
  if ($days > 0) {
  $hms = $days. ' days, ';

  $hms .= ($padHours)
        ? str_pad($hours, 2, "0", STR_PAD_LEFT). ' hours ago'
        : $hours. ' hours ago';
} else {
   $hms = "";
     $hms .= ($padHours)
      ? str_pad($hours, 2, "0", STR_PAD_LEFT). ' hours, '
      : $hours. ' hours, ';

  $hms .= str_pad($minutes, 2, "0", STR_PAD_LEFT). ' minutes ago';
}

  return $hms;
 
}


Member
Posts: 53,370
Joined: Jun 8 2007
Gold: 87,887.20
Apr 20 2009 11:28am
big thx SilentXer0 :D now working fine
Retired Moderator
Posts: 26,229
Joined: Dec 22 2008
Gold: 66,667.14
Trader: Trusted
Apr 23 2009 05:32am
hi all, i have read like 8 sites here looking for my problem, tried every solution posted and i still cant get it to work. so far i have index.php and i have a folder sig.png, when i go directly to http://www.jk-designz.com/sig.png/ i get the image with the ls details, everything looks fine. but when i insert it on my profile in my signature, all i get is the link but no pic at all and im totally lost i have no clue what else to change, pls help guys


edit: omg as soon as i posted this i got it to work lol :D

This post was edited by justine981 on Apr 23 2009 05:36am
Member
Posts: 53,370
Joined: Jun 8 2007
Gold: 87,887.20
Apr 23 2009 05:37am
Quote (justine981 @ Thu, 23 Apr 2009, 12:32)
hi all, i have read like 8 sites here looking for my problem, tried every solution posted and i still cant get it to work. so far i have index.php and i have a folder sig.png, when i go directly to http://www.jk-designz.com/sig.png/    i get the image with the ls details, everything looks fine. but when i insert it on my profile in my signature, all i get is the link but no pic at all and im totally lost i have no clue what else to change, pls help guys


edit: omg as soon as i posted this i got it to work lol :D


gz :) looks ok :D

This post was edited by jakuloel on Apr 23 2009 05:38am
Go Back To Ladder Slasher Topic List
Prev1293031323360Next
Add Reply New Topic New Poll