Quote:
Originally Posted by wolfe
so how would i go about adding summit into the postbit template example above the user title and im adding {vb:raw rank} example
|
Well you could always have a customised template though you'd have to preregister the variable you wish to use for the postbit template.
Another option is using the template hooks that currently exist in the postbit. I can see three of them. I use one of them to add some custom profile fields underneath the posts.
So i just have a plugin with the following code (obviously setting up the $html variable just before):
PHP Code:
$template_hook['postbit_userinfo_right_after_posts'] .= $html;
The other two hooks inside the actual postbit are:
template_hook.postbit_userinfo_left
template_hook.postbit_userinfo_right
So I'd just give those three a try. userinfo_left seems the closest to what you need as it's just underneath the title and their use rank. And use the postbit_display_start hook for the plugin.
Though I have to question this rank variable your wishing to use. Is it one you've set up or? Because there's already a rank that is in the template: post.rank (as it holds the user rank for each post) And that's set to display just before that userinfo_left template hook.
Hopefully that answers a few of your questions.