vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom userfield. (https://vborg.vbsupport.ru/showthread.php?t=224634)

odln018 10-05-2009 06:08 PM

Custom userfield.
 
1 Attachment(s)
I've got a board I'm wanting to add a field under the (Join/location/posts) field. This would be a field that would be equivalent to the user title.

How would I do this?

I've attached an image as an example of where I'd like to put it.

iflymyhelishigh 10-05-2009 06:12 PM

That would be a postbit modification I think. You would need a plugin designed for that. On my site I personally use vbgooglemapme and just have a link to that person's vbgooglemapme page.

odln018 10-06-2009 10:45 AM

Yep, I've confirmed with the template person where to be the bit here's what I'm not sure how to do.

1 - Create a custom user field, although I believe that I use User Profile Field and add a new one.

2 - How do I turn that into a method to put it into my post-bit template?

Essentially, what I'm trying to do have a user choose a custom icon, then place that icon under the #of posts ($vbphrase[posts]: $post[posts]), but I don't know how to create a reference to that custom field in a manner that will display it in the post bit.

Lynne 10-06-2009 12:41 PM

If you do a search on "profile" or "postbit" in "artilces" "titles only", you'll find an article on how to add User Profile Fields to your postbit template.


All times are GMT. The time now is 12:59 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.01962 seconds
  • Memory Usage 1,705KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete