![]() |
How to call up your own postbit?
I'm riddling about this a longer time:
How do i call up my own postbit? I don't want to use the normal postbit any longer for my gallery-hack, but i couldn't get it, to call up my own postbit. Could anyone be so nice and explain me? Thanks, Harald |
Try the following in a plugin...
Code:
hook: postbit_display_complete |
Tried, but made no visible effect.
|
postbit_factory
PHP Code:
PHP Code:
|
Thanks, this worked great!
|
Okay, I have made a few of my own postbit templates and used the postbit_display_complete hook to display them correctly.
However, when I Quick Edit the post, and click Save, it changes the postbit from my new postbit to the forum default. Where does this change take place? I have checked showthread.php, ajax.php, includes/functions_editor.php, includes/class_postbit.php, includes/class_xml.php, includes/class_ajax_output.php all to no avail. EDIT: Need to use hook postbit_display_complete to set $templatename when THIS_SCRIPT == 'editpost' as well. |
All times are GMT. The time now is 06:26 AM. |
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:
|