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

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


 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 08-04-2010, 04:40 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

I have installed a hack that deletes visitor messages every 30 days. I have a problem with the fact that after it deletes the messages, people that haven't checked their visitor messages have "phantom" message notifications. I found a fix on vb.org for it that someone got here, however, it doesn't work properly on my site. I do not have table prefixes - I don't have my site going to www.mysite.com/forum/ - and the code incorporates a table prefix. I changed it to what I thought it should be, but it isn't getting rid of them. Can someone please just tell me how to edit this in order to take into account that I don't use table prefixes? I know that I should ask on vb.org and I have, but my members are driving me nuts about it.

Quote:
Originally Posted by TheInsaneManiac

Thanks to some staff on VBulletin I got a query that will reset the count after deletion. I then implemented it into the current code.

This is the code I need to edit:

Add Below:
Code:
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET vmunreadcount = '0'");



(and it's this hack, just FYI http://www.vbulletin.org/forum/showt...=174737&page=4)
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

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


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

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



الساعة الآن 08:54 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