php forum
php mysql forum
php mysql smarty
 
Topic Options
#133659 - 04/19/01 01:16 AM [6.0x] 8 Custom Registration Fields
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room

   [6.0x] 8 Custom Registration Fields to Del.icio.us Add to del.icio.us
  Digg [6.0x] 8 Custom Registration Fields Digg it
http://www.h-realms.com/morec.txt
Thanks Kevin for keeping me in front of this computer untill i finished!

Top
#133660 - 04/19/01 01:20 AM Re: [6.0x] 8 Custom Registration Fields
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Good god. I just noticed that ELY made the same hack awhile ago. Its in the database. http://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=get_topic&f=18&t=000013
My apologies to him/her. smile

Top
#133661 - 04/19/01 01:28 AM Re: [6.0x] 8 Custom Registration Fields
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25434
Loc: Texas
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...
_________________________
- Allen wavey
- What Drives You?

Top
#133662 - 04/19/01 01:30 AM Re: [6.0x] 8 Custom Registration Fields
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
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::

Top
#133663 - 04/19/01 01:32 AM Re: [6.0x] 8 Custom Registration Fields
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
yea its in the text file now.

Top
#133664 - 04/19/01 03:39 PM Re: [6.0x] 8 Custom Registration Fields
TundraSoul Offline
Junior Member

Registered: 04/16/01
Posts: 20
Loc: South Florida
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.

Top
#133665 - 04/21/01 06:21 PM Re: [6.0x] 8 Custom Registration Fields
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
Thanks for noticing my hack I made smile

Top
#133666 - 04/21/01 07:12 PM Re: [6.0x] 8 Custom Registration Fields
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
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

Top
#133667 - 04/21/01 07:41 PM Re: [6.0x] 8 Custom Registration Fields
ELY_M Offline
Member

Registered: 03/23/01
Posts: 133
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 <<THISFIELD;

<tr bgcolor="$vars_style{BGColor}">
<td>
<FONT size="$vars_style{TextSize}" FACE="$vars_style{FontFace}">
<B>$vars_registration{customfield7}</B>:
</font>
</td>
<td>
<FONT size="$vars_style{TextSize}" FACE="$vars_style{FontFace}">
$user_profile[32]
</FONT>
</td>
</tr>

THISFIELD

} # end field


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

print <<THISFIELD;

<tr bgcolor="$vars_style{BGColor}">
<td>
<FONT size="$vars_style{TextSize}" FACE="$vars_style{FontFace}">
<B>$vars_registration{customfield8}</B>:
</font>
</td>
<td>
<FONT size="$vars_style{TextSize}" FACE="$vars_style{FontFace}">
$user_profile[33]
</FONT>
</td>
</tr>

THISFIELD

} # end field

Top
#133668 - 07/15/01 12:54 PM Re: [6.0x] 8 Custom Registration Fields
indoe Offline
Member

Registered: 11/25/00
Posts: 238
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!

<FONT COLOR="#000000" SIZE="1">[ July 15, 2001 12:55 PM: Message edited by: indoe ]</font>
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#133669 - 07/15/01 02:05 PM Re: [6.0x] 8 Custom Registration Fields
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
how do u activate the 4 custom fields that already come with UBB?

Top
#133670 - 07/15/01 02:29 PM Re: [6.0x] 8 Custom Registration Fields
humble [ThC] Offline
Member

Registered: 01/29/01
Posts: 76
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..

<FONT COLOR="#000000" SIZE="1">[ July 15, 2001 02:30 PM: Message edited by: humble [ThC] ]</font>
_________________________

Top
#133671 - 07/15/01 03:13 PM Re: [6.0x] 8 Custom Registration Fields
indoe Offline
Member

Registered: 11/25/00
Posts: 238
Quote:
quote:


really. . .

MasterMind dose this mod do this to you?!?!?
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#133672 - 07/17/01 02:49 PM Re: [6.0x] 8 Custom Registration Fields
indoe Offline
Member

Registered: 11/25/00
Posts: 238
Quote:
quote:


bump!
laugh
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#133673 - 07/18/01 10:08 AM Re: [6.0x] 8 Custom Registration Fields
indoe Offline
Member

Registered: 11/25/00
Posts: 238
Quote:
quote:



YES/NO confused
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#133674 - 07/18/01 07:30 PM Re: [6.0x] 8 Custom Registration Fields
humble [ThC] Offline
Member

Registered: 01/29/01
Posts: 76
indoe, which part of my quote do you have question about, maybe I can help you...
_________________________

Top
#133675 - 07/18/01 09:35 PM Re: [6.0x] 8 Custom Registration Fields
indoe Offline
Member

Registered: 11/25/00
Posts: 238
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
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#133676 - 07/20/01 05:57 PM Re: [6.0x] 8 Custom Registration Fields
afterlab Offline
Member

Registered: 05/12/01
Posts: 299
Loc: Dallas, Texas
I am with Indoe.. I have that same issue. Please help us and feed the children Mastermind! laugh

Top
#133677 - 08/02/01 01:39 PM Re: [6.0x] 8 Custom Registration Fields
jpbtennisman Offline
Junior Member

Registered: 08/02/01
Posts: 2
I'm also having probs editing people's profiles in the CP.

are you workin on this issue?

Top


Who's Online
1 Registered (Gizmo), 26 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
10/13/08 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 6
Ian_W 4
tackaberry 4
Chris Bale 4
Gizmo 4
FREAK1 4

 

 

 
fusionbb message board php hacks