php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#130364 - 02/02/01 08:20 PM [6.0x] Profile Field Mapping for V6
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas

   [6.0x] Profile Field Mapping for V6 to Del.icio.us Add to del.icio.us
  Digg [6.0x] Profile Field Mapping for V6 Digg it
This is the thread we will begin profile field mapping for UBB Version 6. It will make modifications that use the profile fields much more standardized, assist borg in his "vinkulum" modification, make trouble-shooting more efficient, and avoid most of the problems we had in our last upgrade.

This will probably be the order we need to go in to begin with this:

1. Map the current profile fields in V6 - the easiest part and should be done in the next day or so. - done 02/04

2. Decide if we should use the custom profile fields for standard modifications or allow the user to use them. In other words, most of the work is already done with the 4 custom profile fields already written in, should we use these now? Most likely, yes.

3. Assign profile fields to modifications on a first-come, first served basis, unless by vote of majority we think one deserves precedence over another. We should also leave room for Infopop's further development by starting with several blank profile fields after the current list.

4. Organize development to where a developer working on a new modification "applies" for a profile field and it is assigned based on the above.

Here is the start of the mapping for v6 profile fields. Profile numbers start with "0" for user name and progress from there.

0 - user name
1 - password
2 - email address
3 - homepage
4 - permissions
5 - occupation
6 - location
7 - post count
8 - status
9 - interests
10 - register date
11 - email address viewable
12 - signature
13 - ICQ
14 - allow mass email
15 - publically displayed name
16 - custom field 1
17 - custom field 2
18 - custom field 3
19 - custom field 4
20 - member picture
21 - default topics viewed
22 - AIM
23 - publically displayed name of last user to update this profile|^|member number of last user to update this profile|^|update date
24 - profile locked
25 - publically display user rating
26 - approved registration
27 - PMs enabled
28 - PM notify enabled
29 - PMs locked ("no" means locked)

55 - Birthday (Jordo) smile

We'll update this post as we go to keep everyone on the same page. Its success is up to you, this should make it much easier to keep track of where we are in terms of the profile fields and make development go faster.

I welcome and encourage your input.
_________________________
- Allen wavey
- What Drives You?

Top
#130365 - 02/02/01 08:45 PM Re: [6.0x] Profile Field Mapping for V6
Jigga-Master Offline
Member

Registered: 10/08/00
Posts: 985
Loc: Toronto
i havent look @ the coding yet but i see you have and i was wondering....how are profile #'s called for...like $thisprofile[#] i think its a diffrent way?
_________________________

Top
#130366 - 02/03/01 12:41 AM Re: [6.0x] Profile Field Mapping for V6
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Nope, Ted's still using an array for the user profiles. He should be using a hash. *L*
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#130367 - 02/04/01 05:58 PM Re: [6.0x] Profile Field Mapping for V6
The Duke of URL Offline
Member

Registered: 10/02/00
Posts: 205
This sounds like a great idea Allen!

I guess the avatars seem to be the first out of the blocks. Do you guys think we should use cf1 for it? I think so.

Custom user text should probably be next. I vote CF2 for that one.

If I get time tonight, I'll try to find out what those profile fields with the question marks cover. Most likely, Do you agree with the price increase? I think I broke the "no" on mine. wink
_________________________
Duke

"Life is tough, it's tougher if you're stupid."

Top
#130368 - 02/04/01 06:08 PM Re: [6.0x] Profile Field Mapping for V6
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
CC - that'd be a good mega hack. Converting the profile fields to use a hash. smile

Top
#130369 - 02/04/01 07:14 PM Re: [6.0x] Profile Field Mapping for V6
Leshrac Offline
Member

Registered: 01/03/00
Posts: 213
Loc: Berkeley, CA
Here are the fields you didn't get:

24 - profile locked
26 - approved registration
27 - PMs enabled
28 - PM notify enabled
29 - PMs locked ("no" means locked)

And a correction:

23 - publically displayed name of last user to update this profile|^|member number of last user to update this profile|^|update date

[ February 04, 2001: Message edited by: Leshrac ]
_________________________
Leshrac
leshrac@magictraders.com
http://www.MagicTraders.com

Top
#130370 - 02/04/01 08:02 PM Re: [6.0x] Profile Field Mapping for V6
Jigga-Master Offline
Member

Registered: 10/08/00
Posts: 985
Loc: Toronto
yo costom user text would be easy......like all u do is use one of the costom input fields as a user text and then make it so that if a user has that field filled in show it......and vise-versa!
_________________________

Top
#130371 - 02/04/01 08:24 PM Re: [6.0x] Profile Field Mapping for V6
Leshrac Offline
Member

Registered: 01/03/00
Posts: 213
Loc: Berkeley, CA
Regarding profile field assignments, I'm still a big supporter of having the hacks use independently assignable profile field locations. It's just a simple matter of modifying the way profiles are written to, like I did with the Karma hack. This way, the people installing the hacks can assign whatever free fields they have, and thus prevent the profiles from becoming 50 lines long just because someone installed a hack that uses field 49, but didn't install any of the others. Or, better yet, you could have all the hacks read off of a template member file that contained the field definitions for all the profile fields currently used on a particular board. When a hack was installed, it would read that file, find the first free field, and then write to the template and claim it. If Infopop decided to use more profile fields, an upgrade script could be written to use the template file to convert all the member files to the new format and then update the template accordingly. I would be more than happy to work with some other knowledgable members of the UBB hacking community (and Infopop) to write some library files for using a template system such as this, as I really think it would make things a lot easier for people across the board.
_________________________
Leshrac
leshrac@magictraders.com
http://www.MagicTraders.com

Top
#130372 - 02/05/01 01:30 AM Re: [6.0x] Profile Field Mapping for V6
Leshrac Offline
Member

Registered: 01/03/00
Posts: 213
Loc: Berkeley, CA
OK, I've written up a couple early library files for the system I proposed. One file contains routines for installing and removing profile fields, the other contains common routines for reading from and writing to profiles using named fields (based on the installation) and for determining the maximum allowable fields. They're both heavily commented and cleanly written, Strict compatible, and should be easy to understand. If any serious code hackers are interested in taking a look at them and helping with this project, please e-mail me.
_________________________
Leshrac
leshrac@magictraders.com
http://www.MagicTraders.com

Top
#130373 - 02/05/01 10:31 AM Re: [6.0x] Profile Field Mapping for V6
Lupus Offline
Member

Registered: 02/28/00
Posts: 59
Thanks a lot, that is really helpfull. Earlier yesterday when I was trying to add something to the profiles...I was using trial and error to figure what slot went with what...if I had your map then it would have been a lot faster. smile

Btw, I love the fact that infopop gave us some extra fields to customize.

Top
#130374 - 02/09/01 04:20 PM Re: [6.0x] Profile Field Mapping for V6
Leshrac Offline
Member

Registered: 01/03/00
Posts: 213
Loc: Berkeley, CA
Just bumping this back up for some more attention. If anyone is working on hacks that add or mess around with profile fields, let me know and I can give you a beta copy of the library files I've written up for doing so. They seem to work pretty flawlessly so far, and make adding and using new fields a lot easier.
_________________________
Leshrac
leshrac@magictraders.com
http://www.MagicTraders.com

Top
#130375 - 02/09/01 04:29 PM Re: [6.0x] Profile Field Mapping for V6
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I would like a copy Leshrac, when you get a chance. I may add a couple of fields like the yahoo messenger and MSN messenger. I sent a pm to borg to check this thread out, he may not have checked his pm's recently.
_________________________
- Allen wavey
- What Drives You?

Top
#130376 - 02/10/01 09:17 AM Re: [6.0x] Profile Field Mapping for V6
LadyFire Offline
Junior Member

Registered: 01/08/00
Posts: 30
Loc: Houston, Tx
I would also like a copy of the lib files if you get the chance.

Top
#130377 - 02/18/01 12:24 PM Re: [6.0x] Profile Field Mapping for V6
phenomen Offline
Junior Member

Registered: 02/18/01
Posts: 5
Loc: Germany
hi !
where can i find this hack ?

Top
#130378 - 02/18/01 02:27 PM Re: [6.0x] Profile Field Mapping for V6
Dark Templar Offline
Member

Registered: 09/30/00
Posts: 982
Loc: California | Retired UBB Hacke...
Hey Leshrac, I'm interested...I really want the custom status part of my hack to have its own profile field instead of using custom field number 4. Please, send the stuff to sephirothdt@hotmail.com . Thanks in advance.
_________________________
-DT

Top
#130379 - 02/18/01 03:15 PM Re: [6.0x] Profile Field Mapping for V6
hate98 Offline
Member

Registered: 01/05/01
Posts: 280
Quote:
quote:


Count me in. I am very concerned that hacks I add vs. other hacks will interfere, and also if adding new profile fields, will this break other software. Can you put my mind at ease and explain how InfoPop would like hackers to deal with profile fields other than the 4 custom fields? I wanna be responsible and make sure I do it right.

Also, I'll need to know the total char limit of a custom field already built into the profile?

-jim

Top
#130380 - 02/21/01 03:31 PM Re: [6.0x] Profile Field Mapping for V6
Rob Offline
Junior Member

Registered: 02/19/01
Posts: 23
I would like a copy

Email - Rob@stonecrick.com

Top
#130381 - 02/22/01 05:49 AM Re: [6.0x] Profile Field Mapping for V6
Leshrac Offline
Member

Registered: 01/03/00
Posts: 213
Loc: Berkeley, CA
Jim - I talked to navaho when I first started writing these, and he though they were a good idea and probably the best way to handle it. The libraries allow you to install, uninstall, and interface with additional fields without interfering with any other installed hacks. The user just has to have the libraries installed themselves and do a one-time setup as described in the readme. In the event that Infopop adds more fields to the profile, the template used by the libraries would make it very easy to write an upgrade script that converted all the profiles to the new format.

Quote:
quote:

I'm afraid I don't understand, could you please clarify what information you're looking for?
_________________________
Leshrac
leshrac@magictraders.com
http://www.MagicTraders.com

Top
#130382 - 02/24/01 01:02 AM Re: [6.0x] Profile Field Mapping for V6
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
He wants a max character count for each field.. as I explained over at SK, other than username(25), password(8?), email(40?), and the yes/no fields, there shouldn't be a limit to the outside world.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#130383 - 03/01/01 09:58 AM Re: [6.0x] Profile Field Mapping for V6
Gussie Offline
Junior Member

Registered: 01/14/01
Posts: 9
Loc: Taipei
Hi Leshrac,

I'd like a copy of the your Beta library smile

Please send it to me at gus@oriented.org

Cheers!

Top
Page 1 of 2 1 2 >


Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
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
Looking for a simple upload script
by Murphdog
09/26/08 08:45 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
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 8
tackaberry 7
FREAK1 6
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks