![]() |
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 ==================================== |
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? |
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! |
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. http://img91.imageshack.us/img91/3679/usercpid4.jpg **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. |
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? |
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] |
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] |
why using this instead of creating custom fields using vb built system ?
|
Hi,
I'm installing this but I don't know where admincp/profilefield.php or includes/functions_user.php is for this part: Quote:
|
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 |
All times are GMT. The time now is 08:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|