![]() |
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 ? |
Which hook_location are you using? What is the contents of Thread_posts_location ? Is anything getting fetched at all from the template?
|
the hook location is : postbit_display_start
the content of my template : PHP Code:
|
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?)
|
Thanks Dear :)
solve it the hook location was wrong the corretc one : postbit_display_complete |
All times are GMT. The time now is 11:47 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:
|