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)

lange 04-25-2003 04:07 AM

Version 2.3.0.

I'm using the Nomb's attachment (customfields.txt).

I have the same problen than DigitalDesktops. In user.php, the code is not the same than in 2.2.8.

lange 04-25-2003 06:33 PM

Anyone got it in 2.30 ?

geniuscrew 04-28-2003 11:15 PM

I'm getting errors with 2.3.0 also :/

DigitalDesktops 04-28-2003 11:21 PM

I got it working on 2.3.0. :)
Run the hack on VBhacker, then Insert the missing steps into the files, and it should work. :D

Keyser S?ze 05-04-2003 09:15 PM

i guess most everyone is having the same problem i am with 2.3.0 and this hack :(


if anyone knows how to fix it a updated install txt would be great :)

Falkware 05-05-2003 07:36 PM

using this hack on 2.3.0 and it seems to work fine with the exception of one problem.

If I have a custom field and check it to be a Required field it will not show up in User CP under Edit Profile for whatever reason.

Can somebody give me any pointers on how to get required custom fields to show up in User CP/Edit Profile on v2.3.0?

Thanks.

OmaniMan 05-11-2003 07:50 AM

What A Wonderful Hack :rambo:

Keyser S?ze 05-13-2003 01:00 AM

i got this working in 2.3.0 with so far no errors


i dont use vbhacker, try this, in admin/profilefeild

it says find this
PHP Code:

$DB_site->query("INSERT INTO profilefield (profilefieldid,title,description,required,hidden,maxlength,size,displayorder,editable) VALUES (NULL,'".addslashes($title)."','".addslashes($description)."',$required,$hidden,'$maxlength','$size','$displayorder','$editable')"); 

but its not there, search for this instead
PHP Code:

$DB_site->query("INSERT INTO profilefield 

i think its about line 40, copy the entire line, and replace it with this

PHP Code:

$DB_site->query("INSERT INTO profilefield (profilefieldid,title,description,required,hidden,maxlength,size,displayorder,editable,type,options) VALUES (NULL,'".addslashes($title)."','".addslashes($description)."',$required,$hidden,'$maxlength','$size','$displayorder', '$editable',$type,'".addslashes($options)."')"); 


further down we have another thats like this in the same php file, it ask u to find this
PHP Code:

$DB_site->query("UPDATE profilefield SET title='".addslashes($title)."',description='".addslashes($description)."',required=$required,hidden=$hidden,maxlength='$maxlength',size='$size',displayorder='$displayorder',editable='$editable' WHERE profilefieldid=$profilefieldid"); 

but again it is not there, so instead search for this
PHP Code:

$DB_site->query("UPDATE profilefield SET 

copy the entire line, (close to line 100)

and replace it with this

PHP Code:

 $DB_site->query("UPDATE profilefield SET title='".addslashes($title)."',description='".addslashes($description)."',required=$required,hidden=$hidden,maxlength='$maxlength',size='$size',displayorder='$displayorder',editable='$editable',type=$type,options='".addslashes($options)."' WHERE profilefieldid=$profilefieldid"); 

besides that use Nombs attachment and this should work fine in 2.3.0

if anyone gets the checkboxes working id love it!

Hamma 05-22-2003 01:26 AM

I've got 2.3.0 what is the most updated file i should install?

Keyser S?ze 05-22-2003 01:48 AM

this attached instructions will work in vb 2.3.0 perfectly :)

just a little update is all


dont use this for any other version other than 2.3.0, use the others

use this for 2.2.8 and i think 2.2.9 https://vborg.vbsupport.ru/showthrea...=&pagenumber=7


All times are GMT. The time now is 01:34 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.01157 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_php_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