The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have a hack that is meant to show a certain usergroups's members and it keeps giving SQL errors, first it was a table didn't exist then something else after that, I can't get it to work.
The Original SQL Query PHP Code:
Thanks in advance. |
#2
|
||||
|
||||
![]()
You need to post the actual error message - "something else" isn't much use.
![]() |
#3
|
||||
|
||||
![]()
Ok well here is the first one that says the table doesn't exist.
Database error in vBulletin 3.6.7: Quote:
|
#4
|
||||
|
||||
![]()
It should be user.usergroup = 12
|
#5
|
||||
|
||||
![]()
Whoops that was the error message from after I tried editing it to get it to work,
here the error message from when Its using the original query. Quote:
|
#6
|
||||
|
||||
![]()
Nothing has changed - the answer is the same ;
The WHERE statement should be user.usergroupid, not vb_user.usergroupid. |
#7
|
||||
|
||||
![]()
thats the table_prefix thingy *points to query in first*
|
#8
|
||||
|
||||
![]()
Yes, I know what it is, that's the point - you need to remove it from the where line, it's not needed.
![]() |
#9
|
||||
|
||||
![]()
Oh
![]() It works now! ![]() ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|