تحديث آخر نسخة 1.8.37

تقييم الموضوع :
  • 1 أصوات - بمعدل 5
  • 1
  • 2
  • 3
  • 4
  • 5
بريد المنتدى يذهب الى الجانك ميل وروابط المواضيع غير صحيحة
#1
النسخة
1.4.1
عندما كنت استخدم النسخة 1.2 كانت رسائل المنتدى التى تخبرنى بردود على المواضيع تصل الى الانبوكس وروابط المواضيع بداخلها سليمة

بعد التحديث الى النسخة 1.4 اصبحت تذهب الى الجانك ميل
ويكون اسم المرسل هكذا
منتديات سكايا نت" <[email protected]>;
فى الماضى كان يظهر ايميل المنتدى فقط

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

المشاركة التي حددتها غير موجودة.

فما حل هذه المشكلة ؟؟
ولكم جزيل الشكر
MyBB 1.4
الرد
شكر من طرف :
#2
بالنسبة لموضوع ان اسم مرسل الرسالة يكون بهذا الشكل اسم المنتدى<forum@mail>
فهذا ليس عيب فى النسخة ولا شئ. لكن يمكنك تعديله ليكون البريد فقط (مثلما كان الحال مسبقا)
عن طريق ملف inc/class_mailhandler.php
ابحث عن
PHP كود :
$this->from "\"{$mybb->settings['bbname']}\" <{$mybb->settings['adminemail']}>"
استبدله بالتالى
PHP كود :
$this->from $mybb->settings['adminemail']; 

اما بالنسبة لمشكلة الرابط الخطأ الذى يكون بداخل الرسالة
فنعم هذا كان خطأ منى بملف inc/languages/arabic/messages.lang.php
وقمت بإصلاحه بملفات 1.4.1
تأكد ان النسخة الموجودة لديك من هذا الملف هى النسخة الخاصة بـ 1.4.1 وان شاء الله ستحل المشكلة..
الرد
شكر من طرف :
#3
شكرا لردك السريع يابيبو
بالنسبة للملف
inc/class_mailhandler.php

كانت الصيغة الموجودة
كود :
$this->from = '"'.$this->utf8_encode($mybb->settings['bbname'].'"');
$this->from .= " <{$mybb->settings['adminemail']}>";

قمت بحذف
كود :
$this->from .= " <{$mybb->settings['adminemail']}>";
لتصل الرسائل باسم المنتدى حيث كنت اريد ذلك منذ زمن

اما مشكلة ملف messages.lang.php
فاين اجده اخى الكريم حيث انه غير موجود بملفات التحديث واسف انى باتعبك معايا
MyBB 1.4
الرد
شكر من طرف :
#4
بالنسبة لمسألة البريد يمكنك استبدال السطر كامل بالسطر الذى وضعته لك ( دون الحاجة للوسم <> )
بالنسبة للملف. فقد نسيت ان ارفقه ضمن الملفات فى الموضوع الخاص بالتحديث حيث انه لم يكن ضمن الملفات التى تم تحديثها مع الإصدار
لكنى قمت بتحديثه فقط لإصلاح اخطائه
على كل حال ستجده ضمن مجموعة ملفات اللغة العربية الموجودة بالموقع الإنجليزى الأن
الرد
شكر من طرف :
#5
شكرا لك يابيبو تم حل المشكلة الراوبط الان
MyBB 1.4
الرد
شكر من طرف :
#6
اخ بيبو الملف messages.lang.php

لا يوجد ملف بالعربي بين الملفات اين اجده بحثت بالملفات والمجلدات جميععا ولا اجد ملف اللغة العربيه او مجلد اللغه العربيه
الحنين
http://www.el7nen.com

الإصدار: MyBB 1.4.2
الرد
شكر من طرف :
#7
اخى الكريم الملف تجده داخل مجلد ملفات اللغة العربية وهو على المصار التالى
inc/languages/arabic
الرد
شكر من طرف :
#8
هذا محتوى ملف messages.lang.php مم ملف اللغه العربيه وعنما وضعته على المسار inc/languages/arabic/messages.lang.php
اصبحت بالانجلش وايضا الرابط اذا دخلت عليه غير موجود خطا
يعني ملف اللغة العربيه عندي فيه خطا


كود :
<?php
/**
* MyBB 1.4 English Language Pack
* Copyright © 2008 MyBB Group, All Rights Reserved
*
* $Id: messages.lang.php 3990 2008-07-06 01:01:20Z Tikitiki $
*/

$l['click_no_wait'] = "Click here if you don't want to wait any longer.";
$l['redirect_return_forum'] = "<br /><br />Alternatively, <a href=\"{1}\">return to the forum</a>.";
$l['redirect_emailsent'] = "Your e-mail message has been sent successfully.";
$l['redirect_loggedin'] = "You have successfully been logged in.<br />You will now be taken back to where you came from.";

$l['error_incompletefields'] = "It appears you have left one or more required fields blank. Please go back and enter the required fields.";
$l['error_alreadyuploaded'] = "This post already contains an attachment with the same name. Please rename the file and upload it again.";
$l['error_nomessage'] = "Sorry, we cannot proceed because you did not enter a valid message. Please go back and do so.";
$l['error_invalidemail'] = "You did not enter a valid email address.";
$l['error_nomember'] = "The member you specified is either invalid or doesn't exist.";
$l['error_maxposts'] = "I'm sorry, but your daily post limit has been exceeded.  Please wait till tomorrow to post further or contact your administrator.<br /><br />The maximum amount of posts you may make in a day is {1}";
$l['error_nohostname'] = "No hostname could be found for the IP you entered.";
$l['error_invalidthread'] = "The specified thread does not exist.";
$l['error_invalidpost'] = "The specified post does not exist.";
$l['error_invalidattachment'] = "The specified attachment does not exist.";
$l['error_invalidforum'] = "Invalid forum";
$l['error_closedinvalidforum'] = "You may not post in this forum either because the forum is closed, or it is a category.";
$l['error_attachtype'] = "The type of file that you attached is not allowed. Please remove the attachment or choose a different type.";
$l['error_attachsize'] = "The file you attached is too large. The maximum size for that type of file is {1} kilobytes.";
$l['error_uploadsize'] = "The size of the uploaded file is too large.";
$l['error_uploadfailed'] = "The file upload failed. Please choose a valid file and try again. ";
$l['error_uploadfailed_detail'] = "Error details: ";
$l['error_uploadfailed_php1'] = "PHP returned: Uploaded file exceeded upload_max_filesize directive in php.ini.  Please contact your forum administrator with this error.";
$l['error_uploadfailed_php2'] = "The uploaded file exceeded the maximum file size specified.";
$l['error_uploadfailed_php3'] = "The uploaded file was only partially uploaded.";
$l['error_uploadfailed_php4'] = "No file was uploaded.";
$l['error_uploadfailed_php6'] = "PHP returned: Missing a temporary folder.  Please contact your forum administrator with this error.";
$l['error_uploadfailed_php7'] = "PHP returned: Failed to write the file to disk.  Please contact your forum administrator with this error.";
$l['error_uploadfailed_phpx'] = "PHP returned error code: {1}.  Please contact your forum administrator with this error.";
$l['error_uploadfailed_nothingtomove'] = "An invalid file was specified, so the uploaded file could not be moved to its destination.";
$l['error_uploadfailed_movefailed'] = "There was a problem moving the uploaded file to its destination.";
$l['error_uploadfailed_lost'] = "The attachment could not be found on the server.";
$l['error_emailmismatch'] = "The email addresses you entered do not match. Please go back and try again";
$l['error_nopassword'] = "You did not enter a valid password.";
$l['error_usernametaken'] = "The username you have chosen is already registered.";
$l['error_nousername'] = "You did not enter a username.";
$l['error_invalidusername'] = "The username you have entered appears to be invalid.";
$l['error_invalidpassword'] = "The password you entered is incorrect. If you have forgotten your password, click <a href=\"member.php?action=lostpw\">here</a>. Otherwise, go back and try again.";
$l['error_postflooding'] = "We are sorry but we cannot process your post. The administrator has specified you are only allowed to post once every {1} seconds.";
$l['error_nopermission_guest_1'] = "You are either not logged in or do not have permission to view this page. This could be because one of the following reasons:";
$l['error_nopermission_guest_2'] = "You are not logged in or registered. Please use the form at the bottom of this page to login.";
$l['error_nopermission_guest_3'] = "You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be?  Check in the forum rules that you are allowed to perform this action.";
$l['error_nopermission_guest_4'] = "Your account may have been disabled by an administrator, or it may be awaiting account activation.";
$l['login'] = "Login";
$l['need_reg'] = "Need to register?";
$l['forgot_password'] = "Forgotten your password?";
$l['error_nopermission_user_1'] = "You do not have permission to access this page. This could be because of one of the following reasons:";
$l['error_nopermission_user_ajax'] = "You do not have permission to access this page.";
$l['error_nopermission_user_2'] = "Your account has either been suspended or you have been banned from accessing this resource.";
$l['error_nopermission_user_3'] = "You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.";
$l['error_nopermission_user_4'] = "Your account may still be awaiting activation or moderation.";
$l['error_nopermission_user_resendactivation'] = "Resend Activation Code";
$l['error_nopermission_user_5'] = "You are currently logged in with the username: '{1}'";
$l['logged_in_user'] = "Logged In User";
$l['error_too_many_images'] = "Too Many Images.";
$l['error_too_many_images2'] = "We are sorry, but we cannot process your post because it contains too many images. Please remove some images from your post to continue.";
$l['error_too_many_images3'] = "<b>Note:</b> The maximum amount of images per post is";
$l['error_attach_file'] = "Error Attaching File";
$l['please_correct_errors'] = "Please correct the following errors before continuing:";
$l['error_reachedattachquota'] = "Sorry but you cannot attach this file because you have reached your attachment quota of {1}";
$l['error_invaliduser'] = "The specified user is invalid or does not exist.";
$l['error_invalidaction'] = "Invalid action";
$l['error_messagelength'] = "Sorry, your message is too long and cannot be posted. Please try shortening your message and try again.";
$l['error_message_too_short'] = "Sorry, your message is too short and cannot be posted.";
$l['failed_login_wait'] = "You have failed to login within the required number of attempts. You must now wait {1}h {2}m {3}s before you can login again.";
$l['failed_login_again'] = "<br />You have <strong>{1}</strong> more login attempts.";
$l['error_max_emails_day'] = "You cannot use the 'Send Thread to a Friend' or the 'Email User' features because you've already used up your allocated quota of sending {1} messages in the past 24 hours.";
        
$l['emailsubject_lostpw'] = "Password Reset at {1}";
$l['emailsubject_passwordreset'] = "New password at {1}";
$l['emailsubject_subscription'] = "New Reply to {1}";
$l['emailsubject_randompassword'] = "Your Password for {1}";
$l['emailsubject_activateaccount'] = "Account Activation at {1}";
$l['emailsubject_forumsubscription'] = "New Thread in {1}";
$l['emailsubject_reportpost'] = "Reported post at {1}";
$l['emailsubject_reachedpmquota'] = "Private Messaging Quota Reached at {1}";
$l['emailsubject_changeemail'] = "Change of Email at {1}";
$l['emailsubject_newpm'] = "New Private Message at {1}";
$l['emailsubject_sendtofriend'] = "Interesting Web Page at {1}";
$l['emailbit_viewthread'] = "... (visit the thread to read more..)";

$l['email_lostpw'] = "{1},

To complete the phase of resetting your account password at {2}, you will need to go to the URL below in your web browser.

{3}/member.php?action=resetpassword&uid={4}&code={5}

If the above link does not work correctly, go to

{3}/member.php?action=resetpassword

You will need to enter the following:
Username: {1}
Activation Code: {5}

Thank you,
{2} Staff";


$l['email_reportpost'] = "{1} from {2} has reported this post:

{3}
{4}/{5}

The reason this user gave for reporting this post:
{7}

This message has been sent to all moderators of this forum, or all administrators and super moderators if there are no moderators.

Please check this post out as soon as possible.";

$l['email_passwordreset'] = "{1},

Your password at {2} has been reset.

Your new password is: {3}

You will need this password to login to the forums, once you login you should change it by going to your User Control Panel.

Thank you,
{2} Staff";

$l['email_randompassword'] = "{1},

Thank you for registering on {2}. Below is your username and the randomly generated password. To login to {2}, you will need these details.

Username: {3}
Password: {4}

It is recommended you change your password immediately after you login. You can do this by going to your User CP then clicking Change Password on the left menu.

Thank you,
{2} Staff";

$l['email_sendtofriend'] = "Hello,

{1} from {2} thought you may be interested in reading the following web page:

{3}

{1} included the following message:
------------------------------------------
{4}
------------------------------------------

Thank you,
{2} Staff
";

$l['email_forumsubscription'] = "{1},

{2} has just started a new thread in {3}. This is a forum you have subscribed to at {4}.

The thread is titled {5}

Here is an excerpt of the message:
--
{6}
--

To view the thread, you can go to the following URL:
{7}/{8}

There may also be other new threads and replies but you will not receive anymore notifications until you visit the board again.

Thank you,
{4} Staff

------------------------------------------
Unsubscription Information:

If you would not like to receive any more notifications of new threads in this forum, visit the following URL in your browser:
{7}/usercp2.php?action=removesubscription&type=forum&fid={9}

------------------------------------------";

$l['email_activateaccount'] = "{1},

To complete the registration process on {2}, you will need to go to the URL below in your web browser.

{3}/member.php?action=activate&uid={4}&code={5}

If the above link does not work correctly, go to

{3}/member.php?action=activate

You will need to enter the following:
Username: {1}
Activation Code: {5}

Thank you,
{2} Staff";

$l['email_subscription'] = "{1},

{2} has just replied to a thread which you have subscribed to at {3}. This thread is titled {4}.

Here is an excerpt of the message:
------------------------------------------
{5}
------------------------------------------

To view the thread, you can go to the following URL:
{6}/{7}

There may also be other replies to this thread but you will not receive anymore notifications until you visit the board again.

Thank you,
{3} Staff

------------------------------------------
Unsubscription Information:

If you would not like to receive any more notifications of replies to this thread, visit the following URL in your browser:
{6}/usercp2.php?action=removesubscription&tid={8}&key={9}

------------------------------------------";
$l['email_reachedpmquota'] = "{1},

This is an automated email from {2} to let you know that your Private Messaging inbox has reached its capacity.

One or more users may have tried to send you private messages and were unsuccessful in doing so because of this.

Please delete some of your private messages you currently have stored, remembering to also delete them from the 'Trash Can'.

Thank you,
{2} Staff
{3}";
$l['email_changeemail'] = "{1},

We have received a request on {2} to change your email address (see details below).

Old Email Address: {3}
New Email Address: {4}

If these changes are correct, please complete the validation process on {2} by going to the following URL in your web browser.

{5}/member.php?action=activate&uid={8}&code={6}

If the above link does not work correctly, go to

{5}/member.php?action=activate

You will need to enter the following:
Username: {7}
Activation Code: {6}

If you choose not to validate your new email address your profile will not be updated and will still contain your existing email address.

Thank you,
{2} Staff
{5}";

$l['email_newpm'] = "{1},
        
You have received a new private message on {3} from {2}. To view this message, you can follow this link:

{4}/private.php

Please note that you will not receive any further notifications of new messages until you visit {3}.

You can disable new message notifications on your account options page:

{4}/usercp.php?action=options

Thank you,
{3} Staff
{4}";

$l['email_emailuser'] = "{1},

{2} from {3} has sent you the following message:
------------------------------------------
{5}
------------------------------------------

Thank you,
{3} Staff
{4}

------------------------------------------
Don't want to receive email messages from other members?

If you don't want other members to be able to email you please visit your User Control Panel and enable the option 'Hide your email from other members':
{4}/usercp.php?action=options

------------------------------------------";
?>

اخ بيبو رجعت الملف للغه العربيه من ملفات النسخة القديمه المهم مشكلت اللغه انحلت
لكن المشكله الثانيه ما انحلت عندي وهي لمن تدخل البريد وتريد ان تدخل على الموضوع تاتي الرساله التاليه
المشاركة التي حددتها غير موجودة.
وايضا الرسائل تاتي على الجنك ميل على الرغم انه استبدلت

كود :
$this->from = "\"{$mybb->settings['bbname']}\" <{$mybb->settings['adminemail']}>";
ولم تحل المشكله
الحنين
http://www.el7nen.com

الإصدار: MyBB 1.4.2
الرد
شكر من طرف :
#9
اخى الكريم. بالنسبة لملف messages.lang.php من الذى قال لك ان تنسخه من الملفات الإنجليزية؟
قم بتحميل ملفات اللغة العربية من هنا ثم قم برفع الملف المطلوب من هذه الملفات.

بالنسبة لمشكلة البريد.. انت ذكرت السطر الذى يطبق عليه التغيير.. لكن ما هى القيمة التى غيرته اليها؟
الرد
شكر من طرف :
#10
غيرته الى هذه

كود :
$this->from = $mybb->settings['adminemail'];
الحنين
http://www.el7nen.com

الإصدار: MyBB 1.4.2
الرد
شكر من طرف :


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 5 ) ضيف كريم