انگلیسی فرانسوی
ورود کاربر    
 + ثبت نام
خانه >> xpress >> وبلاگ » 2009 » فوریه
 
revision : 2825
log message : Fixed data type for “timezone_offset”
revision url : http://xoops.svn.sourceforge.net/view … ps?view=rev&revision=2825
auther : phppp
change : htdocs/register.php

old code :



$timezone_offset 
= isset($_POST['timezone_offset']) ? intval($_POST['timezone_offset']) : $xoopsConfig['default_TZ'];

new code :



$timezone_offset 
= isset($_POST['timezone_offset']) ? (float)$_POST['timezone_offset'] : $xoopsConfig['default_TZ'];

in this revision (( intval )) changed with (( (float) )) . float cab be specified using and of the this syntaxes => http://ir.php.net/float

من یه کامپیوتر پنتیوم ۳ خونه دارم که خیلی داغونه . ویندوز اصلا روش جواب نمیده ( یعنی جون میکنه تا کار کنه ) من هم روش اوبنتو ( لینوکس ) نصب کردم شاید یکم بهتر بشه . خواهرم بعضی وقت ها با این سیستم کار میکنه و جدیدا شکایت داشت که گنوم ( رابطه گرافیکی پیش فرض اوبنتو ) خیلی کند شده . که علتش هم در پیت بودن بیش از حد سیستمه . خلاصه ما تصمیم گرفتیم یه جوری موقتا این پی سی رو راه بندازیم . اول میخواستم روش ویندوز ۲۰۰۰ نصب کنم که دیدم اون هم خیلی قدیمیه بنابراین تنها چاره نصب یه رباطه گرافیک سبک لینوکس روی سیستم بود .

اول میخواستیم xubuntu نصب کنیم که به طور پیش فرض رابطه گرافیکی xcfe رو ولی بعد به این نتیجه رسیدیم که حسش نیست از اول این لینوکس و ویندوزی که روی سیستم حذف کنیم و بعد اون رو نصب کنیم. بنابر این از توی گنوم رابطه گرافیکی xfce رو نصب کردم .

الان اون کامپیوتره واقعا سریع شده ( البته نسبت به قبل خودش ) .

نکته جالب اینجاست که من از رابطه گرافیکی xcfe خیلی خوشم اومد. :دی برای همین هم اینجا روی لپ تابم هم نصبش کردم. الان روی لپتابم هم kde4.2 دارم ‌و هم xcfe 4.4.3

kde یه رابطه گرافیکی سنگنیه .البته واقعا فوق العادس وقتی باهاش کارکنید احساس میکنید توی یه دنیای دیگه زندگی میکنید . چیز هایی داره که ویندوز اصلا نمیتونه به کاربرهاش بده . ولی این رابطه گرافیکی xcfe هم خیلی خوبه.

تمام قدرت لینوکس رو داره و تمام نرم افزار ها در دسترسه و به خوبی کار میکنه ولی واقعا سبکه و الان دقیقا میتونم تفاوت سرعت نرم اجرای نرم افزار ها رو احساس کنم. هیچ وقت یادم نمیاد فایر فاکس به این سرعت و سبکی اجرا بشه روی سیستم. !!!!

چند تا عکس از دسکتابم گرفتم که اینجا میگذارم . درسته ظاهرش خیلی سادس ولی بسیار سریع و قدرتمنده

تصویر بزرگتر

http://anakin.finalfantasy.ir/uploads/photos/xcfe/desktop1.png

و دو تا تصویر دیگه

http://anakin.finalfantasy.ir/uploads/photos/xcfe/desktop2.png

http://anakin.finalfantasy.ir/uploads/photos/xcfe/desktop3.png

revision : 2819
log message : Fixed bug #2602337: variable “XOOPS_VAR_PATH” is wrongly typed in upgrader 2.0.18 to 2.3.0
auther : phppp
revision url : http://xoops.svn.sourceforge.net/view … ps?view=rev&revision=2819
change:
1-upgrade/upd-2.0.18-to-2.3.0/pathcontroller.php

variable “XOOPS_VAR_PATH” is wrongly typed in upgrader 2.0.18 to 2.3.0 . in old upgrade scrip used “XOOPS_DATA_PATH” but after this bug fix “XOOPS_DATA_PATH” change to “XOOPS_VAR_PATH”.
you can see pathcontroller.php in line 65 and 66
in line 65 this code :



if ( defined(“XOOPS_DATA_PATH”) ) {

change to this



if ( defined(“XOOPS_VAR_PATH”) ) {

and in line 66 this code :



$this
->xoopsPath['data'] = XOOPS_DATA_PATH;

change to this :



$this
->xoopsPath['data'] = XOOPS_VAR_PATH;

revision : 2817

log message : Fixed bug in user.php: page is not accessible due to infinitive redirect loop if profile module is installed but permission is not set properly

revision url : http://xoops.svn.sourceforge.net/view … iew=rev&revision=2817

changes :

1-htdocs/include/common.php

2-htdocs/user.php

auther : phppp
In this revision phppp fixed bug in user.php . sometimes if admins used profile module with wrong permission , profile module not accessible for users.

ffor fix this bug he add some codes to user.php and change some codes in common.php .
in user.php he change



$module_handler 
xoops_gethandler(‘module’);
$profile_module $module_handler->getByDirname(‘profile’);
if (
$profile_module &&amp$profile_module->getVar(‘isactive’)) {
header(“location: ./modules/profile/user.php” . (empty($_SERVER['QUERY_STRING']) ? “” “?” $_SERVER['QUERY_STRING']) );
exit();
}


with



if (empty($_GET['from']) || ‘profile’ != $_GET['from']) {
$module_handler xoops_gethandler(‘module’);
$profile_module $module_handler->getByDirname(‘profile’);
if (
$profile_module &&amp$profile_module->getVar(‘isactive’)) {
header(“location: ./modules/profile/user.php” . (empty($_SERVER['QUERY_STRING']) ? “” “?” $_SERVER['QUERY_STRING']) );
exit();
}
}


he add this code in line 44



if (empty($_GET['from']) || ‘profile’ != $_GET['from']) {

and in common.php he change



redirect_header
(XOOPS_URL.“/user.php”1,_NOPERM);

with



redirect_header
(XOOPS_URL “/user.php?from=” $xoopsModule->getVar(‘dirname’‘n’), 1_NOPERM);

in line 334 .


XPressME Ver.1.09 SP2(included WordPress 2.7.1) (0.172sec. )
Last Design
شبکه دوستان
‌لیست نویسندگان
آمار