Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Mutt Mutt is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-02-2001 Last Update: Never Installs: 29
 
No support by the author.

Hey there

I'm still trying to learn all of this and damn this is cool ****. Anyway, I installed the gender hack and was going to use it to install another profile select box. Then I saw the very cool CP tool for adding a field to the profile. It currently only allows you to add a input box. I decieded to modify it so I could add my select box from there. It wasn't very hard and the hack is pretty short.


Here it is in a nutshell
I added a textarea field to the add/edit profile field
if you want the new field to be a dropdown, you enter the dropdown values. each line represents a new option tag.

Ex. you want a new field called "sex" that is a drop down with
the choices male,female, and other.

Make the new field as usual.
Set Field Length. (1 would be a standard dropdown)
Set Maximum Input (I'd leave it at 250)
In the Select Box Items text area type

Male
Female
Other

each on it's own line.


UPDATED for v224 with vbHacker
Click thru for the updated version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 04-03-2002, 03:39 PM
matrixclub matrixclub is offline
 
Join Date: Nov 2001
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #63  
Old 04-03-2002, 04:53 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #64  
Old 04-04-2002, 09:29 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #65  
Old 05-25-2002, 11:49 PM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #66  
Old 05-27-2002, 07:17 PM
x28 x28 is offline
 
Join Date: Jan 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you add Drop down boxes to this hack?
Reply With Quote
  #67  
Old 06-02-2002, 02:21 PM
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Location: UK
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 
Reply With Quote
  #68  
Old 06-03-2002, 08:08 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #69  
Old 06-06-2002, 08:06 AM
RazorSharpe RazorSharpe is offline
 
Join Date: Jan 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

any pointers would be very appreciated.
Reply With Quote
  #70  
Old 06-10-2002, 12:16 AM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, Erivin, I assume that it's working for you on 2.2.6?
Reply With Quote
  #71  
Old 06-11-2002, 04:08 PM
JoshFink JoshFink is offline
 
Join Date: Nov 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks

Josh
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09809 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete