الدعم العربي
مشكلة بتحويل الروابط الى html - نسخة قابلة للطباعة

+- الدعم العربي (https://www.mybbarab.com)
+-- قسم : :: . + تطوير ودعم نسخة MyBB + . :: (https://www.mybbarab.com/forum-99.html)
+--- قسم : دعم منتديات MyBB 1.6 (https://www.mybbarab.com/forum-100.html)
+--- الموضوع : مشكلة بتحويل الروابط الى html (/thread-16962.html)



مشكلة بتحويل الروابط الى html - power555 - 2014-08-05

السلام عليكم ورحمة الله وبركاته

لدى مشكلة بتحويل الروابط الى html -- محتوى ملف الاتش اكسس

كود :
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>



RE: مشكلة بتحويل الروابط الى html - support - 2014-08-05

عليكم السلام ورحمة الله وبركاته


قبل ما اعطيك حل المشكلة لدي سؤال لك اخي العزيز 


لماذا حذفت حقوق الشركة الام للنسخة وايضا حقوقنا في تعريب النسخة 


هل تري هذا ليس من حقنا ؟ هل تري مجهود الشركة ومجهودنا لا يستحق هذا الشي البسيط ؟


اعتذر لن استطيع الرد علي مشكلتك وبالقوانين الجديده لن نسمح لاي شخص ان يضع مشكلة او يضع حل لموقع حذف الحقوق


تمنياتي بالتوفيق



RE: مشكلة بتحويل الروابط الى html - power555 - 2014-08-06

ممكن طريقة استرجاع الحقوق ؟؟ لانى جبت شخص دعم وهو اللى حذفها لانى ماعندى خبرة .. اسف على الخطأ


RE: مشكلة بتحويل الروابط الى html - fayssal - 2014-08-06

لا عليك اخي..


لاعادة حقوق نسخة mybb  اتبع الخطوات التالية:
ادخل لوحة الادارة / القوالب والستايلات  / القوالب


ستيل الدعم العربي Templates  تجد بجانبه خيارات / اختر اظهار القوالب ثم Footer Templates  اختر اظهار


قم بتحرير قالب الفوتر footer  
احذف كل ما يوجد فيه 
وقم بنسخ هذا القالب فيه




كود :
<div class="daamer">
</div>
</div>
</div>

            <div class="bottommenu">
<div class="float_left">
<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> |  <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
                </div>
<div class="float_right">{$lang_select}</div>
<!-->
<div class="time">
<div id="clock">Loading...</div>
<script type="text/javascript">
function refrClock()
{
var d=new Date();
var s=d.getSeconds();
var m=d.getMinutes();
var h=d.getHours();
var day=d.getDay();
var date=d.getDate();
var month=d.getMonth();
var year=d.getFullYear();
var days=new Array("الاحد","الاثنين","الثلاثاء","الاربعاء","الخميس","الجمعة","السبت");
var months=new Array("يناير","فبراير","مارس","ابريل","ماي","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر");
var am_pm;
if (s<10) {s="0" + s}
if (m<10) {m="0" + m}
if (h>12) {h-=12;am_pm = "مساءً."}
else {am_pm="صباحاً."}
if (h<10) {h="0" + h}
document.getElementById("clock").innerHTML=days[day] + " " + date + " من " + months[month] + " " + year + " , الساعة الان " + h + ":" + m + ":" + s + " " + am_pm;
setTimeout("refrClock()",1000);
}
refrClock();
</script>
</div>
<!-->
</div>
</div>
        <hr class="hidden" />
            <div id="copyright">    

            <div id="debug"><debugstuff></div>
                <!-- MyBB is free software developed and maintained by a volunteer community.
                     It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,
                     to show your support for MyBB.  If you choose to remove or modify the copyright below,
                     you may be refused support on the MyBB Community Forums.

                     This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://mybb.com/" target="_blank" rel="nofollow">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank" rel="nofollow">MyBB Group</a>.<br />
<!-->          
<div align="center">
<font size="2"><span lang="ar-eg">تصميم
    <a href="http://www.mybbarab.com/user-229182.html"> القلب الطيب (الدعم العربى) </a>
     اهداء الى
    [&nbsp; <a href="/index.php">{$mybb->settings['bbname']};</a> ]</span></font>

</div>
<!-->    
                <!-- End powered by -->
                <br />
<br class="clear" />
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>


ثم قم بحفظ القالب. بالضغط على حفظ ومتابعة التعديل



RE: مشكلة بتحويل الروابط الى html - power555 - 2014-08-06

تم 


RE: مشكلة بتحويل الروابط الى html - power555 - 2014-08-07

هل يوجد هاك لحل مشكلة الروابط ؟؟


RE: مشكلة بتحويل الروابط الى html - fayssal - 2014-08-07

اولا اجعل الاعدادات من لوحة الادارة كما بالصورة

http://im88.gulfup.com/3bDlaD.jpg

وانظر هل تتحول الروابط الى html

أحيانا لا يتم التعديل تلقائيا على ملف .htacces  داخل مجلد المنتدى لهذا تظهر لنا رسالة الخطا عند تصفح الاقسام.



جرب استبدل محتوى ملف htacc بهذا الكود:

كود :
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Ad
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>


او استبدله بالملف المرفق
وانظر هل يتم التحويل او لا.



RE: مشكلة بتحويل الروابط الى html - power555 - 2014-08-07

للاسف نفس المشكلة - حتى الرئيسية ماتفتح - ولما احذف ملف الاتش كسس تشتغل الرئيسية والاقسام لاتفتح

http://bb.sookanet.com/


RE: مشكلة بتحويل الروابط الى html - support - 2014-08-07

تأكد من مدير الاستضافه لديك ان السيرفر يدعم خاصيه mod-rewrite


لو شغاله عطل ضغط الصفحات وجرب وبلغني النتيجة