Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2005, 11:06 AM
SupermanInNY SupermanInNY is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default mini-profile on the side?

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.
Reply With Quote
  #2  
Old 10-25-2005, 01:01 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-25-2005, 01:38 PM
SupermanInNY SupermanInNY is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-25-2005, 02:16 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fields such as profile fields? Or database entered fields?

Chris
Reply With Quote
  #5  
Old 10-25-2005, 02:29 PM
SupermanInNY SupermanInNY is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chris M
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 ):

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

vB Version: 4.0.7
Style: Smooth Blue

-Alon
Reply With Quote
  #6  
Old 10-25-2005, 02:45 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

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

Chris
Reply With Quote
  #7  
Old 10-25-2005, 06:48 PM
SupermanInNY SupermanInNY is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:42 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
  • Page Generation 0.03987 seconds
  • Memory Usage 2,219KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete