Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2006, 05:19 PM
Davidspl Davidspl is offline
 
Join Date: Apr 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom Profile Options

Where can i find this hack, that adds extra comments for a user under there join date ect, as seen in attached picture.

And you fill the answers to these questions in the Additional Information part in your profile. Could be for things like favourite colour = red , ect

I see this site has it in edit profile, questions such as Favorite Hack and Real Name...

Thanks.
Attached Images
File Type: jpg hack.jpg (38.7 KB, 0 views)
Reply With Quote
  #2  
Old 04-07-2006, 06:04 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the User Profile Fields section of your ACP, click "Add New User Profile Field" and fill out that information. Then, click "User Profile Field Manager" and find the id number of that new field. It will be in the name column, I'll use field2 for this example.

Just make note of that number and go to Style Manager and edit your postbit_legacy template (assuming you are using vertical postbits) and then place this code where you want it to display


HTML Code:
					<if condition="$post['field2']"><div>Custom Field: $post[field2]</div></if>
Replace the 2 with the id of your new field and "Custom Field" with the title of course.
Reply With Quote
  #3  
Old 04-07-2006, 07:47 PM
Davidspl Davidspl is offline
 
Join Date: Apr 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much, just got it done, took me a little while but wanted to make no mistakes, thanks again for that, im well happy, it lot it looks really good. :banana:
Reply With Quote
  #4  
Old 04-08-2006, 11:15 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure thing, glad it worked out
Reply With Quote
  #5  
Old 04-16-2006, 05:27 AM
Dufachi's Avatar
Dufachi Dufachi is offline
 
Join Date: Jan 2004
Location: Indiana
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay. I tried this.. but the template doesn't update for some reason.

Edit: nm. found out you need to edit 'postbit' and not the legacy one.
Reply With Quote
  #6  
Old 11-02-2006, 07:31 PM
McMendo McMendo is offline
 
Join Date: Aug 2006
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I make the fonts for the profile fields smaller? (without the User Title and the Custom User Title above the avatar picture getting smaller)

Code:
<div class="smallfont">
renders the same size as the rest of the text in the post.
Reply With Quote
  #7  
Old 11-08-2006, 05:11 AM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wanted to post a LINK to a MOD that does this, however at the expense of additional queries. Per Farcaster, The MOD requires "a separate query for each profile field and for each post, thus the extra queries needed become exponential for the number of posts per page and the number of profile fields." :disappointed: Anyway, I found the MOD first and thought others might be interested to know such a MOD even exists.

Reply With Quote
  #8  
Old 11-08-2006, 07:02 PM
LauraM LauraM is offline
 
Join Date: Nov 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I've been wanting to figure out how to do this! But I do have another question, how do I make the fieldname in bold, without effecting the rest of the text, or the user's custom title text?
Reply With Quote
  #9  
Old 11-08-2006, 07:56 PM
scdurwood scdurwood is offline
 
Join Date: Aug 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easiest way should be:

Code:
<if condition="$post['field2']"><div>Custom Field: <strong>$post[field2]</strong></div></if>
Reply With Quote
  #10  
Old 11-11-2006, 01:16 PM
LauraM LauraM is offline
 
Join Date: Nov 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm........that puts the text that comes after the fieldname in bold, but the fieldname is not bold. It's backwards, in other words.

However, in seeing how that effected the fields in question, I was able to figure out where it should go in order to do what I wanted, so thanks!
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 04:58 AM.


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.04701 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete