Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 15
Is there some sort of simple hack that allows me to add new fields such as AIM Name, Yahoo ID, favorite food, or anything else I can think of to people's profile? I know there are things like the Triple IM hack, but I dont want any new icons, I just want new fields in the profile. It seems like it would be a simple hack to do... I was able to get the new fields to be filled out by editing ubbmisc, but I don't know how to make it display in the person's profile.

Any hack that will do this?
I'd search the forum for a question like this, but for some reason it's only letting me search with one word, I can't use multiple words, so it turns up too many results that don't relate to what I'm looking for.

[ August 02, 2001: Message edited by: zerohaste ]

Sponsored Links
Joined: Apr 2001
Posts: 57
Member
Member
Offline
Joined: Apr 2001
Posts: 57
https://www.ubbdev.com/hacks/addfieldstoprofilev545.txt

Just change the fields they use in there to what you want them to be.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
For AIM, ICQ and Yahoo Messenger fields use the "Triple IM hack" In the V5 Database.

Joined: Feb 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 15
Thanks treszoks, that's exactly what I needed. Works perfectly.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
still? laugh

I remember that taking me days to get right... I am glad it worked for you. smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Jul 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 25
In ubb 6 you can add fields through the cp without a hack.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Well thats good for UBB6 isn't it.
Yeah the Triple IM hack is a hard one, It conflicts with alot of hacks and lots of code too. eek

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Quote
quote:
Only four tho...

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Yeah after that you need to use code to add more.

Joined: Jun 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 15
I have a question about the Add Extra Profile Fields hack mentioned above:

Where does $maxmemfields = 17; go in ubb_library.pl? It doesn't say, and that variable doesn't already exist in my ubb_library.pl. Thanks.

Also, looking at the instructions for this hack, I'm a little confused because it isn't written in the usual way, with "Find" certain text and then "Replace" or "Add" to it. It just lists code and doesn't say if it's supposed to replace other code or be added in addition to it. Maybe it will be self-explanatory when I start at it, but I thought that one of you gurus would be able to steer me in the right direction before I do something stupid. laugh

Thanks as always to all the amazingly helpful people here. [Linked Image]

Sponsored Links
Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
Yep, in ubb_library.pl. You should already have a $maxmemfields statement...all the hack does is allows you to define more. If you don't see $maxmemfields then there is something amiss (I like that word!! smile ).

It will be clear, but IIRC it is some work! smile

Joined: Jun 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 15
Thanks again Vipermad! smile

Something indeed is amiss then. I don't have any reference to maxmemfields in my ubb_library.pl!

Wonder how that happened. I don't think I installed a hack that would have overwritten that line. Or did I? Hmmm. I don't think so though, none of the hacks I installed should have deleted a line relating to user profiles. Running UBB 5.45a.

Since the line doesn't currently exist, can anyone tell me where it's supposed to be in ubb_library.pl? Maybe I can just kinda stick it in there and hope for the best. laugh

A thousand thanks.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
maxmemfields corresponds to the number of lines in a members profile file. Any hack that deals with modifcation to the members file would have told you to increment this number by X.
Maybe you selected it and deleted it my mistake while doing another hack a while ago?


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Neurospiral, It's right at the top of the file. It should look like this:

Code
code:

(Some parts might be differemt due to some hacks.)

Joined: Jun 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 15
Thank you Lord Dexter and Bassteq. Everything else is there but that line, that's so weird. I must have either installed a hack somewhere along the way that called for doing away with that line, or else I just outright screwed up and deleted it improperly. [Linked Image]

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
No Probs, Id say u accidently deleted it as there is no need for a hack to REMOVE that variable.


I can't afford a good signature editor frown

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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 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)