vb.org Archive

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

Wired1 08-06-2006 10:00 PM

Extra Profile Fields Page
 
IMPORTANT INSTRUCTIONS for those upgrading to vB 3.6.10!!!

https://vborg.vbsupport.ru/showpost....&postcount=269

EVERYONE: PLEASE BE CRYSTAL CLEAR IN WHAT ISSUES YOU ARE HAVING WITH THIS MOD IF YOU ARE USING IT IN 3.7.x! A 3.7.x version is already in the works.

------------------------------------------------------------

You can find the 3.5.x version of this hack here.

This hack will add an extra page to the User CP. This area can be used for extra profile fields that for one reason or another you would like to split from the main list.

Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). I have the specs in a dropdown list under the user title in each user's post, as well as in their profile page, but that's another hack :) You'll see a link to it under Add-Ons to the right.

Here's some examples of how I use this hack (with the Add-On hack, Additional Section within Profile and Dropdown within Posts):
http://www.houseofhelp.com/forums/sh...ad.php?t=39826
http://www.houseofhelp.com/forums/member.php?u=15

# of plugin hooks: 1
# of php page edits: 3
# of new templates: 1
# of template edits: 1
# of new phrases: 2


To install, upload the product and then make the manual edits as listed in the text file.

Don't forget to hit INSTALL!

Support will only be given to people who have hit install.

Wired1 08-07-2006 01:50 AM

IMPORTANT INSTRUCTIONS for those upgrading to vB 3.6.10!!!

https://vborg.vbsupport.ru/showpost....&postcount=269

Sean S 08-07-2006 06:31 AM

Just what I was looking for, thanks Wired1, installed. :)

Wired1 08-07-2006 11:58 AM

Thanks! Please post back if you're doing something cool with the mod :)

Sean S 08-07-2006 04:54 PM

sure thing bud, I'll keep you updated :)

Aligator21 08-08-2006 04:33 AM

in admincp it show me this message :(

Quote:

Parse error: syntax error, unexpected '"', expecting ')' in /home/alig/www/forum/admincp/profilefield.php on line 452

Aligator21 08-08-2006 04:34 AM

my mistake. ignore the above reply!
nice hack ;)

Wired1 08-08-2006 11:50 AM

Glad to hear :)

trinigamers 08-09-2006 01:29 AM

OK so i added it..but it's not showing up for pc specs...i.e. the specs not showing up in user profile

Wired1 08-09-2006 04:14 AM

Read the first post on this thread again, wrong hack.

abosaleh 08-09-2006 04:48 AM

Thanks . it is good idea Mr Wired1

Wired1 08-09-2006 12:22 PM

Aligator21, trinigamers, abosaleh, please hit INSTALL :)

hurry 08-13-2006 05:01 AM

I want this Extra Fields option and your other dropdown hack only for the Admin usergroup. Is this possible and how?

Wired1 08-13-2006 05:34 AM

As in everyone can see their info, but no one outside of an admin can create it? For THIS hack, on the Hook: Extra Profile Page

after

Code:

if ($_REQUEST['do'] == 'extra')
you'd have to place another conditional for usergroups, to make sure they're an admin.

hurry 08-13-2006 05:42 AM

Thanks, can you please tell the code of that conditional? I am a novice in php and dont know how to code.

Eagle Creek 08-23-2006 10:11 PM

Hmm.. Installed BUT where does the PUBLIC part show up?

Do I have to manually add those to my profile or the postbit?

Wired1 08-24-2006 03:25 PM

Quote:

Originally Posted by Eagle Creek
Hmm.. Installed BUT where does the PUBLIC part show up?

Do I have to manually add those to my profile or the postbit?

Install the Add-On hack listed above.

Snake 08-24-2006 05:12 PM

Thanks for the 3.6 version, just installed it on my newly-created forums.

http://www.metalgearsolidforums.com

cavyspirit 08-25-2006 01:35 AM

I need to add multiple pages for different purposes.

I plan on having different usergroups fill out different sets of data.

I don't care if everyone can see and fill them out. They won't be used unless it's for the right user group.

So, how do I create additional pages?

futuredood 08-25-2006 04:49 AM

thanks wired.. u gotta finish that zsp already lol

BETIServices 08-25-2006 06:20 AM

O.k the hack works but the second page I need to display under the profile also, how can I do that?

Thanks, nice hack

steven s 08-25-2006 10:53 AM

I just noticed something weird.
Since upgrading to vB 3.6 and 2.10, I can not see several additional profiles in the profile manager.

I know I have a profile number 10 sinc I use it elsewhere.
I don't recall if I had to name a set of new profile fields and that is why there are not appearing.

Edit: Never mind. I did not read all the instructions.
Note to self: Install mods when awake.

Quarterbore 08-25-2006 10:05 PM

Can this be used to combine a number of profile pages into the main user's profile?

For example, my site has profiles for my classifieds script, photogalary, as well as the main forums. I would LOVE to be able to create one profile page that has some type of tab that would allow me to have a dingle profile page for my members...

I was going to code this myself when I found time but if this could do that I would be one happy webmaster!

futuredood 08-26-2006 12:54 AM

i tried using the same method as the 3.5.4 version to make multiple pages, but the second page seems to display the same information as the first page (extra2). can you post a accurate file for those that want to use multiple pages? maybe i missed a link when i edited the .xml file.

marlita 08-26-2006 02:59 AM

Wired1 or anyone else who may know: how do I get this mod to do this (add webpage & guestbook to users' profiles)?

Any suggestions would be very much appreciated!


Thank you

Wired1 08-26-2006 04:31 AM

HOW TO ADD MULTIPLE PAGES:

I've attached EXAMPLES of modified instruction.txt and product.xml of what to change. ANYWHERE you see ###, INCLUDING the product name, change to whatever number you wish (but don't repeat in another extra page). I'd recommend editing the product and instructions first, and then follow them as normal.


cavyspirit, futuredood, BETIServices:
Any questions? BTW, futuredood, please hit install :)


1996 328ti:
cool beans :)


Quote:

Originally Posted by Quarterbore
Can this be used to combine a number of profile pages into the main user's profile?

For example, my site has profiles for my classifieds script, photogalary, as well as the main forums. I would LOVE to be able to create one profile page that has some type of tab that would allow me to have a dingle profile page for my members...

I was going to code this myself when I found time but if this could do that I would be one happy webmaster!

That would not be this hack, sorry. Your idea is definitely possible, but beyond the scope of this hack.


Quote:

Originally Posted by marlita
Wired1 or anyone else who may know: how do I get this mod to do this (add webpage & guestbook to users' profiles)?

This hack has nothing in common with that one, and that hack is for 3.0.x, so it may not even be compatible with 3.6.x.

marlita 08-26-2006 04:40 AM

*sigh* so, does that mean that you wouldn't know how to make something like that mod integrate with yours? I'm sorry, I know it's not the same as yours, I just thought it was along the same lines ... adding a new section to the profile. *shrug* If you have any suggestions, it'd be very much appreciated.

Thank you

Wired1 08-26-2006 06:11 AM

That specific mod, no, as it's almost 2 years old, and vB's significantly changed since then. What version of vB do you have?

marlita 08-27-2006 08:06 PM

I'm adding to http://www.virginiareia.com. thank you.

garyrogers 08-28-2006 02:30 PM

just wondering how easy it would be to split the profile info so that there can be 2 user groups each of which has distinct profile info that they can record. essentially I have a board that "matchmakes" between 2 groups and I want to record separate info for each in the profile section.:confused:

Wired1 08-30-2006 08:21 PM

Quote:

Originally Posted by garyrogers
just wondering how easy it would be to split the profile info so that there can be 2 user groups each of which has distinct profile info that they can record. essentially I have a board that "matchmakes" between 2 groups and I want to record separate info for each in the profile section.:confused:

got a link to your forum? do you two ACTUAL usergroups, and which each one has different profile fields, or all users have the same fields, but you want to split off one group of fields from another?

marlita 08-30-2006 08:29 PM

Hey wired1... I don't know about his forum, but the answer for me would be the second one: I have the same profile fields for everyone, but I just want to split the info evenly onto two different panels within the profile. oh, and i'm on vb6. thank you.

garyrogers 09-02-2006 01:10 PM

Quote:

Originally Posted by Wired1
got a link to your forum? do you two ACTUAL usergroups, and which each one has different profile fields, or all users have the same fields, but you want to split off one group of fields from another?

my site is http://www.gpmanagement.co.uk
currently I have managers signed up. i want to add in locum doctors who will offer them their services. essentially the locums will need to portray a set of fields ( price, terms etc) that the managers will view

The-Ensemble 09-03-2006 04:00 PM

Is this controlled by a template so I could customize the design? If so which one?

EDIT---------
Nevermind I found it. :-p

Its the Page template for those else who are wondering. :d

Jericho2004 09-04-2006 06:46 PM

I am not having any luck changing "Edit Extra Options" to "Edit System Specs". Can you specify in more detail how to do that? I tried changing it in USERCP_SHELL, but that just made it disappear from the control panel.

Thanks for any help.

Wired1 09-04-2006 09:57 PM

Quote:

Originally Posted by garyrogers
my site is http://www.gpmanagement.co.uk
currently I have managers signed up. i want to add in locum doctors who will offer them their services. essentially the locums will need to portray a set of fields ( price, terms etc) that the managers will view

In otherwords, certain fields for certain user groups. This isn't a feature of vB, and as such would require additional hacking. Off the top of my head, here's the basic idea of what you'd have to do.

Create 2 pages, one for each set of hacks. Throw usergroup conditionals around the code that has the links for the edit <PAGE> in the UserCP.


Quote:

Originally Posted by Jericho2004
I am not having any luck changing "Edit Extra Options" to "Edit System Specs". Can you specify in more detail how to do that? I tried changing it in USERCP_SHELL, but that just made it disappear from the control panel.

What EXACTLY did you do? I'd guess you changed
Code:

$vbphrase[edit_extra_options] to $vbphrase[edit_system_specs]
but didn't create the phrase, hence nothing shows up.

The-Ensemble 09-05-2006 01:29 PM

Is it possible to install another page and have it as a subpage for one you've previously added?
If so could you share some basic instructions on it?

Wired1 09-05-2006 11:59 PM

define how you're envisioning a "sub-page".

The-Ensemble 09-06-2006 05:27 AM

ok.
One page has alot of info and there will be a button to say for more info click here and it will take you to a sub page with alot more info.

Also is it possible to put input fields on a page and a submit button at the bottom that turns all the fields filled in, into one big pm?

garyrogers 09-06-2006 07:55 AM

thanks for the advice above. another problem though...
from the drop down list that displays the extra fields, I have created a field that holds a url, in this case one to a member's google calendar. I want this link to open up a new browser window, but despite lots of tinkering I can't get it to do so, here is my code in the postbit template:

<if condition="$post['field14']">
<tr><td class="vbmenu_option"><a href= "$post[field14]" target="_blank">My Calendar from Google </a></td></tr>
</if>
this only brings up the link in the same browser window, which is annoying. it doesnt seem to be able to understand the target reference, and simply ignores it. any ideas?
thanks


All times are GMT. The time now is 05:28 PM.

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.01397 seconds
  • Memory Usage 1,821KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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