PDA

View Full Version : mini-profile on the side?


SupermanInNY
10-25-2005, 11:06 AM
Hello,

I'm new to vb, so bare with me on this probably silly question.
When I view a thread here, I see a mini-profile showing on the side of each post.
How can I make this in vb3.5.0?
Is this a hack or a built-in function?
If you could point me in the right direction it would be great.
I've searched the forum for Profile, User profile, but didn't find anything.
Thanks,

-Alon.

Chris M
10-25-2005, 01:01 PM
It isn't actually a mini-profile - There is an option in the vBulletin Options to select the "Legacy Postbit" - This will display the similar style of postbit layout that is used here on vBulletin.org, and was the main layout in vBulletin 2 :)

The new postbit layout displays the same information but at the top of the post as opposed to the side :)

Chris

SupermanInNY
10-25-2005, 01:38 PM
Thank you for letting me know about this.
I've been searching for this till I had to post the question.
What a relief :))

I knew it was a silly question :)

Thank you.
Now,. the next step:

How I customize it to include and display certain fields?

-Alon.

Chris M
10-25-2005, 02:16 PM
Fields such as profile fields? Or database entered fields?:)

Chris

SupermanInNY
10-25-2005, 02:29 PM
Fields such as profile fields? Or database entered fields?:)

Chris
Fields like these:

Join Date: Jan 2002 (got that one!)
Posts: 4,652 (got that one!)

Anything below is items I'd like to add (do they look familar :rolleyes: ):

Real name: Chris Murphy, BSc
Location: Northampton, England

vB Version: 4.0.7
Style: Smooth Blue

-Alon

Chris M
10-25-2005, 02:45 PM
Heh :)

They are profile fields; You will need to add a new profile field to record user's names ;)

Via the Profile Field Manager, you will add a "Real Name" field, using the settings you wish, then when you goto the Manager screen it will have "fieldX" by it, where X is the number of the field (it varies depending on how many fields you have)...

Then to include them in a post, you add to the postbit_legacy template:

<if condition="$post['fieldX']"><div>Real Name: $post[fieldX]</div></if>
(replace X with the number from the Profile Field Manager)

Chris

SupermanInNY
10-25-2005, 06:48 PM
That was sweet and simple :) yey :).

I even moved the Online/Offline lines a bit up closer to the User info as user complained they don't want to scroll down to see it.

Thanks for the help.

-Alon.