vb.org Archive

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

Wired1 03-14-2009 10:00 PM

Extra Profile Fields Page
 
1 Attachment(s)
Note to all: Yes I will be upgrading this mod if needed to work with vB 4.0, but not before it goes gold on or around the ETA of December 21st. I personally wouldn't recommend anyone upgrade their forum for a couple weeks after it comes out so that the modding community has a chance to test their code on the gold version.

=========================

Don't forget to hit INSTALL!

NOTE: No code changes have been made from v3.0.1 for vB 3.7.x to v3.1.0 for vB 3.8.x.

This product will add a new page to the User CP for easy editing of specially marked profile fields, that for one reason or another you would like to split off from the main list.

NOTE: Any fields marked for this page will not be seen in the user's profile. You would need to install the Extra Profile Fields Tab addon to do this.


After the product is FULLY installed, when a you want to move a profile field to the new page for easy editing:

1. Go to the AdminCP and edit the field as normal.
2. At the bottom in the Display Page area, you will see "Which page displays this option?" The last option should say Options: $vbphrase[extra_options].
3. Save!

Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). With an ADDITIONAL product (e.g. NOT this one), I place these specs in a dropdown list under the user title in each user's post, as well as in their profile as an extra tab.

Here's some examples of how I use this mod (with the Add-On mod, Extra Profile Fields Tab, and a separate mod, Profile Fields in a Postbit Dropdown):
http://www.houseofhelp.com/forums/sh...ad.php?t=39826


# of plugins: 3
# of php page edits: 1 (admincp/profilefield.php)
# of new templates: 1 (page)
# of template edits: 1 (USERCP_SHELL)
# of new phrases: 3 Click here for details. Also look at the attached pictures to see where they show up.

To Install:
1) Save the attached product-wired1_epfp.xml file.
2) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
3) Browse to wherever you saved the file.
4) Allow Overwrite -> Yes.
5) Import!
6) Follow the instructions for the manual edits (1 template edit, 1 PHP page edit)

The install process should only take 5 minutes at most.

Don't forget to hit INSTALL!

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

Wired1 03-14-2009 10:23 PM

vB Phrases:

extra_options_updated - Simple message posted after you hit the SAVE button on the page.
edit_extra_options - Name of UserCP link
extra_options - Shows up in various places, mostly on the title of the extra page, as well as in the profile field selection area (see pics above for more info)

Version History:
3.0.0 - Initial Release for 3.7.x
3.0.1 - Added header to edit page, cached templates, redirect now goes back to edit page
3.1.0 - Updated version # for vB 3.8.x, no code changes made.

Wired1 03-14-2009 10:32 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1727028&postcount=157" target="_blank">How to add these special profile fields to your advanced member search form</a>.

Wired1 03-14-2009 10:32 PM

Reserved for future use.

Saviour 03-15-2009 03:41 PM

Wired...

I'm not getting the link in the UserCP...

Followed the directions to edit the USERCP_SHELL and the profilefield.php templates/file, but it's not displaying the link to "Edit Extra Options".

Update...

Never mind Wired...I found a mod I have installed that conflicts with your mod. It's the User CP Icons mod. I just disabled that mod and this is working fine, now.

Ain't no thing, but a chicken wing...

RedGTiVR6 03-15-2009 07:35 PM

Just to double check, if we had this mod (and the others that go along with it) installed with vb 3.x, then upgraded to vb 3.8, and it still works, no need to install this new mod, correct? We should be find to just mark this mod as installed and the other version (for 3.7 and the like) as uninstalled.

Am I thinking correctly?

Wired1 03-15-2009 08:14 PM

Correctamundo.

ziggylol 03-16-2009 09:58 AM

On the profile tab section how it says "Extra Options" how can i change the the text to something else? Cheers

Jasem 03-19-2009 08:05 PM

Great mod. , thank you!

Wired1 03-20-2009 03:49 PM

Quote:

Originally Posted by ziggylol (Post 1769500)
On the profile tab section how it says "Extra Options" how can i change the the text to something else? Cheers

Quote:

Originally Posted by Jasem (Post 1772090)
Great mod. , thank you!

Hit install for support guys :) Ziggy, your question is answered and shown above as well.


All times are GMT. The time now is 11:05 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.01184 seconds
  • Memory Usage 1,739KB
  • 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_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
  • (10)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