vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Profile Trouble (https://vborg.vbsupport.ru/showthread.php?t=47099)

BigJohnson 12-29-2002 12:36 PM

Profile Trouble
 
I have a new profile field i just made. I added a bit of code to the admin/functions.php and made it so if the field is not filled out then the prifle field is not visible in the postbit. But when it is filled out the field shows in the postbit. I would like to have the same thing happen in the getinfo area but I can't because there i the custom field code. And when nothing is filled out in that new profile fild it just shows a blank area next to the title of the profile field. What can I do to make the getinfo work the same way as the postbit code i inserted?

Chris M 12-29-2002 01:09 PM

Well...

One thing you could consider is instead of using a Profile Field, you could use another row on the user table;)

It would require more template editing and a little more hacking, but for the getinfo template, you could get a variable to call the template if it has content, and not if there is none;)

Satan

BigJohnson 12-30-2002 02:02 AM

Can u help me with that then? I dont no php and it would be great to have the code to just have the custom profile field not show in the profile if it is not filled out. There is no way to just edit $customfield to make it so that if the field is not filled out then it wont show?

BigJohnson 12-31-2002 11:20 AM

bump


All times are GMT. The time now is 12:30 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.01007 seconds
  • Memory Usage 1,707KB
  • 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