The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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! |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
Very awesome! Thanks alot bananalive~~
But i can't get the value like the Profile pic as it's not shown on the thread. |
#4
|
||||
|
||||
![]()
That's because the profile pic isn't available. The code posted shows the post variables that are already available. You will have to create a plugin, or find a mod, to be able to use the profile pic in the postbit template.
|
#5
|
|||
|
|||
![]() Quote:
By the way, is it difficult to create a plugin to show profile pic in the postbit template? |
#6
|
||||
|
||||
![]()
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.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|