UBB.Dev
Posted By: Greg Hard [6.0x] 8 Custom Registration Fields - 04/19/2001 8:16 AM
http://www.h-realms.com/morec.txt
Thanks Kevin for keeping me in front of this computer untill i finished!
Posted By: Greg Hard Re: [6.0x] 8 Custom Registration Fields - 04/19/2001 8:20 AM
Good god. I just noticed that ELY made the same hack awhile ago. Its in the database. https://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=get_topic&f=18&t=000013
My apologies to him/her. smile
Posted By: AllenAyres Re: [6.0x] 8 Custom Registration Fields - 04/19/2001 8:28 AM
wink

We need Ely to put that in a text file... smile

Is there a discussion thread here for it? and is it in finished form?

there doesn't seem to be a discussion thread for it... frown

We'll use this one... and give ely credit for it as well...
Posted By: Greg Hard Re: [6.0x] 8 Custom Registration Fields - 04/19/2001 8:30 AM
Nope, not here. Never was. He seems to be posting his hacks in the database but not the forums.
::feels embarrassed because i didnt see the thread::
Posted By: Greg Hard Re: [6.0x] 8 Custom Registration Fields - 04/19/2001 8:32 AM
yea its in the text file now.
Posted By: TundraSoul Re: [6.0x] 8 Custom Registration Fields - 04/19/2001 10:39 PM
Would it be possible to make some of those fields private? So I could ask new users for their adddresses, but keep the data private so only the admin can see it form the CP. Thanks.
Posted By: ELY_M Re: [6.0x] 8 Custom Registration Fields - 04/22/2001 1:21 AM
Thanks for noticing my hack I made smile
Posted By: ELY_M Re: [6.0x] 8 Custom Registration Fields - 04/22/2001 2:12 AM
I just went thru MasterMind's text and I found a typo in ubb_registration.cgi section.

a typo causes new users to have messed up profiles after they registered.


changes to ubb_registration should be this.


print MEMBERSHIP ("$in{user_ratings}n");
print MEMBERSHIP ("$mod_qn");
print MEMBERSHIP ("$in{private_message}n");
print MEMBERSHIP ("$in{private_message_notify}n");
print MEMBERSHIP ("yesn");


## just add this new code right after this ^^^^

print MEMBERSHIP ("$in{customfield5}n");
print MEMBERSHIP ("$in{customfield6}n");
print MEMBERSHIP ("$in{customfield7}n");
print MEMBERSHIP ("$in{customfield8}n");


Please replace whole ubb_registration.cgi section with my correction. it is already revisied at database smile

I also fixed my other mistake in ubb_registration.cgi
Posted By: ELY_M Re: [6.0x] 8 Custom Registration Fields - 04/22/2001 2:41 AM
Quote
quote:
This can be easily done by editing Template file public_display_profile.pl


just remove the sections that you want to keep the stuff priavate.


remove those as a example


if (($vars_registration{custom7_field_use} ne "DEL") && ($vars_registration{customfield7} ne "") && ($user_profile[32] ne "")) {

print <



$vars_registration{customfield7}:




$user_profile[32]




THISFIELD

} # end field


if (($vars_registration{custom8_field_use} ne "DEL") && ($vars_registration{customfield8} ne "") && ($user_profile[33] ne "")) {

print <



$vars_registration{customfield8}:




$user_profile[33]




THISFIELD

} # end field
Posted By: indoe Re: [6.0x] 8 Custom Registration Fields - 07/15/2001 7:54 PM
doe any one know a fix for the cp edit when you edit the user profile in cp it put yes in all the fields eek

some one help pleas!

[ July 15, 2001 12:55 PM: Message edited by: indoe ]
Posted By: Bookie Re: [6.0x] 8 Custom Registration Fields - 07/15/2001 9:05 PM
how do u activate the 4 custom fields that already come with UBB?
Posted By: humble [ThC] Re: [6.0x] 8 Custom Registration Fields - 07/15/2001 9:29 PM
indoe, none exist, the quickest thing I can think of is create a tiny standalone script that checks the members directory, opens each profile, checks the fields selected, and replaces them with yes, save the file...

If you still need this, and can't get help, i'll work on it for you, in my 'free' time 8).

Bookie, in the UBB CP -> Primary Settings -> Registration Settings....

Look at the bottom of the page, there are fields for the name, and if you want it available, or manditory..

[ July 15, 2001 02:30 PM: Message edited by: humble [ThC] ]
Posted By: indoe Re: [6.0x] 8 Custom Registration Fields - 07/15/2001 10:13 PM
Quote
quote:
really. . .

MasterMind dose this mod do this to you?!?!?
Posted By: indoe Re: [6.0x] 8 Custom Registration Fields - 07/17/2001 9:49 PM
Quote
quote:
bump!
laugh
Posted By: indoe Re: [6.0x] 8 Custom Registration Fields - 07/18/2001 5:08 PM
Quote
quote:

YES/NO confused
Posted By: humble [ThC] Re: [6.0x] 8 Custom Registration Fields - 07/19/2001 2:30 AM
indoe, which part of my quote do you have question about, maybe I can help you...
Posted By: indoe Re: [6.0x] 8 Custom Registration Fields - 07/19/2001 4:35 AM
non of it I just want to know if he got this to work without any problems I think I found a way to fix it I and going to keep trying frown
Posted By: afterlab Re: [6.0x] 8 Custom Registration Fields - 07/21/2001 12:57 AM
I am with Indoe.. I have that same issue. Please help us and feed the children Mastermind! laugh
Posted By: jpbtennisman Re: [6.0x] 8 Custom Registration Fields - 08/02/2001 8:39 PM
I'm also having probs editing people's profiles in the CP.

are you workin on this issue?
© UBB.Developers