The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
how to know "which hook" ?
i try to create new plug-in to fetch (show in postpit) thread count which is posted by X
posbit_legacy : HTML Code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> | Total threads: <strong>$threadcount[count] (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>) hook : showthread_postbit_create PHP Code:
but do nothing , and following error HTML Code:
Fatal error: Using $this when not in object context in /forum/showthread.php(1044) : eval()'d code on line 2 how can i know (find out) which hook will i use ? any read me ? any referance ? |
#2
|
||||
|
||||
try postbit_display_complete
|
#3
|
||||
|
||||
PHP Code:
|
#4
|
||||
|
||||
do um:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|