The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hello,
I would like to put the user profile on the left and not on the top in posts. Any idea on how to do this. Also is it in the user profile field to add more items and have these show up under thier name in the same area on posts? RickyG |
#2
|
|||
|
|||
![]()
In AdminCP, go to vBulletin Options > Style & Language Settings.
Set "Use Legacy (Vertical) Postbit Template" to yes. |
#3
|
|||
|
|||
![]()
THANK YOU!!!!
That was easy! Here I am thinking I was going to have to play with PHP...WHEW! Do you know this answer? Also is it in the user profile field to add more items and have these show up under thier name in the same area on posts? RickyG |
#4
|
|||
|
|||
![]()
You're asking how to add custom fields to the postbit right?
You can do this by either directly editing the postbit_legacy template or using a template hook (the latter of which I prefer because then you don't need to worry about templates reverts in later vb releases and it's easier). Doing a direct edit would work like so: Open the postbit_legacy template, find $template_hook[postbit_userinfo_right_after_posts] and below (or above) that, simply add for example: Code:
<if condition="$post['field3']"><div>Your custom userfield: $post[field3]</div></if> The template hook way: Add a new plugin at postbit_display_start and add the following code: Code:
if($post['field3']) { $template_hook[postbit_userinfo_right_after_posts] = '<div>Your custom field: '.$post['field3'].'</div>'; } if($post['field4']) { $template_hook[postbit_userinfo_right_after_posts] .= '<div>Your custom field: '.$post['field4'].'</div>'; } Hope that helps ![]() |
#5
|
|||
|
|||
![]()
Thank you...I just need to gain faith in editing php.
RickyG |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|