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)

matrixclub 04-03-2002 03:39 PM

i has change it can use input,select,radio,checkbox field and also it can be searchable..

work aok on 2.2.2 2.2.3 2.24 everything is ok...

http://ezbbs.vserver.com.tw/forum/re...?action=signup

tamarian 04-03-2002 04:53 PM

Quote:

Originally posted by matrixclub
i has change it can use input,select,radio,checkbox field and also it can be searchable..

work aok on 2.2.2 2.2.3 2.24 everything is ok...

http://ezbbs.vserver.com.tw/forum/re...?action=signup

Can you share your hack changes?

Mutt 04-04-2002 09:29 PM

with hack directions so simple now that we hack vbhacker, I updated the directions for this guy. running on v224. if you have a previous installation you'll have to remove it first. this new version doesn't write files to store you custom field info. instead it stores them to the DB.

I cleaned it up a lot and there shouldn't be any problems with required fields.

This hack adds the ability to add custom custom fileds to the profile. these would be field other than standard text input boxes. Dropdown Select Boxes and Radio Boxes are currently supported. Some of the code for Text areas is in, but for the sake of simplicity I removed textarea support.

add a new field as usual. fill out all fields. (Note field length is used for select boxes as well. 1 is standard)
choose the field type. (standard text input, select box, radio buttons)
Under "Multiple Choice Options" enter the values for your selections seperated by commas. the first one is the default selection. put a comma at the begining of the list to have an empty filed be the default.

Hope ya like it, let me know if the vbhacker file works.

It should edit 3 files, 1 template, and add a couple rows to the proflefield table.

Dark_Wizard 05-25-2002 11:49 PM

Hey Jeff...I installed this on 2.2.5 and it works great...one question though, why didn't you update the admin/user.php file to reflect the same?

x28 05-27-2002 07:17 PM

How do you add Drop down boxes to this hack?

geniuscrew 06-02-2002 02:21 PM

Hi,

I'm getting errors with this hack on 2.2.5

I get this error when I click on Edit Profile:

PHP Code:

 WarningFailed opening '/home/--------/forums/member.php' for inclusion (include_path='.:/usr/local/lib/php'in Unknown on line 0 


Erwin 06-03-2002 08:08 AM

This is one of the best hacks around - I am using this with great effect, combining this with other hacks to make this a powerful addition to vB. Thanks!!!

The only possible complaint is that each time I go to modify a custom profile, if it was a dropdown menu the textarea is empty, and I have to enter the data again. A small issue, which is easily overcome with a text file that I use as a backup.

Thanks for your great work!

RazorSharpe 06-06-2002 08:06 AM

How does one install the customcustomfields.hack.php hack??

any pointers would be very appreciated.

mashby 06-10-2002 12:16 AM

So, Erivin, I assume that it's working for you on 2.2.6?

JoshFink 06-11-2002 04:08 PM

Is there a non vbHacker version? I really haven't delved into that and would love to just do it by hand.

Thanks

Josh


All times are GMT. The time now is 09: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.01204 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_php_printable
  • (1)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