Swear^ Posted March 26, 2008 Report Share Posted March 26, 2008 (edited) Lejupielādējam ipbsdk un nokopējam lib, ipbsdk_class.inc.php un ipbsdk_conf.inc.php php fusions mapē. ipbsdk_conf.inc.php pārmainam info <?php $root_path = 'ipb/'; $board_url = 'ipb'; $sdklang = "en"; $allow_caching = '1'; Atveram maincore.php un atrodam sekojošās līnījas $cookie_exp = isset($_POST['remember_me']) ? time() + 3600*24*30 : time() + 3600*3; header("P3P: CP='NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM'"); setcookie("fusion_user", $cookie_value, $cookie_exp, "/", "", "0"); redirect(BASEDIR."setuser.php?user=".$data['user_name'], "script"); Virs šī koda ieliekam: require_once 'ipbsdk_class.inc.php'; $sdk =& new IPBSDK(); $sdk->login($user_name, $_POST['user_pass']); Atveram setuser.php un atrodam sekojošās līnijas if (isset($_REQUEST['logout']) && $_REQUEST['logout'] == "yes") { Pēc šī koda pievienojam require_once 'ipbsdk_class.inc.php'; $sdk =& new IPBSDK(); $sdk->logout(); Atveram register.php un atrodam sekojošās līnijas $result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_code='$activate'"); Pēc ši koda pievienojam kodu require_once 'ipbsdk_class.inc.php'; $sdk =& new IPBSDK(); $sdk->create_account($user_info['user_name'], $user_info['user_password'], $user_info['user_email']); atrodam vēl $activation = $settings['admin_activation'] == "1" ? "2" : "0"; $result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('$username', md5('".$password1."'), '".$email."', '$user_hide_email', '$user_location', '$user_birthdate', '$user_aim', '$user_icq', '$user_msn', '$user_yahoo', '$user_web', '$user_theme', '$user_offset', '', '$user_sig', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')"); Pēc šī koda pievienojam require_once 'ipbsdk_class.inc.php'; $sdk =& new IPBSDK(); $sdk->create_account($username, $password1, $email); P.S Ja ir kādi jautājumi tad droši! P.P.S Links salabots! Kopēts! Edited March 26, 2008 by Swear^ Link to comment Share on other sites More sharing options...
SaS^MAN Posted March 26, 2008 Report Share Posted March 26, 2008 Link is BROKEN legs.! Link to comment Share on other sites More sharing options...
sLIDe Posted March 26, 2008 Report Share Posted March 26, 2008 kapec aizliegts kopet? pats noteikti nokopejis, jo kautkur jau lasiju. Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 Labi zini? Es nekopēju bet gan pārtulkoju! Link to comment Share on other sites More sharing options...
sLIDe Posted March 26, 2008 Report Share Posted March 26, 2008 (edited) es tavā vitā nebūtu tik pārliecināts skaties te EDIT: pat gramatikas kļūdas tādas pašas Edited March 26, 2008 by sLIDe Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 skaties te Nezinu gan bet es tulkoju no alledmods foruma! Link to comment Share on other sites More sharing options...
sLIDe Posted March 26, 2008 Report Share Posted March 26, 2008 (edited) Tā kā neticas, tad abiem nebūtu vienādas gramatikas kļūdas Edited March 26, 2008 by sLIDe Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 Link to comment Share on other sites More sharing options...
sLIDe Posted March 26, 2008 Report Share Posted March 26, 2008 es gan domaju ka tavs pēdējais posts ir offtopic, un nav smuki zagt citu veidotas pamācības un uzdot par savējām Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 (edited) Mlje 10x saku es no turienes neko nesmu njemis! es tadu linku 1x redzu! Edited March 26, 2008 by Swear^ Link to comment Share on other sites More sharing options...
sLIDe Posted March 26, 2008 Report Share Posted March 26, 2008 nu bet kads no turienes nokopejis un tu no tā nokopejis tātad tāpat tu esi nokopējis Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 Link to comment Share on other sites More sharing options...
GunChEsTeR Posted March 26, 2008 Report Share Posted March 26, 2008 Skaidrs ka šitais ir nokopēts!!! Tur tas ir ievietots: 27 Jul 2007, 11:53 un te ir nokopēts! Šitais āksts nekā nav pac tulkojis Kā nau kauna nokopēt un vēl pateikt ka pac ir rakstijis... P.S. Pat nejēdz pierakstīt ka šajā pamācībā ir nokopēts kā var apvienot IPB ar PHP-Fusion, nevis kaut kādu e107 vai vēl nez ko vnk Web. Webu ir ļoti daudz un dažādu Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 Tur tas ir ievietots: 27 Jul 2007, 11:53 un te ir nokopēts! Šitais āksts nekā nav pac tulkojis Kā nau kauna nokopēt un vēl pateikt ka pac ir rakstijis... P.S. Pat nejēdz pierakstīt ka šajā pamācībā ir nokopēts kā var apvienot IPB ar PHP-Fusion, nevis kaut kādu e107 vai vēl nez ko vnk Web. Webu ir ļoti daudz un dažādu Tu mazgadiga cuka butu paklusejis ej labak suc tavas mates 1 izmera kruti! Link to comment Share on other sites More sharing options...
Phillip J. Fry Posted March 26, 2008 Report Share Posted March 26, 2008 Nokopēji tas ir skaidrs Bet pamācība vsjoravno laba Link to comment Share on other sites More sharing options...
Synk Posted March 26, 2008 Report Share Posted March 26, 2008 Paldies par pamācību man viss sanāca Link to comment Share on other sites More sharing options...
Swear^ Posted March 26, 2008 Author Report Share Posted March 26, 2008 Labi ja jus tas apmierina uzrakstiju ka kopets Link to comment Share on other sites More sharing options...
k!ll3r Posted March 26, 2008 Report Share Posted March 26, 2008 laikam nav kopets.. neesmu nekur manijis... Bet pasham aizgaaja! paldies Link to comment Share on other sites More sharing options...
sLIDe Posted March 26, 2008 Report Share Posted March 26, 2008 (edited) killer ir kopēts, jo pat gramatiskas kļūdas tādas paša, plus vēl neejošs links. autors, pata ja būtu tulkojis, būtu apskatījies vai links iet, un ja neiet sameklējis ejošu. bet lai nav vairāk te offtopiks tad lai slēdz ciet p.s ieliec vismaz norādi no kurienes kopēji EDIT: Labi links tgad iet Edited March 26, 2008 by sLIDe Link to comment Share on other sites More sharing options...
GunChEsTeR Posted March 26, 2008 Report Share Posted March 26, 2008 Ja tu būtu pac to visu sarakstījis būtu daudz vecāks, bet ja raksta šādi, tad jau uzreiz skaidrs ka pac nekā nejēdz un tev ir kādi 11 gadi, ja ne mazāk... Link to comment Share on other sites More sharing options...
strykerr Posted March 26, 2008 Report Share Posted March 26, 2008 Ko jūs tur ņematies? Oriģināls ir šis. Link to comment Share on other sites More sharing options...
slay Posted May 9, 2008 Report Share Posted May 9, 2008 mosh vins tiesham nemaz nav kopejis! Link to comment Share on other sites More sharing options...
Recommended Posts