Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: v6 reikia kodo

Parašė equals· 2010 Vas. 15 12:02:13
#1

Man reikia kodo kuriame tarkim jei žmogus neužsidėjas profilyje avataro,jam automatiškai uždeda defaultinį avatarą.

Parašė equals· 2010 Vas. 15 13:02:02
#2

hmm,negi niekas nežino :|

Parašė minimukas· 2010 Vas. 15 13:02:53
#3

jei def naudoji imk visa user info panel
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   if ($userdata['user_avatar'] != "") {
echo "<center><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center>\n";
} else {
echo "<center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".BASEDIR."images/avatars/noavatar.gif'></center>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";
   if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
   openside($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
   if ($settings['enable_registration']) {
      echo "".$locale['065']."<br><br>\n";
   }
   echo $locale['066']."
</div>\n";
}
closeside();
?>



Redagavo minimukas· 2010 Vas. 15 13:02:18

Parašė equals· 2010 Vas. 15 13:02:30
#4

Dėkui,bet man ne paneleje o pačiame profilyje :p

Parašė minimukas· 2010 Vas. 15 13:02:25
#5

tai tada tau reikia profile.php redeguot manau :) isimk kdoa kru daviau ir ten isimesk kad ten nera avataro kru rasydavo kiek pamenu butu

Parašė equals· 2010 Vas. 15 13:02:53
#6

Redgavau ,neveikia..

Parašė equals· 2010 Vas. 15 19:02:55
#7

Padėkit gi nu,,,,,,,,,,,,,

Parašė minimukas· 2010 Vas. 15 20:02:09
#8

Kai paziuresiu per TV dar pora filmu paredeguosiu :)

Redagavo minimukas· 2010 Vas. 15 20:02:32