![]() |
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 ? |
try postbit_display_complete
|
Quote:
PHP Code:
|
do um:
PHP Code:
|
All times are GMT. The time now is 12:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|