Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Name: Add One Millyun Custom Profile Fields

Description: Adds 40 extra custom profile fields.

Link: https://www.ubbdev.com/hacks/6.3/extra_profiles_63.txt

Demo: none

Author: Allen Ayres

Credits: Greg Hard, ELY_M, Allen Ayres and unknown at fokzine.net for previous versions smile

Requirement: UBBâ„¢ 6.3

Note: I did this because someone asked for something similar and this is a piece of it. If you need less profile fields (and you should wink ), just reduce the appropriate number of lines of code.

Do not attempt this without sufficient experience in modifying your forum. There's 7,777 lines of code here and any one of them could break your forums and render it useless.

Thanks in advance to those who might find any bugs, I've tested it locally, but that was on a beta of 6.3.1 wink


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Jun 2001
Posts: 572
Member
Member
Offline
Joined: Jun 2001
Posts: 572
MultiHack file would be nice...If you weren't going to change the amount of fields...

~Jon

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I have one... it needs to be updated to how this one works. The MHK I have makes the extra profile fields only viewable by admins/mods when you view the member's profile...


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 572
Member
Member
Offline
Joined: Jun 2001
Posts: 572
quote:
Originally posted by AllenAyres:
I have one... it needs to be updated to how this one works. The MHK I have makes the extra profile fields only viewable by admins/mods when you view the member's profile...

Do you plan on making one that works like this one? Or should I just use the .txt file?

~Jon

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Ouch! Good job tipsy

Code
[/code]You mean[code]

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thanks LK smile

JJ, there's only one file that's different between the 2 versions, public_display_profile.pl - I can post both... tomorrow tho, I'm sleepy sleep


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 572
Member
Member
Offline
Joined: Jun 2001
Posts: 572
quote:
Originally posted by AllenAyres:
thanks LK smile

JJ, there's only one file that's different between the 2 versions, public_display_profile.pl - I can post both... tomorrow tho, I'm sleepy sleep

That's fine, I probably won't be able to install it today anyways. That's the first time anybody has called me JJ though....lol!

~Jon

Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
Great job AA. smile

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Good job AA. I'll use it when I need to. smile

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Nice work AA. smile

Sponsored Links
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Whoa, I just saw this thread. tipsy I know this is an old topic but I just wanted to say thanks Allen for making this hack. I've been wanting this for a while.

Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
Spotlight Runner-Up
Offline
Joined: Mar 2002
Posts: 451
Allen, you should change your instructions for cp_edit_profile.pl..
Currently, you've set the colors to AltColors1 (or something similar). This shouldn't be the case in the Control Panel.. wink

I had a nasty shock at Gaming Update when I went in to the "Edit/Update Member Profiles" and saw that the 5 custom profiles I added were GREEN! eek

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
heheh smile I really should cut it back to about 10 and re-post it smile


- Allen wavey
- What Drives You?
Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
Quote
quote:
Originally posted by LK:
Ouch! Good job tipsy

Code
[/code]
Hi, I'm implementing this on 6.4 and everything seems good so far. But I don't understand why the jumps up from 38 to 65? Why isn't the next field 39?

[code]

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Profile fields up to 50 are reserved for future use, thus making the first available number 51 (array index 50). Add to that the previously "registered" field indexes from other hacks, and you get the start target number...


UBB.classic: Love it or hate it, it was mine.
Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
Wow, that was fast. You answered before I even fixed my quote problem!

Thanks!

Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
I found one small error in the install instructions, if anyone chooses to use it. There's dropped bracket in the "search for" in the last step:

Code
[/code]Should be:

[code]
Works fine so far in 6.4

Oh, and I now have an edited install file with 16 extra fields instead of 40, if anyone needs a smaller file. It's 3193 lines instead of 7,000+.

Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
Edit: Nevermind. A re-upload fixed my latest problem.

Thanks for a great mod!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thanks getagrip smile if you'll post the instructions for the 16, that will be much more useful to most people smile


- Allen wavey
- What Drives You?
Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
I found one other thing in the instructions that I changed. I assume it's a difference between 6.3 and 6.4.

[code][/code]Here's a link to the file:
www.ggrdesign.com/extra_profiles_63_16_fields.txt

Joined: Jan 2002
Posts: 48
Member
Member
Offline
Joined: Jan 2002
Posts: 48
OK, now that I've done that... a question. help

I want one or two of my new fields to use the same processes as the signature field, i.e., I want users to be able to enter text with line breaks and possibly to use UBB code.

cp_users has the following in sub get_profile_for_admin that appears to do the trick:

Code
[/code]In ubb_profile, it's in sub edit_my_profile

Code
</pre></div></div>I suppose I need to create a new var $CustomProfileXX, to be able to copy thse processes, but I don't know where to put it.<br><br>I could use<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Which would use the sig settings for UBB/IMG code for my custom field, and
[code]
Where would I nee to declare $CustomProfileXX?
Might be well over my head.

Joined: Mar 2001
Posts: 56
Member
Member
Offline
Joined: Mar 2001
Posts: 56
Does this work with DPK's 6.4.5 Memberlist hack, or do I need to make modifications to that?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Hey Dino, it would depend on which profile field the memberlist used, it's been quite a while since I've used that smile


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 56
Member
Member
Offline
Joined: Mar 2001
Posts: 56
Thanks for the reply, Allen.

I'm still dabbling right now... trying to figure out the logic in DPK's memberlist and how it relates.

Quick question:

Is there a simple way to use drop-downs (I know the html of drop-downs vs. text-fields) instead of text fields? I'm trying to figure out how that information get's appended to a user profile.

I've been studying how the birthday drop-downs get appended, but since they're wordletized, it a little difficult.

Any ideas or guidance?

Sidenote: Missedy you at SEMA. Did you see the Decoma Matrix and El Camino? George Barris was in our booth (he did the Batmobiles) signing autographs. Also, did you see the orange Jeep Liberty in the Mopar booth? I was solely responsible for that one. I even got my hands dirty and installed the Skyjacker lift kit on that puppy.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)