PDA

View Full Version : Additional Section within Profile


Wired1
05-25-2005, 10:00 PM
This hack builds upon Zachery (https://vborg.vbsupport.ru/member.php?u=18025)'s Extra Profile Fields Page (https://vborg.vbsupport.ru/showthread.php?t=59618) hack. This template mod lets you take the extra fields from his hack and places them within a dropdown that sits below the user's title within each post.

I also made a link directly from the UserCP -> Settings & Options sub-menu directly to the new page Zachery's hack creates (which is part of the optional instructions within his hack. I've added the snipped for that within my instruction file as well, just in case). One thing about his hack, when a poster hits their save button, there's no real notification that it's saved. This modification is also in the attached instructions.

This template mod also lets you replace the Group Membership quadrant of a user's profile with this info. In my case, it is used for PC specs (and as you will see the instructions are tailored towards this), however it can be easily used for parts or specifications of almost anything (car parts for example).

An example is shown here:
http://www.houseofhelp.com/v2/showthread.php?t=39826

Example of user profile with specs:
http://www.houseofhelp.com/v2/member.php?userid=15


NOW updated for 3.5.0!
https://vborg.vbsupport.ru/showthread.php?t=98753

MiniMo
09-10-2005, 01:41 PM
I've just gone trough installing the extra profile fields page hack, can you show me how to replace the group membership area and also the nifty dropdown? Can't seem to find it anywhere...

Ok, I found out how to get the postbit dropdown to work. Took me like 3 hours... pfhew!

But I've got absolutely no idea how to get started on replacing the group membership. Any hints?

Wired1
09-12-2005, 02:44 AM
Had thread moved to appropriate section, and added instructions to thread. This was originally a request for a mod.

Wired1
09-12-2005, 02:54 AM
Forgot to mention that since over @ House of Help we are using it for PC specs, I've set up the dropdowns within a post only to occur if the first field has something in it (which in this case is the user's motherboard). Instructions are included as to how I did this (yes, it's just an if condition).

I haven't set it up to allow hyperlinks within the dropdowns yet because it can be easily abused.

MiniMo, where are you using this mod?

MiniMo
09-12-2005, 06:42 AM
Thx for the instructions, pm sent. :up:

MiniMo
09-12-2005, 02:42 PM
Can you add the changes you made to member.php to your instructions?
I don't think that the changes of zachary's hack are enough to make your template hack work.

I've tried some things but once I ended up with some infinite loops and a very messed up member profile page I just thought I'd ask :)

Allan
09-12-2005, 04:06 PM
thanks for this hack :)

very cool ..


Click Install !

Wired1
09-14-2005, 06:53 AM
Can you add the changes you made to member.php to your instructions?
I don't think that the changes of zachary's hack are enough to make your template hack work.

I've tried some things but once I ended up with some infinite loops and a very messed up member profile page I just thought I'd ask :)

Doh! You're right, I did! Forgot about that tweak, as it's just duplication of some vB code that queries the profile info. The added code queries and brings back only the new fields. Updated the instruction file.

Allan, did it work for you without that code?

MiniMo
09-14-2005, 07:08 PM
Thx, got it all working now!

I think we need to expand this hack with some option to upload a couple of pictures to show off our PC specs :) Anyone in to this?

Wired1
09-15-2005, 02:48 AM
1. Where to show pics?
Possibly tie it in to one of the vB gallery hacks

MiniMo
09-15-2005, 11:09 AM
Maybe it's possible to use the profile picture for the system specs pic, and then move the profile picture to the system specs area... It would allow for only one picture though, and it would be small...

Wired1
09-29-2005, 03:30 AM
yes, i'm already looking into updating it. @ the house of help, after uprading, the spec entering page (Zachery's hack), the page didn't come up, and the specs didn't show up in the profile page, but the dropdowns in posts do work. Since the specs are profile fields, they still show up (if enabled) in the registration form. Avatars would show up in profile, but not in threads (easy fix - copy correct info from new template). It's due to the way they changed the variables.

Wired1
10-10-2005, 03:47 PM
I've updated Zachery's hack, and I'm about to release the vB 3.5.0 version of it, which means I can start working on this one now.

I want to make a MUCH better admin version for it though.

Wired1
10-13-2005, 03:45 AM
Just updated Zachery's hack:
https://vborg.vbsupport.ru/showthread.php?t=98282

Wired1
10-17-2005, 04:37 AM
Update: didn't get a chance to work on update of this hack this weekend, mondo busy @ work. I'm gonna like that next paycheck though :)

Wired1
10-19-2005, 04:11 AM
NOW updated for 3.5.0!
https://vborg.vbsupport.ru/showthread.php?t=98753