vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to add profile fields in postbit (https://vborg.vbsupport.ru/showthread.php?t=180609)

ronitdeep 05-26-2008 08:31 PM

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]

King Kovifor 05-26-2008 08:44 PM

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.

richards112 05-26-2008 08:52 PM

1 Attachment(s)
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

richards112 05-26-2008 08:59 PM

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 :D

ronitdeep 05-26-2008 08:59 PM

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..

richards112 05-26-2008 09:57 PM

Ohh, yes its for 3.7
if you urgently need to use it, i suggest you upgrade

King Kovifor 05-27-2008 12:25 AM

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.

ronitdeep 05-27-2008 02:11 AM

actually when i searches phrase "$vbpharse[posts]" it says no such query...what should i do??

veenuisthebest 05-27-2008 02:18 AM

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.

ronitdeep 05-28-2008 10:50 AM

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...


All times are GMT. The time now is 04:16 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.01228 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete