![]() |
Add extra info under postbit
Hey guys,
I know that if you want to add extra info under the postbit all you need to do is to edit the postbit_legacy template. etc Code:
<if condition="$post[field3]"><b>Interests:</b> $post[field3]</if> Code:
$post[crowns]$post[champtext] How do i actually find these code or whatever you called? Can someone teach me how to obtain such code? Thanks in advance! |
Create plugin hook showthread_postbit_create called test
PHP Code:
(but bigger) Code:
Array ( [postid] => 186 [threadid] => 127 [parentid] => 0 [username] => BananaLive [userid] => 1 $post[threadid] = 127 $post[parentid] = 0 $post[username] = BananaLive $post[userid] = 1 |
Very awesome! Thanks alot bananalive~~
But i can't get the value like the Profile pic as it's not shown on the thread. |
Quote:
|
Quote:
By the way, is it difficult to create a plugin to show profile pic in the postbit template? |
I don't know as I've never tried to do it. I think there is a mod for using profile pictures in place of avatars in the postbits, so I'm guessing they wrote a plugin to get that info and you can grab it from that mod.
|
All times are GMT. The time now is 09:02 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:
|