Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Extra Profile Fields Page Details »»
Extra Profile Fields Page
Version: 4.0.0, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.0.6 Rating:
Released: 12-09-2009 Last Update: 11-15-2010 Installs: 147
Uses Plugins Template Edits
Re-useable Code Code Changes  
No support by the author.

For those upgrading from the 3.8.x mod, read this.

Don't forget to hit INSTALL!

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 (haven't updated it as of yet) to do this.

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 the 3.8.x version of this mod (with the Add-On mod, Extra Profile Fields Tab, and a separate mod, Profile Fields in a Postbit Dropdown):
http://forum.corsair.com/forums/showthread.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.

Version Changes
Known Bugs
================

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)


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!


Don't forget to hit INSTALL!

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

Download Now

File Type: xml product-wired1_epfp.xml (4.8 KB, 838 views)
File Type: txt extra_profile_fields_instructions_4.0.0.txt (1.9 KB, 575 views)

Screenshots

File Type: jpg Extra Options.jpg (59.0 KB, 0 views)
File Type: jpg phrases.jpg (47.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 08-31-2010, 12:00 PM
alexp999 alexp999 is offline
 
Join Date: Jul 2010
Location: Dorset, UK
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wired1, I've experienced what wipedout was refering to.

When you go to "Settings" (usercp), and click edit "extra fields" (or whatever you ve named the page), and click save, it wiped out the data that you had, in some of the normal profile fields, such as msn address, etc.

The fix I linked to, seems to send the information as a different "do" instead of the same as the normal profile page, which therefore fixes the issue of the data being wiped out.
Reply With Quote
  #53  
Old 10-27-2010, 01:22 PM
xbrian88 xbrian88 is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem with 4.0.8



please help me!!!
Reply With Quote
  #54  
Old 10-27-2010, 09:57 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

re-import the product Allow Overwrite Yes. worked great for me sir.
Reply With Quote
  #55  
Old 10-28-2010, 08:35 AM
xbrian88 xbrian88 is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marrr View Post
Below is an example of the code I used to create a dropdown menu in the postbit_legacy template. The code mimics the code used in the forum menu for creating a dropdown menu, only this one does not use links but rather static text.

Instructions:

Replace all Instances of $post['field#'] to list the proper field name of each custom profile field you wish to include and follow the format below to add additional fields. Only 3 fields were shown in the code to reduce the length of it. When adding a new field you should add it to the first vB conditional as well as the code for listing it. The conditional for displaying each field is optional and by some may be considered excessive, this is entirely up to you! You also do not have to use inline styling as I have but this was thrown together quickly to get something that works.

HTML Code:
<!-- post specs_menu -->
<vb:if condition="$post['field#'] OR $post['field#'] OR $post['field#']">
	<div class="userinfo_extra">
		<ul>
			<li class="popupmenu">
				<a href="javascript://" class="popupctrl" accesskey="6">Computer Specs</a>
				<ul class="popupbody popuphover">
					<vb:if condition="$post['field#']">
						<li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Case:</span> {vb:raw post.field#}</li>
					</vb:if>
					<vb:if condition="$post['field#']">
						<li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Motherboard:</span> {vb:raw post.field#}</li>
					</vb:if>
					<vb:if condition="$post['field#']">
						<li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Processor:</span> {vb:raw post.field#}</li>
					</vb:if>
				</ul>
			</li>
		</ul>
	</div>
</vb:if>
<!-- / post specs_menu -->
I hope this helps and that I have posted this code in the right section :P
not work me in VB 4.0.8... the position of code???, where in postbit legacy?
Reply With Quote
  #56  
Old 10-29-2010, 07:32 AM
xbrian88 xbrian88 is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

???
Reply With Quote
  #57  
Old 10-29-2010, 12:45 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how about using this hack here https://vborg.vbsupport.ru/showthread.php?t=248651
Reply With Quote
  #58  
Old 11-12-2010, 06:48 AM
Hall of Famer Hall of Famer is offline
 
Join Date: Apr 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

umm can the new profile field page and tab be used as iframes that link to a page outside of the forum?
Reply With Quote
  #59  
Old 11-12-2010, 12:56 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xbrian88 View Post
problem with 4.0.8

please help me!!!
I'll try to duplicate it this weekend. Sorry for the delayed response, never got an email that said the thread had new posts.


Quote:
Originally Posted by DS MrSinister View Post
re-import the product Allow Overwrite Yes. worked great for me sir.
Huh?


Quote:
Originally Posted by Hall of Famer View Post
umm can the new profile field page and tab be used as iframes that link to a page outside of the forum?
Please clarify as to what you're wanting to do? If you just want a link in the UserCP that links outside of the forum you certainly don't need this mod.
Reply With Quote
  #60  
Old 11-12-2010, 02:09 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well my good sir Wired1. when upgrading from 4.0.7 to 4.0.8 your mod stop working. so i tried reinstalling the xml then it start working again.
Reply With Quote
  #61  
Old 11-15-2010, 07:47 PM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is an error in your instructions

Quote:
FIND:

<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li>


After it post:

<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=extra">{vb:rawphrase edit_extra_options}</a></li>
Should be:

Quote:
FIND:

<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li>


After it post:

<li class="{vb:raw navclass.extra}"><a href="profile.php?{vb:raw session.sessionurl}do=extra">{vb:rawphrase edit_extra_options}</a></li>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:40 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.11878 seconds
  • Memory Usage 2,350KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete