vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Adding a new field in posbit? (https://vborg.vbsupport.ru/showthread.php?t=55552)

conundrum7g 07-24-2003 02:10 AM

Adding a new field in posbit?
 
Could someone please help me with this?

I was wondering... I want to add a new field under the users avatar and title in the postbit. But I don't want the user to be able to modify it. Basically I want to stick icons in there. (And I don't want to mess with the title field.)

I tried creating a new user profile field and made it invisible to the user (during registration and in the control panel). But how do I get it to show up in the postbit? I tried $post[field6] but got nothing.

Does anyone have any ideas?

conundrum7g 07-24-2003 02:13 AM

And I have VB 2.3

Dean C 07-24-2003 10:50 AM

Check the user profile fields section of the admincp again - make sure its only editable by admins :)

- miSt

conundrum7g 07-24-2003 09:12 PM

thanks but I got it. You have to use the $post[fieldxx] like I did. But the number of the field was ALOT higher than I expected. I only have a about 6 visible, but the number was 15. So I had to make it $post[field15] but it worked. Members can't change it, only I can. And this is nice cause it gives me a second area to add stuff under their names. :D

To find the actual number number to put in I had to go to phpmyadmin and look at the profilefield attribute. (click browse)

:rambo:


All times are GMT. The time now is 01:41 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.00927 seconds
  • Memory Usage 1,706KB
  • 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