إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: افضل مركز للعناية بالسيارات بالرياض (آخر رد :رودى طه)       :: دورة الملكية الفكرية في التراث الشعبي (الفلوكلور) تقديم د.رباب المعبي (آخر رد :عمران بحر)       :: افضل انواع يد بلاستيشن 5 (آخر رد :بوابة الصين العربية)       :: موقع خاص لحجوزات الأفضل لتذاكر الطيران و حجوزات الفنادق (آخر رد :عمران بحر)       :: مقاول أسمنت بورد بالرياض | تركيب احترافي وجودة عالية 0551033861 (آخر رد :ksa ads)       :: افضل فساتين باسعار مميزة في السعودية (آخر رد :رودى طه)       :: افضل فساتين باسعار مميزة في السعودية (آخر رد :رودى طه)       :: دعوى ميراث بالرياض: دليل شامل لفهم الإجراءات القانونية (آخر رد :نادية معلم)       :: اخصائية مساج الخبر منزلى 0533972744 (آخر رد :رودى طه)       :: massage in riyadh (آخر رد :رودى طه)      

 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 03-24-2010, 10:50 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,669
عدد الـنقاط :3341
 تقييم المستوى : 2140

Hi
We just up upgraded from 3.8.4 to 3.8.5.

We saw the following error:
Contact Us form had a problem when the Subject radio button was chosen as "Other" even if you do type something in the associated text field. The error message stating that the Subject and Message were not entered even though something was written in the Other text field and a message was written in the Message text area.

Looking at forum/sendmessage.php line 229

// check we have a message and a subject

if ($message == '' OR $subject == ''
OR (
$vbulletin->options['contactusoptions']
AND $subject == 'other'
AND ($vbulletin->GPC['other_subject'] == '' OR !$vbulletin->options['contactusother'])
)
)
{
$errors[] = fetch_error('nosubject');
}

It seems as though $vbulletin->options['contactusother'] is not defined which would make that OR portion always true when the subject is other. We changed that clause to:

// check we have a message and a subject
if ($message == '' OR $subject == ''
OR (
$vbulletin->options['contactusoptions']
AND $subject == 'other'
AND ($vbulletin->GPC['other_subject'] == '')
)
)
{
$errors[] = fetch_error('nosubject');
}

The problem is now gone. Was this an error on our part somehow in the upgrade or is this a bug?

Thanks for your time looking !
Sincerely,
adam7
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 08:40 AM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML