vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add a select field to the profile (https://vborg.vbsupport.ru/showthread.php?t=21833)

LuBi 08-26-2001 04:45 PM

Thanks, worked great on my site. Just what I was looking for!

tamarian 09-07-2001 01:29 AM

Hi Mutt,

For some reason, the hack only works for the modify profile. On the registration part, is quite buggy. It displays a text field if the field is required. If the field is not required, it displays the radio buttons for all custom fields, if the ones created the usual way before the hack. I unistalled, reinstalled (on a test server) and the behavior is re-producable.

LuBi 09-07-2001 01:44 AM

Sorry to hear, works good on my server take a look.

Suprascene.com Forums

tamarian 09-07-2001 02:01 AM

Hi Lubi,

Can you test and see what happens if you make automobile a mandatory field?

LuBi 09-14-2001 11:37 PM

Quote:

Originally posted by tamarian
Hi Lubi,

Can you test and see what happens if you make automobile a mandatory field?

Don't know how, but I would like to move some up to the mandatory ones. If you haven't figures out how to fix your problem please inform me and i'll do what I can.

Mutt 09-17-2001 02:02 AM

I'll have to update my directions. I've changed this hack. the version I'm using now adds 2 fields to to the profile table. now you can pick, input text, radio, select, or textarea. you can set allow, vbcode, images, smiles, html. I also made sure it works with required fields, and handled some cp stuff that I missed before. Like I said, I don't have directions ready. it's a bit more work. I'll try and get to it next weekend

ethank 09-17-2001 04:14 AM

Quote:

Originally posted by Mutt
I'll have to update my directions. I've changed this hack. the version I'm using now adds 2 fields to to the profile table. now you can pick, input text, radio, select, or textarea. you can set allow, vbcode, images, smiles, html. I also made sure it works with required fields, and handled some cp stuff that I missed before. Like I said, I don't have directions ready. it's a bit more work. I'll try and get to it next weekend
Well....damn :) Just put this on my site.

I changed it a bit to have an option for a "hidden" field, which the profile editor uses to make category like dividers in the profile. This let me group profile fields together and have instructions on how to fill them in using "hidden" profile fields. Check the registration thing on murmurs.com for an example (the Feaks Map).

Ethan

numerodix 09-17-2001 05:03 PM

This may come off as a silly question but how do you put in the custom fields where you want to in the user profile. That is normally they all come one after the other, how do you put each one where you want them to be. Ie first the name, then the gender, then the # posts, then the rest of the custom fields below that again. How do you manipulate them as you would the normal fields?

BradC 09-17-2001 11:10 PM

if you are talking about the actual user's profile..

go into your admin cp..

then go to edit templates,

show all.

then go down to this template: getinfo

in that template is the profile template, so you can take that... open it up in your favorite program.. or in notepad, and change it around to be like you want it too... but bare in mind if you do it to one you might as well do it to all of them.. so you don't have double of one field.

also... to find the field info.. to know what it is..

go to your custom fields in the admin cp, figure out what number it is (i.e. field5, field4) and then add it into the database like

$userinfo[field5]

I think that is how you do it..

Soul Lord XL 09-18-2001 01:24 AM

Ack! When I go to do anything heres what the error message says:

Parse error: parse error in /usr/home/s/h/shenlong/public_html/vbb/member.php on line 1236

Here is my line 1263 on Member.PHP:

Quote:

FilePath="admin/profile/$profilefield[profilefieldid].file";
what is wrong with that?

By the way, i am a little unclear on this, is this right, its my register_customfields:

Quote:

<tr>
<td bgcolor="$bgcolor"><normalfont><b>$profilefield[title]:</b></normalfont><br>
<smallfont>$profilefield[description]</smallfont></td>
<td bgcolor="$bgcolor"><normalfont> $TheField normalfont></td>
</tr>
thanks


All times are GMT. The time now is 06:35 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.01154 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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