The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Hooks showthread_query_postids and showthread_query
|
#12
|
||||
|
||||
![]()
But how can I modify this query with the hook ?
If I add a query to this hook, it's the same thing that if I added it to the file ? How could I modify the query in the file ? I don't understand ... |
#13
|
||||
|
||||
![]()
It allows you to add extra columns to the query without adding a new query.
|
#14
|
||||
|
||||
![]()
An example amy ?
![]() You're interesting me ! |
#15
|
||||
|
||||
![]()
You can use the variables $hook_query_fields to add new fields, $hook_query_joins to add joins and $hook_query_where to add conditions.
Example PHP Code:
|
#16
|
||||
|
||||
![]()
Thanks Andreas
![]() Can this (by replacing variable's name) be done in every hook ? How could I have known it if you had not said it to me ? Isn't there a guide "the perferct vbulletin hacker's guide ?" ![]() |
#17
|
||||
|
||||
![]()
No, only in special query Hooks.
Well, you could just take a look at the source files - they are fully documented and the query Hooks as well as the variables are clearly visible there ![]() |
#18
|
||||
|
||||
![]()
OK, thank you
Other replies for the survey now, else my thread will be moved to an other forum ... ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|