Parašė Žmogus· 2008 Bir. 4 10:06:30
#5
Irasymas
1.Ikeliame siuos failus i serveri:
install_sql.php
showuserphoto.php
userphotogallery.php
administration/userphotoalbums.php
administration/userphotos.php
2. paleidziame faila install_sql.php, surinkdami adresa http://jusu_adresas/install_sql.php - Jis sukurs DB dvi naujas lenteles. paskui reikia istrint si faila!
3. Failo maincore.php pabaigoje, po:
if (iADMIN) {
define("iAUTH", substr($userdata['user_password'],16,32));
$aidlink = "?aid=".iAUTH;
}
dadedame:
if (iMEMBER) {
define("iUSERAUTH", substr($userdata['user_password'],16,32));
$uidlink = "?uid=".iUSERAUTH;
}
4. Faile infusions/user_info_panel/user_info_panel.php po:
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>
dadedame:
<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."userphotoalbums.php".$uidlink."' class='side'>Mano fotoalbumas</a><br>
5. Saito Navigacijos meniu dadedame nuoroda (per Admin) - userphotogallery.php (Nario fotoalbumas).