Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin وورد 2.5 تعطيل صورة فلاش / فيديو / وسائل الإعلام مع البرنامج المساعد الايداع

WordPress 2.5 وورد 2.5 features a new media (including image, video and file) uploader that built on Adobe Flash technology which supports multiple files uploading to the gallery at one time and upload progress indicator bar. ملامح جديدة وسائل الاعلام (بما فيها الصور والفيديو والصورة) الايداع التي تقوم على تقنية أدوبي فلاش الذي يدعم تحميل ملفات متعددة لمعرض في وقت واحد وتقدم مؤشر تحميل العارضة. Unfortunately, the media uploader has numerous ولسوء الحظ ، فإن العديد من وسائل الاعلام الايداع bugs and problems والمشاكل التي عانت منها , which basically make the Flash uploader not working, or not successfully uploading the files. ، والتي تجعل أساسا فلاش الايداع لا تعمل ، أو عدم النجاح في تحميل الملفات.

There are a few symptoms for the broken Flash uploader error. وهناك عدد قليل من الاعراض لكسر فلاش الايداع الخطأ. For example, blogger can adds the files to upload, but nothing happen or progress to upload the selected files. على سبيل المثال ، يمكن أن يضيف المدون لتحميل الملفات ، ولكن لا شيء يحدث ، أو التقدم لتحميل الملفات المختارة. Sometimes the upload process manages to get to “Crunching” but stop working after, or comes out with HTTP error, or even worse, freeze and crash the browser to not responding. في بعض الأحيان عملية التحميل نجحت في الحصول على "الطحن" ولكن بعد التوقف عن العمل ، أو تخرج مع النص المتشعب خطأ ، أو أسوأ ، وتجميد وتحطم المتصفح لعدم الرد. Other reported problems including the the add media buttons disappearing or not showing up. وأفادت غيرها من المشاكل بما فيها وسائل الإعلام إضافة أزرار تختفي أو لا تظهر.

WordPress Support has وورد الدعم listed المدرجة several steps to check and fix the possible problems that cause user cannot upload photos, images, videos, music and other media files in WordPress 2.5. عدة خطوات لفحص وتحديد المشاكل المحتملة التي تسبب المستخدم لا يمكن تحميل الصور ، والصور ، والفيديو والموسيقى وغيرها من وسائل الاعلام في ملفات وورد 2.5. If the Flash based media uploader does not work after whatever effort, workaround and solution been done, including some إذا كانت وسائل الاعلام فلاش الايداع لا يعمل ما بعد جهد ، والحل workaround حدث ، بما في ذلك بعض bug علة fixes ويحدد , such as disable conflicting plugin and bypass mod_security to try to solve the error and issue, there is a plugin to force disable (or later re-enable) the Flash uploader. مثل تعطيل البرنامج المساعد متضاربة وتجاوز mod_security لمحاولة حل هذه المسألة والخطأ ، ثمة قوة لتعطيل البرنامج المساعد (أو في وقت لاحق إعادة تمكين) فلاش الايداع.

To enable the Flash media uploader to be disabled via plugin, a filter has to be added to Flash uploader (only on WordPress version 2.5.x, as the change is set to implement in milestone version 2.6). لتمكين وسائل الإعلام فلاش الايداع ليتم تعطيلها من خلال البرنامج المساعد ، ومرشح لتضاف الى الايداع فلاش (إلا على نسخة وورد 2.5.x ، حيث من المقرر ان التغيير في مرحلة لتنفيذ النسخة 2.6). To do so, edit the \wp-admin\includes\media.php file using your favorite text editor directly by logging in to server or locally (has to be uploaded and overwrite replaced the original media.php file). للقيام بذلك ، تحرير \ الفسفور الابيض بين المشرف \ يشمل \ media.php استخدام الملف المفضلة لديك محرر نصوص مباشرة عن طريق تسجيل الدخول إلى الخادم أو محليا (لابد من تحميلها وفوق محل media.php الملف الأصلي). Change the following code at around line 765 to 770. تغيير الشفرة بعد حوالي 765 إلى 770 خط.

Before: قبل :
$flash_action_url = get_option('siteurl') . "/wp-admin/async-upload.php"; دولار $flash_action_url = get_option('siteurl') . "/wp-admin/async-upload.php";

// If Mac and mod_security, no Flash. :(
$flash = true;
if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
دولار // If Mac and mod_security, no Flash. :(
$flash = true;
if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
دولار // If Mac and mod_security, no Flash. :(
$flash = true;
if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;

After: وبعد :
$flash_action_url = get_option('siteurl') . "/wp-admin/async-upload.php"; دولار $flash_action_url = get_option('siteurl') . "/wp-admin/async-upload.php";

$flash = apply_filters('flash_uploader', true);
// If Mac and mod_security, no Flash. :(
$flash = true;
if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
دولار $flash = apply_filters('flash_uploader', true);
// If Mac and mod_security, no Flash. :(
$flash = true;
if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
دولار $flash = apply_filters('flash_uploader', true);
// If Mac and mod_security, no Flash. :(
$flash = true;
if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
دولار $flash = apply_filters('flash_uploader', true);
// If Mac and mod_security, no Flash. :(
$flash = true;
if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
دولار $flash = apply_filters('flash_uploader', true);
// If Mac and mod_security, no Flash. :(
$flash = true;
if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;

Then, download the ثم تحميل no-flash-uploader.php لا فلاش uploader.php , and upload the PHP file to \wp-content\plugins\ directory, and activate the plugin via WordPress administration page. ، وتحميل الملف إلى PHP \ الفسفور الابيض محتوى \ الإضافات \ دليل ، وتفعيل البرنامج المساعد من خلال إدارة وورد في الصفحة. After activating to disable the Flash media uploader, the uploader will no longer make use of Flash technology, and all advanced features that come with it also been disabled. بعد تفعيل لتعطيل وسائل الاعلام فلاش الايداع ، الايداع لن فلاش الاستفادة من التكنولوجيا المتقدمة ، وجميع السمات التي تأتي مع ذلك كما تم تعطيل.

3rd Apr 08. 3rd 08 أبريل. Posted in نشر في Web Publishing والنشر على شبكة الإنترنت . .