The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I want to modify the fetch_userinfo() function such that: it retrieves userid, username & password from another database. (this only for the normal users)
otherwise, (admins & moderators) retrieve the data from the VB3 database!) I have done this to check what can be done PHP Code:
where do I go to define a query?? |
#2
|
||||
|
||||
![]()
there is no function called myquery() just a function query() in the DB class of vb.
|
#3
|
||||
|
||||
![]()
yes, changed it to query and it...almost works. It goes to the redirect page, and when it gets redirected it the forum shows up all backwards....
the scroll bar is on the left, the words are from right to left, the buttons don't show up??? but this is only if i do a query in the if statement. like this: PHP Code:
PHP Code:
so i'm guessing there's a problem with the query. can anyone point it out? |
#4
|
||||
|
||||
![]()
well, you try to compare an integer value with an mysql result...
i don't see the sense of this condition at all, but i think you try to do something like that: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|