The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extra Profile Fields Page Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
Comments |
#92
|
|||
|
|||
i am not understanding this part at all
==================================== The following code adds an extra area to: User Profile Fields -> User Profile Field Manager When a new profile field is added, in the Display Page area, select Options: Extra Options (or whatever you placed in the extra_options vB Phrase) // *** open admincp/profilefield.php find "$vbphrase[options]: $vbphrase[other]" replace with "$vbphrase[options]: $vbphrase[other]", "$vbphrase[options]: $vbphrase[extra_options]" find 5 => "$vbphrase[options]: $vbphrase[other]", add under 6 => "$vbphrase[options]: $vbphrase[extra_options]", // *** save and close admincp/profilefield.php // *** open includes/functions_user.php find case 5: $customfields['other'] .= $tempcustom; break; add under case 6: $customfields['extra'] .= $tempcustom; break; // *** save and close includes/functions_user.php ==================================== |
#93
|
|||
|
|||
Great idea! I have a health forum and now we can have a page with members health info.
Does this work on 3.6.4? |
#94
|
|||
|
|||
I was wondering what template I go to to edit the way this Extra Info Page looks and the title of it and all that?
I've been wondering how the hell to do this, so thank you! |
#95
|
|||
|
|||
Sorry maybe this is a stupid question but I'm having problems.
I'm new to modifying vBulletin so I'm learning. When I go to user cp to edit it, it's blank. I've attached an image. Sorry if I'm a noob. **edit* Figured out more..I think something about postbit? I'm earning vBulletin as I go along. If it has anything to do with postbit can someone please tell me what needs to be changed? Thanks. |
#96
|
|||
|
|||
Thorlax...
You need to edit the USERCP_SHELL template... I think. All you need to do is look at the coding for the menu and then, depending on how the coding is, add a link to the new page (which I believe would be /profile.php?do=extra. If you show me the coding for that template I could edit it in for you? |
#97
|
|||
|
|||
I actually finally got the words to show up, but its just a blank page now.
Sorry, this was my first addon, I'm not as stupid anymore but still I don't remember what I even did with this one... Heres a template we're using it with..Its the USERCP_SHELL Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $pagetitle</title> </head> <body$onload> $header $navbar <!-- table to support left column nav --> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td> <!-- usercp nav --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"> <tr> <td class="tcat"><a href="usercp.php$session[sessionurl_q]">$vbphrase[control_panel]</a></td> </tr> <tr> <td class="thead">$vbphrase[settings_and_options]</td> </tr> <if condition="$show['siglink']"> <tr> <td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td> </tr> </if> <tr> <td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td> </tr> <!-- v3 Arcade --> <tr> <td class="$navclass[arcade]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editarcade">$vbphrase[edit_arcade_options]</a></td> </tr> <!-- /v3 Arcade --> <tr> <td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td> </tr> <tr> <td class="$navclass[extra]" style="white-space:nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_extra_options]</a></td> </tr> <tr> <td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td> </tr> <if condition="$show['avatarlink']"> <tr> <td class="$navclass[avatar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td> </tr> </if> <if condition="$show['profilepiclink']"> <tr> <td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td> </tr> </if> <if condition="$show['pmmainlink']"> <tr> <td class="thead" nowrap="nowrap"> <span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span> <if condition="$show['popups']"> <div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">$vbphrase[folders]</td> </tr> $cpnav[pmfolders] </table> </div> </if> </td> </tr> <tr> <td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td> </tr> <if condition="$show['pmsendlink']"> <tr> <td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td> </tr> </if> <if condition="$show['pmtracklink']"> <tr> <td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td> </tr> </if> <tr> <td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td> </tr> </if> <tr> <td class="thead" nowrap="nowrap"> <span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_subsfolders"); </script></if></span> <if condition="$show['popups']"> <div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">$vbphrase[folders]</td> </tr> $cpnav[subsfolders] </table> </div> </if> </td> </tr> <tr> <td class="$navclass[substhreads_listthreads]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td> </tr> <tr> <td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td> </tr> <if condition="$show['deleteditems'] OR $show['moderateditems']"> <tr> <td class="thead">$vbphrase[moderation]</td> </tr> <if condition="$show['deleteditems']"> <tr> <td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&type=deleted">$vbphrase[deleted_threads]</a></td> </tr> <tr> <td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&type=deleted">$vbphrase[deleted_posts]</a></td> </tr> </if> <if condition="$show['moderateditems']"> <tr> <td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&type=moderated">$vbphrase[moderated_threads]</a></td> </tr> <tr> <td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&type=moderated">$vbphrase[moderated_posts]</a></td> </tr> </if> </if> <tr> <td class="thead">$vbphrase[miscellaneous]</td> </tr> <tr> <td class="$navclass[event_reminders]" nowrap="nowrap"><a class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td> </tr> <if condition="$show['paidsubscriptions']"> <tr> <td class="$navclass[paid_subscriptions]" nowrap="nowrap"><a class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td> </tr> </if> <if condition="$show['publicgroups']"> <tr> <td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td> </tr> </if> <tr> <td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td> </tr> <if condition="$show['attachments']"> <tr> <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td> </tr> </if> </table> <!-- / usercp nav --> </td> <td> </td> <td width="100%"> <!-- main page contents --> $HTML <!-- / main page contents --> </td> </tr> </table> <!-- / table to support left column nav --> $footer </body> </html> |
#98
|
|||
|
|||
What's a blank page? The whole thing or just when you click on it? I created a new style on my board and used that code that you gave me and it seems to be working fine now.
The only thing that I can suggest is, if you're not going to have an arcade... copy the code I have below to get rid of the ugly gray space between the 'Edit Email & Password' link and the 'Edit Profile' link. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $pagetitle</title> </head> <body$onload> $header $navbar <!-- table to support left column nav --> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td> <!-- usercp nav --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"> <tr> <td class="tcat"><a href="usercp.php$session[sessionurl_q]">$vbphrase[control_panel]</a></td> </tr> <tr> <td class="thead">$vbphrase[settings_and_options]</td> </tr> <if condition="$show['siglink']"> <tr> <td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td> </tr> </if> <tr> <td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td> </tr> <tr> <td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td> </tr> <tr> <td class="$navclass[extra]" style="white-space:nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_extra_options]</a></td> </tr> <tr> <td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td> </tr> <if condition="$show['avatarlink']"> <tr> <td class="$navclass[avatar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td> </tr> </if> <if condition="$show['profilepiclink']"> <tr> <td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td> </tr> </if> <if condition="$show['pmmainlink']"> <tr> <td class="thead" nowrap="nowrap"> <span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span> <if condition="$show['popups']"> <div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">$vbphrase[folders]</td> </tr> $cpnav[pmfolders] </table> </div> </if> </td> </tr> <tr> <td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td> </tr> <if condition="$show['pmsendlink']"> <tr> <td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td> </tr> </if> <if condition="$show['pmtracklink']"> <tr> <td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td> </tr> </if> <tr> <td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td> </tr> </if> <tr> <td class="thead" nowrap="nowrap"> <span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_subsfolders"); </script></if></span> <if condition="$show['popups']"> <div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">$vbphrase[folders]</td> </tr> $cpnav[subsfolders] </table> </div> </if> </td> </tr> <tr> <td class="$navclass[substhreads_listthreads]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td> </tr> <tr> <td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td> </tr> <if condition="$show['deleteditems'] OR $show['moderateditems']"> <tr> <td class="thead">$vbphrase[moderation]</td> </tr> <if condition="$show['deleteditems']"> <tr> <td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&type=deleted">$vbphrase[deleted_threads]</a></td> </tr> <tr> <td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&type=deleted">$vbphrase[deleted_posts]</a></td> </tr> </if> <if condition="$show['moderateditems']"> <tr> <td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&type=moderated">$vbphrase[moderated_threads]</a></td> </tr> <tr> <td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&type=moderated">$vbphrase[moderated_posts]</a></td> </tr> </if> </if> <tr> <td class="thead">$vbphrase[miscellaneous]</td> </tr> <tr> <td class="$navclass[event_reminders]" nowrap="nowrap"><a class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td> </tr> <if condition="$show['paidsubscriptions']"> <tr> <td class="$navclass[paid_subscriptions]" nowrap="nowrap"><a class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td> </tr> </if> <if condition="$show['publicgroups']"> <tr> <td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td> </tr> </if> <tr> <td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td> </tr> <if condition="$show['attachments']"> <tr> <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td> </tr> </if> </table> <!-- / usercp nav --> </td> <td> </td> <td width="100%"> <!-- main page contents --> $HTML <!-- / main page contents --> </td> </tr> </table> <!-- / table to support left column nav --> $footer </body> </html> |
#99
|
|||
|
|||
why using this instead of creating custom fields using vb built system ?
|
#100
|
|||
|
|||
Hi,
I'm installing this but I don't know where admincp/profilefield.php or includes/functions_user.php is for this part: Quote:
|
#101
|
|||
|
|||
Hello.
Open these files onto your PC and use your file editor to search for e.g. $vbphrase[options]: $vbphrase[other] then follow the instructions you quoted in your thread post. When done, re-upload these 2 files (admincp/profilefield.php and includes/functions_user.php) HTH |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|