Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #17  
Old 07-23-2001, 10:08 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

opps, I didn't change the cp. I'll get to it.

here's the newest file. I thought I had uploaded this already. sorry for the delay

NEW - add selections just like the last one, but now you can choose between input box, select box, or radio button.
Reply With Quote
  #18  
Old 07-23-2001, 10:16 PM
Ruth Ruth is offline
 
Join Date: Oct 2001
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great work Mutt

Thanks
Reply With Quote
  #19  
Old 07-23-2001, 11:30 PM
Ruth Ruth is offline
 
Join Date: Oct 2001
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mutt, i'm not sure but the drop down menu is not working in register.php

when i enter the values
-
X
Y
Z

i get -XYZ in the register.php

Did i do something wrong?

Thanks
Reply With Quote
  #20  
Old 07-24-2001, 01:29 AM
debsync
Guest
 
Posts: n/a
Default

works great for me! this is one of the coolest hacks! but it will be even better when the dropdown lists and radio buttons appear in the admin cp under 'users --> add/find' ) I wish I knew how to add that feature myself, but I'm not too good with php yet

anyway keep up the good work Mutt!
Reply With Quote
  #21  
Old 07-31-2001, 03:23 PM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a queston:

I got this error in my Admin CP when I edited a non-select or 'mutt' field in my custom profile fields editor.

Warning: Unlink failed (No such file or directory) in /web/pbc2/forums/admin/profilefield.php on line 107

The directory exists and I am able to create select fields....and there are even "X.file" files in the /admin/profile directory....but there are no "X.files" for the other custom profile fields....so the script gives me that error above.

I know...or I think and hope....this error is not a big deal. But I wanted to point it out.
Reply With Quote
  #22  
Old 07-31-2001, 07:15 PM
caislander caislander is offline
 
Join Date: Oct 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mutt,

Very cool hack, now if someone would just make it so these fields are searchable

Later
Reply With Quote
  #23  
Old 08-01-2001, 12:02 PM
ldydvr
Guest
 
Posts: n/a
Default

Is what is happening to VirtueTech happening to everyone using this?
Reply With Quote
  #24  
Old 08-02-2001, 11:01 AM
Ruth Ruth is offline
 
Join Date: Oct 2001
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did anyone try this with 2.0.3 ?
Reply With Quote
  #25  
Old 08-03-2001, 03:39 AM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works in 2.03

updated to include modifications to user.php
(now works when editing profiles from the cp)

enjoy
Mutt

please post any bugs you find or let me know any ideas for additions


VirtueTech - fixed your problem
Reply With Quote
  #26  
Old 08-03-2001, 03:42 AM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mutt you rule
Reply With Quote
  #27  
Old 08-03-2001, 03:46 AM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VirtueTech

I just changed the download above to include a fix for your error. you better redownload you were just too fast for me
Reply With Quote
  #28  
Old 08-03-2001, 03:48 AM
Ruth Ruth is offline
 
Join Date: Oct 2001
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are great Mutt

i wonder if you can add a feature like when someone choose OTHER from a drop down menu, they must fill in a near by box.

just a suggestion,

Thanks again
Reply With Quote
  #29  
Old 08-04-2001, 01:15 PM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man your great mutt thanks for the hack and the fast update for it

and another thing can you explain the country flag addition again because I couldnt understad what exactly I should do it the other thread

thanks anyway
Reply With Quote
  #30  
Old 08-06-2001, 02:42 PM
debsync
Guest
 
Posts: n/a
Default

oops nm I got it
Reply With Quote
  #31  
Old 08-07-2001, 02:27 AM
illogicalx's Avatar
illogicalx illogicalx is offline
 
Join Date: Nov 2001
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

waoooow

Mutt nice , it's a great hack

i used it for gender in 2.0.3

it's work gooooood


only i was haveing one problim when i made a field with drop down menu and i made that field a required field in registertion template .

it wasn't work but when i changed it to optional field it's work great

one more thing if i want to use an image instead of a text for exp:

if gender = Male >>>> then i'll have in the member list a male image instead of a text MALE .

how can i do that .


that is all .....

thanks
Reply With Quote
Reply


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 06:57 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.05225 seconds
  • Memory Usage 2,343KB
  • Queries Executed 30 (?)
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)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
  • (3)pagenav_pagelink
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (13)postbit_onlinestatus
  • (16)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