News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

SMF 1.1.6 ve 2.0 Beta 4 Çıktı

Started by [SiNaN], September 07, 2008, 06:37:47 PM

Previous topic - Next topic

BahanesiBoL

Sorunsuz bir şekilde yükledim. Şuan hiç bir sorun gözükmüyor.

SMF 2 Finali sabırsızlıkla bekliyorum. Şimdi geçicem ama forumda olmazsa olmaz modlardan bazıları SMF 2 desteklemiyor. Belki bu beta 4 ile değişebilir. Bakalım bekleyip göreceğiz.

dramalove

1.1.6'yı güncelleştirme yaptım bana göre gayet iyi emeğinize sağlık :)

onurx

Quote from: Badboy on September 08, 2008, 07:54:16 AM
1.1.6 güncellemesinde "Yüklemek istediğiniz paket'de sorun var yada geçerli bi paket değil." veya "Hiçbir kurulum ve kaldırma eylemi tanımlanmadı!" şeklinde hata alıyorsanız aşağıdaki bağlantıdan paketi indirip normal mod kurulumu yapmanız işe yarayabilir.

http://www.simplemachines.org/community/index.php?action=dlattach;topic=260145.0;attach=67663

Saol Kardeşim Hatasız Yüklendi ;)

KenaNeoN

Herkes ne güzel güncellemeyi yapmış ama bizimkilerde sorun çıkıyor nolacak ?
Yukarıda 2 tane sorun yazdım,cevap veren olmadı.2 side ilginç ilginç sorunlar.İlk defa böyle hatalar çıkıyor.
Manueli falan yok mu? bari öyle kuralım.Sonra hackleriniz falan Allah muhafaza..
İnsanlar komik, onları anlaman için yeter mimik.
Tek sahipliğimiz bilmem kaç gram et ve içine sığınan kemik.
Onu da toprak alır elde var ölüm, hüzünlü son bölüm !....

KoloRap.org | Kolera Tarzı Rap >>> Güncel Kuvvetmira Portalı
<a href="http://www.kolorap.org" title="Kolera,Sagopa Kajmer,Abluka Alarm,Sago,Sagopa,Kolo,Kuvvetmira,Türkçe Rap,Melankolia,Mic Beatz,KoloRap,Graffiti,Hip Hop" target="_blank">KoloRap.org</a>

DigitalMan

Quote from: YgmuR on September 08, 2008, 07:53:01 AM
Quote from: DigitalMan on September 08, 2008, 07:49:40 AM
Yüklemek istediğiniz paket'de sorun var yada geçerli bi paket değil.

hatasını alıyorum
daha paketi yukleyemiyor ki nerde hata oldugunu gorelim
Daha onceden elle filan yukleme yapmissaniz bence Sources klasorunu en son uzerinde olan surume geri getirin yani 1.1.5 ise uzerine tekrar yazdiriniz sonra islem yapiniz az once bende de olmustu bu hata baktim ki sadece sources icindeki dosyalar hata verdi eskiye geri dondum su anda sorunsuz bir sekilde 1.1.6 ya guncellendi sitem ...

Hoochie Coochie Man

Quote from: KenaNeoN on September 08, 2008, 08:05:58 AM
Herkes ne güzel güncellemeyi yapmış ama bizimkilerde sorun çıkıyor nolacak ?
Yukarıda 2 tane sorun yazdım,cevap veren olmadı.2 side ilginç ilginç sorunlar.İlk defa böyle hatalar çıkıyor.
Manueli falan yok mu? bari öyle kuralım.Sonra hackleriniz falan Allah muhafaza..

@KenaNeoN

Kimse farklı birşey yapmadı..

Bu mesajın ekindeki paketi alın. Ve normal modifikasyon kuruyormuş gibi panelden kurun. "Test başarısız" yazan dosyaları elle, manuel kurun. o da şöyleki:

rarlı paketi açın. içinde "smf_1-1-5_to_1-1-6_patch.mod" var, sağ tıklayın ve wordpad ile açın. orada manuelini görebilirsiniz.

daha sonra "large upgrade" paketinin içindeki upgrade.php'yi çalıştırın. Bitti..
İnadına SMF 1.1.X

ahdevefa

dilbermcde yonetım panelınden 1.1.6 ya guncelledim hiç sorun çıkmadı.çok teşşekküreerim emeği gecenlerden.

KenaNeoN

@ HCM
zaten o şekilde kurdum ama olmadı.Test başarısız falan demedi,normal kuruldu.Ama dönüp baktığımda hala 1.1.5 gözüküyor.Bunu anlamadım işte ???
İnsanlar komik, onları anlaman için yeter mimik.
Tek sahipliğimiz bilmem kaç gram et ve içine sığınan kemik.
Onu da toprak alır elde var ölüm, hüzünlü son bölüm !....

KoloRap.org | Kolera Tarzı Rap >>> Güncel Kuvvetmira Portalı
<a href="http://www.kolorap.org" title="Kolera,Sagopa Kajmer,Abluka Alarm,Sago,Sagopa,Kolo,Kuvvetmira,Türkçe Rap,Melankolia,Mic Beatz,KoloRap,Graffiti,Hip Hop" target="_blank">KoloRap.org</a>

_Serhat_

Sevgili Hoochie Coochie Man  sana bir şey soracağım


Download kısmından son sürümlerin Large upgrade kısmından zip yazan dosyayı indirsek sonra ftpden siteye atsak ve attıkdan sonra upgrade.php dosyasını çalıştırsak sonra karşımıza gelen butona bassak güncellemez mı?
Lüzümsüzsa Söndür...

Hoochie Coochie Man

Quote from: _Serhat_ on September 08, 2008, 08:34:38 AM
Sevgili Hoochie Coochie Man  sana bir şey soracağım


Download kısmından son sürümlerin Large upgrade kısmından zip yazan dosyayı indirsek sonra ftpden siteye atsak ve attıkdan sonra upgrade.php dosyasını çalıştırsak sonra karşımıza gelen butona bassak güncellemez mı?

Sinanın önceki mesajın da da dediği gibi.. o söylediğin en sağlıklısıdır. Tabi benim gibi custom temaya sahip olanlar için değil. Temanın bir çok dosyası ile çok oynadım, bozamazdım, o yüzden ekteki paketi kurdum.
İnadına SMF 1.1.X

$כђiŹøƒ®ΣиiΛ™

orjinal konudaki patch dosyasını uyguladım. o yeterlimidir..

kafama takıldıda çünkü uprgade.php dosyası falan çalıştırmadım..

uprgade.php dosyasının amacı ve işlevi nedir acaba ?

manuel olarak dosyalarda yapılacak değişiklikleri yapsak olmuyor mu sadece ?

Evo™

Quote from: Badboy on September 08, 2008, 07:54:16 AM
1.1.6 güncellemesinde "Yüklemek istediğiniz paket'de sorun var yada geçerli bi paket değil." veya "Hiçbir kurulum ve kaldırma eylemi tanımlanmadı!" şeklinde hata alıyorsanız aşağıdaki bağlantıdan paketi indirip normal mod kurulumu yapmanız işe yarayabilir.

http://www.simplemachines.org/community/index.php?action=dlattach;topic=260145.0;attach=67663
Aynen ben bu hatayı aldım ve dediğini yaptım sorun çıkarmadı kardeşim sağol :)

byserco

Emeği geçen herkesin ellerine, emeklerine sağlık. sonsuz teşekkürler..
her insan ayrı bir lisan
hepsinden anlamaz bir insan
hep bildiği gibi anlar
ne söylersen ne anlatırsan!

KenaNeoN

Quote from: Hoochie Coochie Man on September 08, 2008, 08:26:07 AM
Quote from: KenaNeoN on September 08, 2008, 08:05:58 AM
Herkes ne güzel güncellemeyi yapmış ama bizimkilerde sorun çıkıyor nolacak ?
Yukarıda 2 tane sorun yazdım,cevap veren olmadı.2 side ilginç ilginç sorunlar.İlk defa böyle hatalar çıkıyor.
Manueli falan yok mu? bari öyle kuralım.Sonra hackleriniz falan Allah muhafaza..

@KenaNeoN

Kimse farklı birşey yapmadı..

Bu mesajın ekindeki paketi alın. Ve normal modifikasyon kuruyormuş gibi panelden kurun. "Test başarısız" yazan dosyaları elle, manuel kurun. o da şöyleki:

rarlı paketi açın. içinde "smf_1-1-5_to_1-1-6_patch.mod" var, sağ tıklayın ve wordpad ile açın. orada manuelini görebilirsiniz.

daha sonra "large upgrade" paketinin içindeki upgrade.php'yi çalıştırın. Bitti..
Napacağım ben ya.Hiçbi çözüm yok.Sabahtan beri arıyorum,benzer sorunlar yaşanmış 1.1.5 de ama ona cevap verilmemiş :(
İnsanlar komik, onları anlaman için yeter mimik.
Tek sahipliğimiz bilmem kaç gram et ve içine sığınan kemik.
Onu da toprak alır elde var ölüm, hüzünlü son bölüm !....

KoloRap.org | Kolera Tarzı Rap >>> Güncel Kuvvetmira Portalı
<a href="http://www.kolorap.org" title="Kolera,Sagopa Kajmer,Abluka Alarm,Sago,Sagopa,Kolo,Kuvvetmira,Türkçe Rap,Melankolia,Mic Beatz,KoloRap,Graffiti,Hip Hop" target="_blank">KoloRap.org</a>

modifiyeli.org

Kendi temamala, hemde admin panelinden bir tıkla çok şükür sorunsuz bir şekil de güncellememi yaptım...

Emeği geçen herkese teşekkürler.

Powered by SMF 1.1.6 | SMF © 2006, Simple Machines LLC 

Tanshaydar

Birçok dosyada manuel olarak düzenlemeler yapmış olmama rağmen (özellikle de SSI.php'de), herhangi bir sorun olmadan başarıyla güncelledim.

Teşekkürler.

Yağız...

Manuel kurulum buyrun:



Aranacak Dosya:
Anadizin/index.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$forum_version = 'SMF 1.1.5';


Code (Degistirin:) Select

$forum_version = 'SMF 1.1.6';


Code (Arayin:) Select

// Seed the random generator for PHP < 4.2.0.
if (@version_compare(PHP_VERSION, '4.2.0') == -1)


Code (Degistirin:) Select

// Seed the random generator?
if (empty($modSettings['rand_seed']) || mt_rand(1, 250) == 69)


Code (Arayin:) Select

elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', '.xml', 'verificationcode'))))


Code (Degistirin:) Select

elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', '.xml', 'verificationcode'))))


Aranacak Dosya:
../Sources/Admin.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

function Admin()
{
global $sourcedir, $db_prefix, $forum_version, $txt, $scripturl, $context, $modSettings;
global $user_info, $_PHPA, $boardurl;


Code (Degistirin:) Select

function Admin()
{
global $sourcedir, $db_prefix, $forum_version, $txt, $scripturl, $context, $modSettings;
global $user_info, $_PHPA, $boardurl, $memcached;


Code (Arayin:) Select

$request = db_query("
SELECT VERSION()", __FILE__, __LINE__);
list ($context['current_versions']['mysql']['version']) = mysql_fetch_row($request);
mysql_free_result($request);


Code (Degistirin:) Select

$request = db_query("
SELECT VERSION()", __FILE__, __LINE__);
list ($context['current_versions']['mysql']['version']) = mysql_fetch_row($request);
mysql_free_result($request);

// If we're using memcache we need the server info.
if (empty($memcached) && function_exists('memcache_get') && isset($modSettings['cache_memcached']) && trim($modSettings['cache_memcached']) != '')
get_memcached_server();


Code (Arayin:) Select

$context['current_versions']['memcache'] = array('title' => 'Memcached', 'version' => memcache_get_version());


Code (Degistirin:) Select

$context['current_versions']['memcache'] = array('title' => 'Memcached', 'version' => empty($memcached) ? '???' : memcache_get_version($memcached));


Aranacak Dosya:
../Sources/Load.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$_REQUEST[session_name()] = md5(md5('smf_sess_' . time()) . rand());
$_GET[session_name()] = md5(md5('smf_sess_' . time()) . rand());
$_POST[session_name()] = md5(md5('smf_sess_' . time()) . rand());


Code (Degistirin:) Select

$_REQUEST[session_name()] = md5(md5('smf_sess_' . time()) . mt_rand());
$_GET[session_name()] = md5(md5('smf_sess_' . time()) . mt_rand());
$_POST[session_name()] = md5(md5('smf_sess_' . time()) . mt_rand());


Code (Arayin:) Select

// While PHP 4.1.x should use $_SESSION, it seems to need this to do it right.
if (@version_compare(PHP_VERSION, '4.2.0') == -1)
$HTTP_SESSION_VARS['php_412_bugfix'] = true;

// Set the randomly generated code.
if (!isset($_SESSION['rand_code']))
$_SESSION['rand_code'] = md5(session_id() . rand());
$sc = $_SESSION['rand_code'];


Code (Degistirin:) Select

// Set the randomly generated code.
if (!isset($_SESSION['rand_code']))
$_SESSION['rand_code'] = md5(session_id() . mt_rand() . (string) microtime() . $modSettings['rand_seed']);
$sc = $_SESSION['rand_code'];

// While PHP 4.1.x should use $_SESSION, it seems to need this to do it right. Also reseed the random generator.
if (@version_compare(PHP_VERSION, '4.2.0') == -1)
{
$HTTP_SESSION_VARS['php_412_bugfix'] = true;
mt_srand((float) microtime() * 10000010 + $modSettings['rand_seed']);
}
else
mt_srand();


Code (Arayin:) Select

// eAccelerator...
elseif (function_exists('eaccelerator_put'))
{
if (rand(0, 10) == 1)


Code (Degistirin:) Select

// eAccelerator...
elseif (function_exists('eaccelerator_put'))
{
if (mt_rand(0, 10) == 1)


Code (Arayin:) Select

// Turck MMCache?
elseif (function_exists('mmcache_put'))
{
if (rand(0, 10) == 1)


Code (Degistirin:) Select

// Turck MMCache?
elseif (function_exists('mmcache_put'))
{
if (mt_rand(0, 10) == 1)


Aranacak Dosya:
../Sources/LogInOut.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.3                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$user_settings['passwordSalt'] = substr(md5(rand()), 0, 4);
updateMemberData($ID_MEMBER, array('passwordSalt' => '\'' . $user_settings['passwordSalt'] . '\''));


Code (Degistirin:) Select

$user_settings['passwordSalt'] = substr(md5(mt_rand()), 0, 4);
updateMemberData($ID_MEMBER, array('passwordSalt' => '\'' . $user_settings['passwordSalt'] . '\''));


Code (Arayin:) Select

$user_settings['passwd'] = $sha_passwd;
$user_settings['passwordSalt'] = substr(md5(rand()), 0, 4);


Code (Degistirin:) Select

$user_settings['passwd'] = $sha_passwd;
$user_settings['passwordSalt'] = substr(md5(mt_rand()), 0, 4);


Code (Arayin:) Select

$user_settings['passwordSalt'] = substr(md5(rand()), 0, 4);
updateMemberData($user_settings['ID_MEMBER'], array('passwordSalt' => '\'' . $user_settings['passwordSalt'] . '\''));


Code (Degistirin:) Select

$user_settings['passwordSalt'] = substr(md5(mt_rand()), 0, 4);
updateMemberData($user_settings['ID_MEMBER'], array('passwordSalt' => '\'' . $user_settings['passwordSalt'] . '\''));


Aranacak Dosya:
../Sources/ManageMembers.php


Code (Arayin:) Select

* Software Version:           SMF 1.1                                             *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

"$txt[admin_approve_accept_desc] $txt[719] $member[name]\n\n" .


Code (Degistirin:) Select

"$txt[admin_approve_accept_desc] $txt[719] $member[username]\n\n" .


Code (Arayin:) Select

// We have to do this for each member I'm afraid.
foreach ($member_info as $member)
{
// Generate a random activation code.
$validation_code = substr(preg_replace('/\W/', '', md5(rand())), 0, 10);


Code (Degistirin:) Select

require_once($sourcedir . '/Subs-Members.php');

// We have to do this for each member I'm afraid.
foreach ($member_info as $member)
{
// Generate a random activation code.
$validation_code = generateValidationCode();


Aranacak Dosya:
../Sources/ManageRegistration.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.2                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());


Code (Degistirin:) Select

$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(mt_rand());


Aranacak Dosya:
../Sources/PersonalMessage.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$context['visual_verification'] = !$user_info['is_admin'] && !empty($modSettings['pm_posts_verification']) && $user_info['posts'] < $modSettings['pm_posts_verification'];
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());

// Skip I, J, L, O, Q, S and Z.
$character_range = array_merge(range('A', 'H'), array('K', 'M', 'N', 'P'), range('R', 'Z'));

// Generate a new code.
$_SESSION['visual_verification_code'] = '';
for ($i = 0; $i < 5; $i++)
$_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];
}


Code (Degistirin:) Select

$context['visual_verification'] = !$user_info['is_admin'] && !empty($modSettings['pm_posts_verification']) && $user_info['posts'] < $modSettings['pm_posts_verification'];
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(mt_rand());

// Skip I, J, L, O, Q, S and Z.
$character_range = array_merge(range('A', 'H'), array('K', 'M', 'N', 'P'), range('R', 'Z'));

// Generate a new code.
$_SESSION['visual_verification_code'] = '';
for ($i = 0; $i < 5; $i++)
$_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];
}


Code (Arayin:) Select

// Check whether we need to show the code again.
$context['visual_verification'] = !$user_info['is_admin'] && !empty($modSettings['pm_posts_verification']) && $user_info['posts'] < $modSettings['pm_posts_verification'];
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());
}


Code (Degistirin:) Select

// Check whether we need to show the code again.
$context['visual_verification'] = !$user_info['is_admin'] && !empty($modSettings['pm_posts_verification']) && $user_info['posts'] < $modSettings['pm_posts_verification'];
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(mt_rand());
}


Aranacak Dosya:
../Sources/Profile.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$validationCode = substr(preg_replace('/\W/', '', md5(rand())), 0, 10);


Code (Degistirin:) Select

require_once($sourcedir . '/Subs-Members.php');
$validationCode = generateValidationCode();


Code (Arayin:) Select

// Get some totals for pagination.
$request = db_query("
SELECT COUNT(*)
FROM {$db_prefix}messages
WHERE posterIP $dbip", __FILE__, __LINE__);


Code (Degistirin:) Select

// Get some totals for pagination.
$request = db_query("
SELECT COUNT(*)
FROM {$db_prefix}messages AS m
INNER JOIN {$db_prefix}boards AS b ON (b.ID_BOARD = m.ID_BOARD)
WHERE $user_info[query_see_board]
AND m.posterIP $dbip", __FILE__, __LINE__);


Code (Arayin:) Select

// !!!SLOW This query is using a filesort.
$request = db_query("
SELECT
m.ID_MSG, m.posterIP, IFNULL(mem.realName, m.posterName) AS display_name, mem.ID_MEMBER,
m.subject, m.posterTime, m.ID_TOPIC, m.ID_BOARD
FROM {$db_prefix}messages AS m
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE m.posterIP $dbip
ORDER BY m.ID_MSG DESC
LIMIT $context[message_start], 20", __FILE__, __LINE__);


Code (Degistirin:) Select

// !!!SLOW This query is using a filesort.
$request = db_query("
SELECT
m.ID_MSG, m.posterIP, IFNULL(mem.realName, m.posterName) AS display_name, mem.ID_MEMBER,
m.subject, m.posterTime, m.ID_TOPIC, m.ID_BOARD
FROM {$db_prefix}messages AS m
INNER JOIN {$db_prefix}boards AS b ON (b.ID_BOARD = m.ID_BOARD)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE $user_info[query_see_board]
AND m.posterIP $dbip
ORDER BY m.ID_MSG DESC
LIMIT $context[message_start], 20", __FILE__, __LINE__);


Aranacak Dosya:
../Sources/Register.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());


Code (Degistirin:) Select

$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(mt_rand());


Code (Arayin:) Select

$regOptions['theme_vars'] = isset($_POST['options']) && is_array($_POST['options']) ? $_POST['options'] : array();


Code (Degistirin:) Select

$regOptions['theme_vars'] = isset($_POST['options']) && is_array($_POST['options']) ? htmlspecialchars__recursive($_POST['options']) : array();


Code (Arayin:) Select

$context['verificiation_sound_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand()) . ';format=.wav';


Code (Degistirin:) Select

$context['verificiation_sound_href'] = $scripturl . '?action=verificationcode;rand=' . md5(mt_rand()) . ';format=.wav';


Aranacak Dosya:
../Sources/Reminder.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.2                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

// Randomly generate a new password, with only alpha numeric characters that is a max length of 10 chars.
$password = substr(preg_replace('/\W/', '', md5(rand())), 0, 10);


Code (Degistirin:) Select

// Randomly generate a new password, with only alpha numeric characters that is a max length of 10 chars.
require_once($sourcedir . '/Subs-Members.php');
$password = generateValidationCode();


Aranacak Dosya:
../Sources/Security.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

// Use the kick_guest sub template...
$context['kick_message'] = $message;
$context['sub_template'] = 'kick_guest';
$context['page_title'] = $txt[34];


Code (Degistirin:) Select

// Use the kick_guest sub template...
$context['kick_message'] = $message;
$context['page_title'] = $txt[34];


Code (Arayin:) Select

$context['form_sequence_number'] = 0;
while (empty($context['form_sequence_number']) || in_array($context['form_sequence_number'], $_SESSION['forms']))
$context['form_sequence_number'] = rand(1, 16000000);


Code (Degistirin:) Select

$context['form_sequence_number'] = 0;
while (empty($context['form_sequence_number']) || in_array($context['form_sequence_number'], $_SESSION['forms']))
$context['form_sequence_number'] = mt_rand(1, 16000000);


Code (Arayin:) Select

// Don't check, just free the stack number.
elseif ($action == 'free' && isset($_REQUEST['seqnum']) && in_array($_REQUEST['seqnum'], $_SESSION['forms']))


Code (Degistirin:) Select

// Don't check, just free the stack number.
elseif ($action == 'free' && isset($_REQUEST['seqnum']) && in_array($_REQUEST['seqnum'], $_SESSION['forms']))


Aranacak Dosya:
../Sources/SplitTopics.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.2                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$_REQUEST['targetboard'] = isset($_REQUEST['targetboard']) ? (int) $_REQUEST['targetboard'] : $board;
$context['target_board'] = $_REQUEST['targetboard'];


Code (Degistirin:) Select

$_REQUEST['targetboard'] = isset($_REQUEST['targetboard']) ? (int) $_REQUEST['targetboard'] : $board;
$context['target_board'] = $_REQUEST['targetboard'];

if (!isset($_GET['from']))
fatal_lang_error(1);
$_GET['from'] = (int) $_GET['from'];


Code (Arayin:) Select

// Handle URLs from MergeIndex.
if (!empty($_GET['from']) && !empty($_GET['to']))
$topics = array($_GET['from'], $_GET['to']);


Code (Degistirin:) Select

// Handle URLs from MergeIndex.
if (!empty($_GET['from']) && !empty($_GET['to']))
$topics = array((int) $_GET['from'], (int) $_GET['to']);


Code (Arayin:) Select

// Make sure the template knows everything...
$context['target_board'] = $_GET['targetboard'];
$context['target_topic'] = $_GET['to'];


Code (Degistirin:) Select

// Make sure the template knows everything...
$context['target_board'] = (int) $_GET['targetboard'];
$context['target_topic'] = (int) $_GET['to'];


Aranacak Dosya:
../Sources/Stats.php


Code (Arayin:) Select

* Software Version:           SMF 1.1                                             *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

// Topic poster top 10.
$members_result = db_query("
SELECT ID_MEMBER, realName
FROM {$db_prefix}members
WHERE ID_MEMBER IN (" . implode(', ', array_keys($members)) . ")
GROUP BY ID_MEMBER
ORDER BY FIND_IN_SET(ID_MEMBER, '" . implode(',', array_keys($members)) . "')
LIMIT 10", __FILE__, __LINE__);


Code (Degistirin:) Select

// Topic poster top 10.
$members_result = db_query("
SELECT ID_MEMBER, realName
FROM {$db_prefix}members
WHERE ID_MEMBER IN (" . implode(', ', array_keys($members)) . ")
ORDER BY FIND_IN_SET(ID_MEMBER, '" . implode(',', array_keys($members)) . "')
LIMIT 10", __FILE__, __LINE__);


Code (Arayin:) Select

$out .= "Content-Length: $length\r\n\r\n";
$out .= "$stats_to_send\r\n";
$out .= "Connection: Close\r\n\r\n";


Code (Degistirin:) Select

$out .= "Content-Length: $length\r\n\r\n";
$out .= "$stats_to_send\r\n";
$out .= "Connection: Close\r\n\r\n";


Aranacak Dosya:
../Sources/Subs.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$context['random_news_line'] = $context['news_lines'][rand(0, count($context['news_lines']) - 1)];


Code (Degistirin:) Select

$context['random_news_line'] = $context['news_lines'][mt_rand(0, count($context['news_lines']) - 1)];


Code (Arayin:) Select

// Naughty, naughty.
if (rand(0, 2) == 1)


Code (Degistirin:) Select

// Naughty, naughty.
if (mt_rand(0, 2) == 1)


Code (Arayin:) Select

// Try the Linux host command, perhaps?
if (!isset($host) && (strpos(strtolower(PHP_OS), 'win') === false || strpos(strtolower(PHP_OS), 'darwin') !== false) && rand(0, 1) == 1)


Code (Degistirin:) Select

// Try the Linux host command, perhaps?
if (!isset($host) && (strpos(strtolower(PHP_OS), 'win') === false || strpos(strtolower(PHP_OS), 'darwin') !== false) && mt_rand(0, 1) == 1)


Code (Arayin:) Select

// This is nslookup; usually only Windows, but possibly some Unix?
if (!isset($host) && strpos(strtolower(PHP_OS), 'win') !== false && strpos(strtolower(PHP_OS), 'darwin') === false && rand(0, 1) == 1)


Code (Degistirin:) Select

// This is nslookup; usually only Windows, but possibly some Unix?
if (!isset($host) && strpos(strtolower(PHP_OS), 'win') !== false && strpos(strtolower(PHP_OS), 'darwin') === false && mt_rand(0, 1) == 1)


Code (Arayin:) Select


?>


Code (Degistirin:) Select

// Generate a random seed and ensure it's stored in settings.
function smf_seed_generator()
{
global $modSettings;

// Never existed?
if (empty($modSettings['rand_seed']))
{
$modSettings['rand_seed'] = microtime() * 1000000;
updateSettings(array('rand_seed' => $modSettings['rand_seed']));
}

if (@version_compare(PHP_VERSION, '4.2.0') == -1)
{
$seed = ($modSettings['rand_seed'] + ((double) microtime() * 1000003)) & 0x7fffffff;
mt_srand($seed);
}

// Change the seed.
updateSettings(array('rand_seed' => mt_rand()));
}

?>


Aranacak Dosya:
../Sources/Subs-Auth.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.3                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

session_id(strtolower(md5(uniqid(rand(), true))));


Code (Degistirin:) Select

session_id(strtolower(md5(uniqid(mt_rand(), true))));


Code (Arayin:) Select

// Generate a random password.
$newPassword = substr(preg_replace('/\W/', '', md5(rand())), 0, 10);
$newPassword_sha1 = sha1(strtolower($user) . $newPassword);


Code (Degistirin:) Select

// Generate a random password.
require_once($sourcedir . '/Subs-Members.php');
$newPassword = generateValidationCode();
$newPassword_sha1 = sha1(strtolower($user) . $newPassword);


Aranacak Dosya:
../Sources/Subs-Compat.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

// Make sure random means random.
if (@version_compare(PHP_VERSION, '4.2.0') == -1)
{
function smf_seed_generator()
{
global $modSettings;

if (empty($modSettings['rand_seed']))
{
$modSettings['rand_seed'] = microtime() * 1000000;
updateSettings(array('rand_seed' => $modSettings['rand_seed']));
}
$seed = ($modSettings['rand_seed'] + ((double) microtime() * 1000003)) & 0x7fffffff;
srand($seed);
// Change the seed?
if (rand(1, 250) == 69)
updateSettings(array('rand_seed' => rand()));
}
}

?>


Code (Degistirin:) Select


?>


Aranacak Dosya:
../Sources/Subs-Graphics.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$foreground_color[$i] = rand(max($foreground_color[$i] - 3, 0), min($foreground_color[$i] + 3, 255));


Code (Degistirin:) Select

$foreground_color[$i] = mt_rand(max($foreground_color[$i] - 3, 0), min($foreground_color[$i] + 3, 255));


Code (Arayin:) Select

$dotbgcolor[$i] = $background_color[$i] < $foreground_color[$i] ? rand(0, max($foreground_color[$i] - 20, 0)) : rand(min($foreground_color[$i] + 20, 255), 255);


Code (Degistirin:) Select

$dotbgcolor[$i] = $background_color[$i] < $foreground_color[$i] ? mt_rand(0, max($foreground_color[$i] - 20, 0)) : mt_rand(min($foreground_color[$i] + 20, 255), 255);


Code (Arayin:) Select

$angle = rand(-100, 100) / ($rotationType == 'high' ? 6 : 10);


Code (Degistirin:) Select

$angle = mt_rand(-100, 100) / ($rotationType == 'high' ? 6 : 10);


Code (Arayin:) Select

$new_index = rand(0, count($colours) - 1);


Code (Degistirin:) Select

$new_index = mt_rand(0, count($colours) - 1);


Code (Arayin:) Select

$char_fg_color = array(rand(max($foreground_color[0] - 2, 0), $foreground_color[0]), rand(max($foreground_color[1] - 2, 0), $foreground_color[1]), rand(max($foreground_color[2] - 2, 0), $foreground_color[2]));


Code (Degistirin:) Select

$char_fg_color = array(mt_rand(max($foreground_color[0] - 2, 0), $foreground_color[0]), mt_rand(max($foreground_color[1] - 2, 0), $foreground_color[1]), mt_rand(max($foreground_color[2] - 2, 0), $foreground_color[2]));


Code (Arayin:) Select

$font_size = $gd2 ? rand(17, 19) : rand(18, 25);


Code (Degistirin:) Select

$font_size = $gd2 ? mt_rand(17, 19) : mt_rand(18, 25);


Code (Arayin:) Select

$font_y = $max_height - ($fontVerPos == 'vrandom' ? rand(2, 8) : ($fontVerPos == 'random' ? rand(3, 5) : 5));


Code (Degistirin:) Select

$font_y = $max_height - ($fontVerPos == 'vrandom' ? mt_rand(2, 8) : ($fontVerPos == 'random' ? mt_rand(3, 5) : 5));


Code (Arayin:) Select

$fontface = $settings['default_theme_dir'] . '/fonts/' . $ttfont_list[rand(0, count($ttfont_list) - 1)];


Code (Degistirin:) Select

$fontface = $settings['default_theme_dir'] . '/fonts/' . $ttfont_list[mt_rand(0, count($ttfont_list) - 1)];


Code (Arayin:) Select

$is_reverse = $showReverseChars ? rand(0, 1) : false;


Code (Degistirin:) Select

$is_reverse = $showReverseChars ? mt_rand(0, 1) : false;


Code (Arayin:) Select

$rotated_char = imagerotate($char_image, rand(-100, 100) / 10, $char_bgcolor);


Code (Degistirin:) Select

$rotated_char = imagerotate($char_image, mt_rand(-100, 100) / 10, $char_bgcolor);


Code (Arayin:) Select

for ($i = rand(0, 2); $i < $max_height; $i += rand(1, 2))
for ($j = rand(0, 10); $j < $total_width; $j += rand(1, 15))
imagesetpixel($code_image, $j, $i, rand(0, 1) ? $fg_color : $randomness_color);


Code (Degistirin:) Select

for ($i = mt_rand(0, 2); $i < $max_height; $i += mt_rand(1, 2))
for ($j = mt_rand(0, 10); $j < $total_width; $j += mt_rand(1, 15))
imagesetpixel($code_image, $j, $i, mt_rand(0, 1) ? $fg_color : $randomness_color);


Code (Arayin:) Select

if (rand(0, 1))
{
$x1 = rand(0, $total_width);
$x2 = rand(0, $total_width);
$y1 = 0; $y2 = $max_height;
}
else
{
$y1 = rand(0, $max_height);
$y2 = rand(0, $max_height);
$x1 = 0; $x2 = $total_width;
}

imageline($code_image, $x1, $y1, $x2, $y2, rand (0, 1) ? $fg_color : $randomness_color);


Code (Degistirin:) Select

if (mt_rand(0, 1))
{
$x1 = mt_rand(0, $total_width);
$x2 = mt_rand(0, $total_width);
$y1 = 0; $y2 = $max_height;
}
else
{
$y1 = mt_rand(0, $max_height);
$y2 = mt_rand(0, $max_height);
$x1 = 0; $x2 = $total_width;
}

imageline($code_image, $x1, $y1, $x2, $y2, mt_rand(0, 1) ? $fg_color : $randomness_color);


Aranacak Dosya:
../Sources/Subs-Members.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

$validation_code = substr(preg_replace('/\W/', '', md5(rand())), 0, 10);


Code (Degistirin:) Select

$validation_code = generateValidationCode();


Code (Arayin:) Select

srand(time() + 1277);
$regOptions['password'] = substr(preg_replace('/\W/', '', md5(rand())), 0, 10);


Code (Degistirin:) Select

mt_srand(time() + 1277);
$regOptions['password'] = generateValidationCode();


Code (Arayin:) Select

'passwordSalt' => '\'' . substr(md5(rand()), 0, 4) . '\'',


Code (Degistirin:) Select

'passwordSalt' => '\'' . substr(md5(mt_rand()), 0, 4) . '\'',


Code (Arayin:) Select


?>


Code (Degistirin:) Select

// Generate a random validation code.
function generateValidationCode()
{
global $modSettings;

$request = db_query('
SELECT RAND()', __FILE__, __LINE__);

list ($dbRand) = mysql_fetch_row($request);
mysql_free_result($request);

return substr(preg_replace('/\W/', '', sha1(microtime() . mt_rand() . $dbRand . $modSettings['rand_seed'])), 0, 10);
}

?>


Aranacak Dosya:
../Sources/Subs-Sound.php


Code (Arayin:) Select

* Software Version:           SMF 1.1.5                                           *


Code (Degistirin:) Select

* Software Version:           SMF 1.1.6                                           *


Code (Arayin:) Select

srand(end(unpack('n', md5($word . session_id()))));


Code (Degistirin:) Select

mt_srand(end(unpack('n', md5($word . session_id()))));


Code (Arayin:) Select

switch ($word{$i} === 's' ? 0 : rand(0, 2))


Code (Degistirin:) Select

switch ($word{$i} === 's' ? 0 : mt_rand(0, 2))


Code (Arayin:) Select

for ($k = 0, $m = round(rand(15, 25) / 10); $k < $m; $k++)
$sound_word .= $word{$i} === 's' ? $sound_letter{$j} : chr(rand(max(ord($sound_letter{$j}) - 1, 0x00), min(ord($sound_letter{$j}) + 1, 0xFF)));


Code (Degistirin:) Select

for ($k = 0, $m = round(mt_rand(15, 25) / 10); $k < $m; $k++)
$sound_word .= $word{$i} === 's' ? $sound_letter{$j} : chr(mt_rand(max(ord($sound_letter{$j}) - 1, 0x00), min(ord($sound_letter{$j}) + 1, 0xFF)));


Code (Arayin:) Select

$sound_word .= (rand(0, 3) == 0 ? '' : $sound_letter{$j}) . (rand(0, 3) === 0 ? $sound_letter{$j + 1} : $sound_letter{$j}) . (rand(0, 3) === 0 ? $sound_letter{$j} : $sound_letter{$j + 1})  . $sound_letter{$j + 1} . (rand(0, 3) == 0 ? $sound_letter{$j + 1} : '');


Code (Degistirin:) Select

$sound_word .= (mt_rand(0, 3) == 0 ? '' : $sound_letter{$j}) . (mt_rand(0, 3) === 0 ? $sound_letter{$j + 1} : $sound_letter{$j}) . (mt_rand(0, 3) === 0 ? $sound_letter{$j} : $sound_letter{$j + 1})  . $sound_letter{$j + 1} . (mt_rand(0, 3) == 0 ? $sound_letter{$j + 1} : '');


Code (Arayin:) Select

if (rand(0, 10) === 0)
$shift += rand(-3, 3);
for ($k = 0, $m = round(rand(15, 25) / 10); $k < $m; $k++)


Code (Degistirin:) Select

if (mt_rand(0, 10) === 0)
$shift += mt_rand(-3, 3);
for ($k = 0, $m = round(mt_rand(15, 25) / 10); $k < $m; $k++)


Code (Arayin:) Select

$sound_word .= str_repeat(chr(0x80), rand(10000, 10500));


Code (Degistirin:) Select

$sound_word .= str_repeat(chr(0x80), mt_rand(10000, 10500));

MuratbanK

#77
Quote from: KenaNeoN on September 08, 2008, 08:29:05 AM
Ama dönüp baktığımda hala 1.1.5 gözüküyor.

aynen. kurulumda hata almadım. her şeyi kurdum ama halen
Powered by SMF 1.1.5| SMF © 2008, Simple Machines LLC
yazıyor...

düzenleme: manuel kurlumu deniyorum.

düzenleme: manuel kurulumu yaptım ve herhangi bir sorunla karşılaşmadım.

Powered by SMF 1.1.6 | SMF © 2008, Simple Machines LLC

epey uzun sürüyor. sabır işi; peygamber sabrı lazım :D ama benim gibi admin panelinden veya patch ile sürüm yükseltemeyenler için işe yaradığı kesin.

teşekkürler yağız kardeşim

zaqer

bende de Badboy verdiği linkte çok dosyada hata verdi ama yarı manuel yarı mod olarak kurup hallettim yanlız inde.php dosyasında beyaz sayfa hatası aldım

// Seed the random generator for PHP < 4.2.0.
if (@version_compare(PHP_VERSION, '4.2.0') == -1)

manueldeki bu kodları deyiştirdiğim zaman beyaz sayfa hatası alıyorum acaba neden

nuwanda14

Beta 3'ten 4'e geçtim ve nasıl geri dönebilirim diye kara kara düşünmekteyim.

Advertisement: