vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Extra Profile Fields Page (https://vborg.vbsupport.ru/showthread.php?t=98282)

Snake 05-02-2006 08:35 AM

Right, working fine. Thanks!

futuredood 06-16-2006 06:29 AM

great hack, been looking for this. i haven't installed but hoping i can install multipe pages. keep up the good work.

Wired1 06-16-2006 12:29 PM

Quote:

Originally Posted by futuredood
great hack, been looking for this. i haven't installed but hoping i can install multipe pages. keep up the good work.

Please clarify "multiple pages" and why this would be needed.

futuredood 06-17-2006 01:04 AM

Quote:

Originally Posted by Wired1
Please clarify "multiple pages" and why this would be needed.

i'm trying to make the user cp as easy as possible, guiding the user from category to category. instead of having everything on one page, i plan to have

"personal"
- real name
- uesr name
- hometown

"contact"
- e-mail
- web site
- phone

"pictures"
- profile picture
- avatar
- vbadvanced gallery

it doesn't seem like much of a difference, but i think ease of use really plays well for visitors, especially if you plan to expand your profiles.

vb_guru 07-08-2006 08:35 PM

This is great! I have installed it and now can really see the benefit of having multiple categories on the left nav bar. Is there any chance this will be updated for multiple categories?

Does anyone know how I can change this myself?

Ted S 07-08-2006 11:09 PM

vb_guru,
If you copy the plugin file and change the referances to "page" and "extra", you can set this up for multiple extra profile pages.

Wired1 07-09-2006 06:51 AM

Quote:

Originally Posted by vb_guru
This is great! I have installed it and now can really see the benefit of having multiple categories on the left nav bar. Is there any chance this will be updated for multiple categories?

Does anyone know how I can change this myself?

Quote:

Originally Posted by Ted S
vb_guru,
If you copy the plugin file and change the referances to "page" and "extra", you can set this up for multiple extra profile pages.

Depending on your use of the pages, you may need to do more than that. Please clarify the multiple pages' usage.

As for the left bar in the UserCP, you would also need to do a similar change with the extra instructions in the text file.

vb_guru 07-09-2006 03:50 PM

Quote:

Originally Posted by Wired1
Depending on your use of the pages, you may need to do more than that. Please clarify the multiple pages' usage.

As for the left bar in the UserCP, you would also need to do a similar change with the extra instructions in the text file.

OK thanks for the reply. Here is what I want to do.

In the left nav bar will be 3 different "Extra" links:
Extra1
Extra2
Extra3

This will link to 3 separate pages. Each page will have their custom profile fields.

Extra1Page1 with custom profile fields 1,2,3,4,5,6,7,8
Extra2Page2 with custom profile fields 9,10,11,12
Extra3Page3 with custom profile fields 13,14,15,16,17,18,19,20,21

Therefore if I understand all this correctly within vBulletin Admin where it asks "Which page displays this option?" I will assign profile field 1 ExtraPage and so on.

I hope this all makes sense. Thanks for the help in advance.

Wired1 07-09-2006 07:20 PM

Code:

do=extra
in the text file instructions (and the extra plugins) would be replaced by something else (just add a 2 at the end for instance). You'd also need to add extra vbphrases and change them accordingly throught the plugin and text file instructions.

If you wanted to you could have them all in the same page, just depends on how much extra coding you'd want to do for the custom page.

vb_guru 07-10-2006 07:37 PM

Thanks for the reply. I was able to change all the names and have a whole separate page and nav link in the User CP. This is great.

One unrelated question, do you know how to put a time stamp whenever a user updates the extra profile questions?

Wired1 07-10-2006 09:27 PM

where does the date go

vb_guru 07-10-2006 10:51 PM

Quote:

Originally Posted by Wired1
where does the date go

The date will be for internal use only and will probably be stored in a new MySQL column in the user table or it could possibly be another custom profile field. I am not exactly sure the best way to do this.

futuredood 07-11-2006 02:15 PM

Hey Wired_1,

I tried searching this thread but couldn't find any results. I noticed in your System Specs example, you were able to allow single-line text box options.

I've installed everything and got it working correctly on 3.5.4. The problem I'm facing is single-line text box profile field options don't show up on the profile.php?do=extra page.

I'm sure the single-line profile field option I created works b/c when I change the display page to editprofile, it works fine.

Is this a known bug, or just me?

Wired1 07-11-2006 03:09 PM

Quote:

Originally Posted by futuredood
Hey Wired_1,

I tried searching this thread but couldn't find any results. I noticed in your System Specs example, you were able to allow single-line text box options.

I've installed everything and got it working correctly on 3.5.4. The problem I'm facing is single-line text box profile field options don't show up on the profile.php?do=extra page.

I'm sure the single-line profile field option I created works b/c when I change the display page to editprofile, it works fine.

Is this a known bug, or just me?

Does the profile field show up on the extra page, the normal member page, or both? The editprofile page you are looking at, is it in the admincp, or just the normal member edit info page that each user has in their usercp? (screenshots would be awesome)

Wired1 07-11-2006 03:10 PM

Quote:

Originally Posted by vb_guru
The date will be for internal use only and will probably be stored in a new MySQL column in the user table or it could possibly be another custom profile field. I am not exactly sure the best way to do this.

Ummmm.... nope :)

Somewhere in the Extra Profile Page plugin under the submit area I'm guessing, with the appropriate vBulletin database functions.

futuredood 07-11-2006 05:53 PM

Quote:

Originally Posted by Wired1
Does the profile field show up on the extra page, the normal member page, or both? The editprofile page you are looking at, is it in the admincp, or just the normal member edit info page that each user has in their usercp? (screenshots would be awesome)

It's an editable user profile field, so I'm accessing it through the usercp. The link I use is profile.php?do=extra. How I tested it was I changed the display page of the profile field to "editprofile" in the admin backend, and it showed up fine in the users' "editprofile". When I set the display page to "options: extra options", it does not show up. The tests were tested on a "registered users" account in their own usercp.

I hope this explains it well enough. I've included a screen shot though it doesn't show much.. thanks.

Wired1 07-11-2006 06:36 PM

futuredood:

sounds like it's done right. so you can basically mark any profile field that's not a single-line text box as extra options, and it'll work fine?

doesn't make sense. Is this site live, or up enough where a temp registered user can be set up so that I can look at it?

futuredood 07-11-2006 07:19 PM

wired1, sorry about that, let me try again.

the site's not public yet, it's a fresh install of 3.5.4 that's being modified.

for the extra profile page, i can add any type of custom profile field. this includes single-selection menu, multi-selection check box, etc. the only custom profile fields that do not work is single-line text box and multi-line text box.

when i link a custom profile field single-line text box to the extra options page that this hack created, it does not show up.

does that make more sense?

Wired1 07-11-2006 08:30 PM

that's what I said :) the hack's too generic to affect some profile fields and not others, as it just adds that dropdown as an option for all fields to be marked as, and then the new page looks for fields with those marks and grabs them.

do you have any other hacks installed that affect profile fields?

futuredood 07-11-2006 09:29 PM

lol great, we both have an understanding now.

i've got a number of hacks installed as well as customized modify profile templates. which template is the extra profile field page in? maybe i made an alteration that causes single-line text boxes to not appear.

to note, i have interactive profiles installed which may alter the profile page some how.

Wired1 07-12-2006 03:20 AM

The extra profile field is its own template, made by the product XML.

futuredood 07-15-2006 03:49 PM

Hmm.. I just can't get this to work. My board is heavily modified, but I don't see which one could possibly conflict with this profile field hack. I'm not very familiar with how plugins work exactly, but is their a certain location I should look at and disable other plugins that might be conflicting with this hack?

futuredood 07-15-2006 04:04 PM

Wired_1, can I send you admin access to check this out? I think I've tried everything.

Wired1 07-15-2006 08:59 PM

Sure. Can't think off the top of my head what would do it though. doesn't make sense, as all the hack really does is to mark profile fields to be editable in a different location.

Wired1 07-17-2006 03:00 PM

I'm thinking of doing a upgrade for this hack. Basically, instead of storing info in profile fields, it'd store them in a SQL table. This would make it easier to have multiple pages of the same item (e.g. car stats, PC specs, etc), although it would still suffer from the same issue this current version has, where if you want multiple pages with different specs in each one, then you'd have to install the hack multiple times.

Comments?

futuredood 07-17-2006 06:11 PM

Quote:

Originally Posted by Wired1
I'm thinking of doing a upgrade for this hack. Basically, instead of storing info in profile fields, it'd store them in a SQL table. This would make it easier to have multiple pages of the same item (e.g. car stats, PC specs, etc), although it would still suffer from the same issue this current version has, where if you want multiple pages with different specs in each one, then you'd have to install the hack multiple times.

Comments?

Easier = Better :cool:

futuredood 07-19-2006 04:17 AM

Quote:

Originally Posted by Wired1
Code:

do=extra
in the text file instructions (and the extra plugins) would be replaced by something else (just add a 2 at the end for instance). You'd also need to add extra vbphrases and change them accordingly throught the plugin and text file instructions.

If you wanted to you could have them all in the same page, just depends on how much extra coding you'd want to do for the custom page.

Can you give a clearer instruction on how to create multiple pages? When I searched the code in the .xml and .txt instructions, do=extra came up only once each. Also, I'm not sure how to upload a .xml product copy since it asks you to overwrite the previous one. Thanks.

Wired1 07-19-2006 08:18 PM

I'll try to get to it tonight or tomorrow, a bit under the weather currently. Migraines SUCK. Will probably crash when I get home.

egyptsons 07-19-2006 08:46 PM

mmmm
I think it's not bad :cool:

futuredood 07-20-2006 09:53 PM

hey wired, how's it lookin today?

Arissa 07-20-2006 10:26 PM

I've tried to get it to show up on the members profile by using your other hack. It didn't work. What I really want is to create another page where the extra fields are shown with a link to the page in their profile.

bio.php would work.

Wired1 07-21-2006 02:42 PM

Quote:

Originally Posted by futuredood
hey wired, how's it lookin today?

This is UNTESTED, but unless I missed an edit here or there, it should work. Basically created a new product and updated names of all the plugins and calls and whatnot.

Wired1 07-21-2006 02:45 PM

Quote:

Originally Posted by Arissa
I've tried to get it to show up on the members profile by using your other hack. It didn't work. What I really want is to create another page where the extra fields are shown with a link to the page in their profile.

bio.php would work.

In otherwords, you'd like a link on their member page that goes to a new page where these extra specs can be seen? If so, shouldn't be that hard to whip up. If this is what you want, do me a fav, post this in that thread so I'll get the update in my email. That way I'll remember when I get home :)

futuredood 07-21-2006 04:40 PM

Quote:

Originally Posted by Wired1
This is UNTESTED, but unless I missed an edit here or there, it should work. Basically created a new product and updated names of all the plugins and calls and whatnot.

I did a quick install of this and received this error when I went to the Profile Field Manager in AdminCP:

Parse error: parse error, unexpected '\"', expecting ')' in /path/to/public_html/admincp/profilefield.php on line 383

And line 383 is this:
"$vbphrase[options]: $vbphrase[extra_options2]"

I'm pretty sure I followed the instructions correectly. I just added extra_options2 lines right under the original extra_options. But, I've got to go for the day, so will try again later tonight, thanks Wired.

Wired1 07-21-2006 06:11 PM

Did you place a 6 or 7 behind those two values? :) I've updated the txt file.

futuredood 07-22-2006 08:06 AM

Haha thanks Wired, works great. In case anyone's wondering.. to make 3'rd or 4'th pages, just rename the 2's in the .xml file to the appropriate number, as well as the install.txt file.

Wired1 07-22-2006 07:14 PM

Sweet :)

Also don't forget to increment the steps where it's a numerical list! :)

barryhand 07-26-2006 07:45 PM

Great Add-on, for some reason my extra's are showing up as Additional Information?

Are there some php edits for this to display correctly

Wired1 07-26-2006 10:31 PM

Quote:

Originally Posted by barryhand
Great Add-on, for some reason my extra's are showing up as Additional Information?

Are there some php edits for this to display correctly

Yep, read the instruction text file.

barryhand 07-27-2006 07:04 AM

Quote:

Originally Posted by Wired1
Yep, read the instruction text file.

I've done that, but then it doesn't display on the member.php

I've edited it to be 0 or 6 and it shows additional information like hobbies/age/location etc.


All times are GMT. The time now is 05:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02245 seconds
  • Memory Usage 1,835KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete