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 05-26-2008, 08:31 PM
ronitdeep's Avatar
ronitdeep ronitdeep is offline
 
Join Date: Apr 2008
Location: India
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to add profile fields in postbit

How to add profile fields in postbit??
as i m not able to setup this from admincp>profilefield option
as just in this post[real name:deep]
Reply With Quote
  #2  
Old 05-26-2008, 08:44 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to edit the post bit or postbit_legacy templates. Find your posts or whatever ($vbphrase[posts]) and copy that. Past that again, change $vbphrase[posts] to "Real Name:" then place $post[fieldx] after that. Change the x to be the profile field number.
Reply With Quote
  #3  
Old 05-26-2008, 08:52 PM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, i just passed this ,od a few hours ago, i forgot what section i got it from, but i downloaded it, and would be more than happy to share it with you

Instructions are simple, upload xml file and go into admin cp - vbulletin options, - thread display optins, then edit which profile fields to show in postbit, edit either postbit OR postbit legacy, depending on which one you use
Attached Files
File Type: xml product-profile_fields_in_postbit.xml (7.5 KB, 4 views)
Reply With Quote
  #4  
Old 05-26-2008, 08:59 PM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well since im here, i might aswell ad a question of my own to anyone who knows...
Is there anyway to add a profile drop down list on postbit. example
ill have a button called "my location" and users press that button and a drop down list comes up with my location, ive seen it on a couple of forums and can link you an example if you don't get what i mean.
Hope someone can help
Reply With Quote
  #5  
Old 05-26-2008, 08:59 PM
ronitdeep's Avatar
ronitdeep ronitdeep is offline
 
Join Date: Apr 2008
Location: India
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pleased to see so fast reply...thnks to King Kovifor & richards112
but richards112 , i m aware of this addon but it is for 3.7 right??& i m using 3.6.9

@King Kovifor,
i will try this & let u people know but more on plz can you explain more as i feel it somehow difficult for me..
Reply With Quote
  #6  
Old 05-26-2008, 09:57 PM
richards112 richards112 is offline
 
Join Date: May 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohh, yes its for 3.7
if you urgently need to use it, i suggest you upgrade
Reply With Quote
  #7  
Old 05-27-2008, 12:25 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you do a search for $vbphrase[posts] you will see a general repeated html. Something like this:
HTML Code:
				<div>
					$vbpharse[posts]: $post[posts]
				</div>
If you want it above or below posts, you will want to place this HTML code (around that area):
HTML Code:
				<div>
					Your Title: $post[fieldX]
				</div>
The X will be replaced with the profile field number. I believe that can be found in the profile field manager.
Reply With Quote
  #8  
Old 05-27-2008, 02:11 AM
ronitdeep's Avatar
ronitdeep ronitdeep is offline
 
Join Date: Apr 2008
Location: India
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually when i searches phrase "$vbpharse[posts]" it says no such query...what should i do??
Reply With Quote
  #9  
Old 05-27-2008, 02:18 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
actually when i searches phrase "$vbpharse[posts]" it says no such query...what should i do??
you spelled vbphrase wrong

he means to search for $vbphrase[posts] in postbit template and not in Language and Phrases.
Reply With Quote
  #10  
Old 05-28-2008, 10:50 AM
ronitdeep's Avatar
ronitdeep ronitdeep is offline
 
Join Date: Apr 2008
Location: India
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh thanks its working fine...but all posts showing this messege...is it possible that we can show it only when member has filled it...otherwise it will not show it...
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 07:34 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.04331 seconds
  • Memory Usage 2,273KB
  • Queries Executed 14 (?)
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_html
  • (1)bbcode_quote
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete