The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi , I made forum that to allow Unregistered / Not Logged In to write any problems thay faced while they try to log in or register . and when they wrote
thier threaded the thread title show in the forum list but when I click on the tilte to read i got Database error error msg. ======================= Database error in vBulletin 3.0.7: Invalid SQL: SELECT COUNT(threadid) AS total FROM thread WHERE postuserid= mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 mysql error number: 1064 ======================= but when any member already logged on wrote any thread in the same forum it's show fine no any error . and all the Forum Permission fine I checked them well than I replaced " newthread.php & showthread.php " with new files but the problem still . my vb is 3.0.7 , how can I fix this problem ? Notice : it was work fine with out any error with users not registerd when i was useing vb 3.0.3 Thanks |
#2
|
||||
|
||||
![]()
hello
open includes/functions_showthread.php find: PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
all-the-vb thank you for your help
after replacing the new code It's work NOW with Unregistered / Not Logged In ,, but the error come's up with registered user after they Logged In ![]() but the threaded befor replaceing the new code didn't show up any idea ?? thanks |
#4
|
||||
|
||||
![]()
try this:
PHP Code:
|
#5
|
|||
|
|||
![]()
طبعاً الخطاء بسبب هاك عدد مواضيع العضو و عدد ردوده
و بعد تجربة الكود الأخير أصبح الخطاء في الملف في السطر رقم 675 و هو خطاء غير الخطاء السابق و عند إزالة الهاك بالكامل .. يتم إضافة أو مشاهدة موضوع للجميع سواء زوار أو أعضاء دون مشكله هل من حل ؟؟؟ تقديري لك و شكري |
#6
|
||||
|
||||
![]()
طيب ياريت اشوف الخطأ الجديد.؟
|
#7
|
|||
|
|||
![]()
في الهاك الخاص بعدد مواضيع العضو و عدد ردوده
كان هناك ثلاث إضافات في ملف includes/functions_showthread.php الأضافه الأولى global $DB_site; مباشره بعد PHP Code:
الأضافه الثانيه $mwacount = $post['posts']; مباشره بعد // format posts number أما الأضافه الثالثه و الأخيره فكانت PHP Code:
و بعد إزالة الأضافه الثانيه تماماً و إستبدال الأضافه الثالثه بالكامل بالكود الأخير في ردك الثاني لم يحدث أي مشكله على الأطلاق و أصبح بالأمكان للزائر أو العضو سواء مسجل دخول أو لم يسجل دخول أن يضيف أو يشاهد الموضوع الشي الوحيد و الذي إستجد بعد هذه المحاوله هو أنه أصبح في كل الأقسام هو أنه لا تظهر عدد مواضيع العضو أو ردوده ما لم يتم تسجيل الدخول و بعد تسجيل الدخول فإن خانة الردود تعرض رقم غير حقيقي لعدد الردود و يسبقها علامة (-) ناقص أما خانة المواضيع فهي تعرض الرقم الحقيقي لعدد مواضيع العضو مع بقاء إمكانية ظهور مجموع مشاركاته أي مجموع مواضيعه و ردوده مع بعض صحيحه في كل الحالتين سواء بعد أو قبل تسجيل الدخول و إذا لها حل أنتظر ردك كل تقديري و شكري لشخصك الكريم |
#8
|
|||
|
|||
![]()
Since this is an international board it is much apreciated if we could stick to English. If that is not possible, please take it to PM.
Thank you. |
#9
|
|||
|
|||
![]()
ok MarcoH64
sorry ,, and will keep on the forum rules |
#10
|
|||
|
|||
![]()
Thank you
![]() I can understand that you get carried away when you have the chance to discuss things like this in your own language. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|