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

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

         :: صبابين و قهوجين ضيافه مباشر و قهوجي في جده 0552137702 (آخر رد :ksa ads)       :: تفسير حلم رؤية الجن (آخر رد :نوران نور)       :: تفسير ركوب حصان في الحلم (آخر رد :نوران نور)       :: تفسير حلم القنفذ (آخر رد :نوران نور)       :: رؤية شخص ميت في المنام وهو حي والبكاء عليه (آخر رد :نوران نور)       :: حلمت اني قتلت برص (آخر رد :نوران نور)       :: رش الماء في المنام (آخر رد :نوران نور)       :: تكحيل العين في المنام (آخر رد :نوران نور)       :: حلمت اني بتزوج (آخر رد :نوران نور)       :: حلمت اني ارضع طفل (آخر رد :نوران نور)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 06-05-2009, 06:10 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,611
عدد الـنقاط :3341
 تقييم المستوى : 2139

When someone does a search in vBulletin, it saves the search and generates a search.php?searchid=12345 URL. Once that saved search expires, the URL no longer works, and shows a misleading error message-- "Sorry - no matches. Please try some different terms" which is actually not true at all. There are matches, you just tried to view an old, expired search.

This problem can be fixed trivially without rewriting search.php.
  1. Submit the form as a GET request (instead of POST)
  2. Leave the parameters in the URL instead of redirecting to the searchid URL:
    1. Have this: http://www.vbulletin.com/forum/search.php?query=jelsoft&exactname=1&starteronly=0 &forumchoice[]=0&prefixchoice[]=&childforums=1&titleonly=0&showposts=0&searchda te =0&beforeafter=after&sortby=lastpost&sortorder=de s cending&replyless=0&replylimit=0&searchthreadid=0& saveprefs=1&quicksearch=0&searchtype=1&nocache=0&a jax=0
    2. Instead of this: http://www.vbulletin.com/forum/search.php?searchid=8190082
  3. That's it!
vBulletin already reuses searches by using a hash of the query and options to identify stored searches that can be reused. So if someone does an identical search from the search form, instead of using the searchid URL, it will still show the saved search.


So if you allow URLs like seach.php?query=jelsoft&options=x,y,z instead of search.php?searchid=32893298 then,
  1. The URL is more meaningful
  2. If that search is already saved, it still hits cache instead of re-running the search
  3. If the saved search is expired, it can re-run the search instead of showing the user a meaningless and false error page (that there are no results for their search, when there are results)
  4. People can link to searches that will work, whereas currently you can't.
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

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


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

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


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
Forum Is there a way to set the default search settings for regular searches محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-21-2010 04:40 AM
Search - time between searches محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-22-2010 06:00 PM
Allow each user to do 180 searches per 60-minute period محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 02-01-2010 01:20 AM
Invalid searches and search limit محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-16-2009 01:40 AM
Search Allow Searches for (no prefix) with no other conditionals محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 04-06-2009 09:20 PM


الساعة الآن 05:42 PM


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

RSS RSS 2.0 XML MAP HTML