Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: No avatar

Parašė YesNoMaybe· 2009 Lie. 7 13:07:57
#1

Kaip padaryti kad narys kuris neuzsidejas avataro rodytu kita paveikliuka su uzrasu no avatar.
P.s. pas mane si user info panel:
http://www.phpfusion.lt/infusion...mod_id=417

Parašė Nepas· 2009 Lie. 7 13:07:46
#2


if ($userdata['user_avatar'] != "") {
   echo "<hr><center><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center><hr>\n";
      } else {
   echo "<br><center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".INFUSIONS."user_info_panel/images/noimage.gif'></center><br><hr>\n";





Redagavo Nepas· 2009 Lie. 7 13:07:36

Parašė YesNoMaybe· 2009 Lie. 7 14:07:05
#3

Aciu +10;), gal dar zinai kaip padaryti kad rodytu ir forumuose noavatar.gif??|

Parašė Nepas· 2009 Lie. 7 14:07:48
#4

parodyk ta vieta kur
tavo avatara kuri užsidėjas rodo ta pačia vieta kažin ar ne taspats bus ten :)

Parašė YesNoMaybe· 2009 Lie. 7 14:07:51
#5

Stai:
tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a><br>\n";
echo "<span class='alt'>".Rangas." ".ShowRank($data['user_posts'],$data['user_rank'])."<br>";
      if ($data['user_avatar'] != "") {
echo"
";
$lastseen = time() - $data['user_lastvisit'];





Ir dar cia atrodo:
echo "$lastseen";
         echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
         $height = "185";
      } else {
         $height = "70";
      }



Redagavo YesNoMaybe· 2009 Lie. 7 14:07:59

Parašė Nepas· 2009 Lie. 7 14:07:52
#6

hahaha777 parašė:
Stai:
tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a><br>\n";
echo "<span class='alt'>".Rangas." ".ShowRank($data['user_posts'],$data['user_rank'])."<br>";
      if ($data['user_avatar'] != "") {
echo"
";
$lastseen = time() - $data['user_lastvisit'];





Ir dar cia atrodo:
echo "$lastseen";
         echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
         $height = "185";
      } else {
         $height = "70";
      }




echo "$lastseen";
         echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
         $height = "185";
      } else {
         $height = "70";
} else {
   echo "<br><center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".INFUSIONS."user_info_panel/images/noimage.gif'></center><br><hr>\n";

      }



pamegink taip bet kažin ar veiks :d

Parašė YesNoMaybe· 2009 Lie. 7 14:07:30
#7

Parse error: syntax error, unexpected T_ELSE in /usr/home/www/ftp/----/forum/viewthread.php on line 161

Parašė edis2· 2009 Lie. 7 17:07:47
#8

susirask:

if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
$height = "185";
} else {
$height = "70";
}




Keisk į:

if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
$height = "185";
} else {
echo "<img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".BASEDIR."images/noimage.gif'><br><br>\n";
$height = "185";
}




Manau suprasi ;)

Redagavo edis2· 2009 Lie. 7 17:07:47

Parašė YesNoMaybe· 2009 Lie. 7 18:07:44
#9

edis2 parašė:
susirask:

if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
$height = "185";
} else {
$height = "70";
}




Keisk į:

if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><br><br>\n";
$height = "185";
} else {
echo "<img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".BASEDIR."images/noimage.gif'><br><br>\n";
$height = "185";
}




Manau suprasi ;)


Aciu :)