The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
problem in the postbit
dear all
i am working in mod for shown the total counts of threads & posts in the postbit the mod almost ready but i stopped in one issue we have this code PHP Code:
in the plug in manager i add this PHP Code:
but no change can some one help me i want to remove $post[posts] by my template ? |
#2
|
||||
|
||||
Which hook_location are you using? What is the contents of Thread_posts_location ? Is anything getting fetched at all from the template?
|
#3
|
|||
|
|||
the hook location is : postbit_display_start
the content of my template : PHP Code:
|
#4
|
||||
|
||||
OK, you've created a link to a dropdown but you don't have any dropdown code at all. Have you tried other hook locations like postbit_display_complete? Or have you tried any sort of debugging like simply settings $this->post['posts'] to a value and seeing if it even works? Did you add the template to the globaltemplates array (cache_templates hook)? (Is it showing up in the list of templates at the bottom of the page when you are in debug mode?)
|
#5
|
|||
|
|||
Thanks Dear
solve it the hook location was wrong the corretc one : postbit_display_complete |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|