View Full Version : using my own postbit in private msg
abramelin
10-22-2006, 12:43 PM
Today i realized when reading a pm on my site that vb uses the postbit template in private messages. How can i use my own postbit look in private messages instead of posbit template ?
Paul M
10-22-2006, 03:18 PM
Create a template called "postbit_pm" containing your custom PM postbit.
Create a plugin called "Use Custom Postbit for PM" using the postbit_display_complete hook.
Put this code in it ;
if ($post['pmid'])
{
$this->templatename = 'postbit_pm';
}
Note: This is not fully tested.
abramelin
10-22-2006, 03:47 PM
ok i will try this and tell the results to you but one last question. whats is the template of showing pms? i have to look at it for something.
FAST50
10-29-2006, 12:13 PM
subscribing :up:
sinucello
09-24-2008, 10:07 AM
Hi,
thanks a lot, just what I needed!
all the best,
Sacha
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.