PDA

View Full Version : Profile Enhancements - Extra Profile Fields Page


Pages : [1] 2

Wired1
08-06-2006, 10:00 PM
IMPORTANT INSTRUCTIONS for those upgrading to vB 3.6.10!!!

https://vborg.vbsupport.ru/showpost.php?p=1499395&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 (https://vborg.vbsupport.ru/showthread.php?t=98282).

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/showthread.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! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=123253)

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.php?p=1499395&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 :(

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

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
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 (https://vborg.vbsupport.ru/showthread.php?t=71065) (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 :)


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.


Wired1 or anyone else who may know: how do I get this mod to do this (https://vborg.vbsupport.ru/showthread.php?t=71065) (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
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
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
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.


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 $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

Wired1
09-06-2006, 11:24 PM
The-Ensemble:
What is in the sub-page, more fields to enter data in, or something else? Either way, you could edit the page template and throw a link in there.

You want the stuff entered NOT to go into their profile, but just into a PM?


garyrogers:
Kewl use of the hack :) Sorry, no clue why it's doing that. Please restrict dropdown posts to the dropdown hack's thread, and vice versa :)


WARNING: allowing users to post links blatently in their profile like that screams for spammers to abuse it. What I'd do is to change it a bit, like so:

<if condition="$post['field14']">
<tr><td class="vbmenu_option"><a href= "http://www.google.com/calendar/embed?src=$post[field14]" target="_blank">My Calendar from Google</a></td></tr>
</if>

and change the field to be a place for their email address only. That way, you know it'll go to the google calendar page. However, this may very well still be abused by crafty coders, although you could probably do some regex parsing on the field itself somehow to prevent this. No, I have no idea how to do it, just that it may be possible :)

The-Ensemble
09-07-2006, 03:03 PM
The-Ensemble:
What is in the sub-page, more fields to enter data in, or something else? Either way, you could edit the page template and throw a link in there.

You want the stuff entered NOT to go into their profile, but just into a PM?


Yes, So Users fill out these fields and they all combine and become the content of a PM with a set user and set title. (which I would like to be able to customize because I'll be using this more than once)

Is this possible?

wrang
09-07-2006, 06:00 PM
Is it possible to put a link to a picture in this mod. So if i put a link to my picture it came up as a picture in the System Specs

I have a webbpage about marinaquarium and it should be great to use this and want a picture to

best regards

Wired1
09-08-2006, 05:16 AM
Yes, So Users fill out these fields and they all combine and become the content of a PM with a set user and set title. (which I would like to be able to customize because I'll be using this more than once)

Is this possible?

Possible, yes, however it's way outside the scope of this hack. I'd search the forum here for auto-creation of PMs, that would be a good start.

Is it possible to put a link to a picture in this mod. So if i put a link to my picture it came up as a picture in the System Specs

I have a webbpage about marinaquarium and it should be great to use this and want a picture to

Do you mean you would like the picture to appear in their member profile and/or dropdown? If so, please specify which one or both you mean, and respond in the correct thread, which would be the add-on hack (linked to at the top of this thread).

wrang
09-08-2006, 11:46 AM
Wired1
Yes i want it in the member profile.
Is it possible to have one upload function or is it better to link to a picture in the profile.
So if i put a picture link in one textfield it came up like a picture.

Wired1
09-09-2006, 02:18 AM
vBulletin Options > vBulletin Options > User Picture Options

Could do that as well :)

cyvok
09-10-2006, 04:04 AM
I have installed this hack and have a small issue.

As you can see from the attached picture, instead of having the new field show up on the userCP all I get is a double line.

I have followed the instructions exactly and gone over them several times. Any advice?

Also, do you have instructions for actually adding the extra fields to the second page. I am slightly new at this and I cannot easily see where/how to add them.

thank you

-CYVOK-

Wired1
09-10-2006, 04:22 AM
$vbphrase[edit_extra_options] is either not created or has no value. As for the extra fields, you need to select EXTRA OPTIONS under Display Page when creating the field, or edit an existing field to do so. Have you installed the product? it creates the phrase mentioned above.

cyvok
09-10-2006, 02:43 PM
Sweet! Did not realize I had to edit the XML if I changed the VB phrase. I have it working just the way I woudl like now.

Great hack, thank you.

-CYVOK-

The-Ensemble
09-10-2006, 05:25 PM
Ok, So How would I do the sub page? The input fields into a PM I might be able to work out but how would I create a subpage?

Wired1
09-11-2006, 03:46 AM
Sweet! Did not realize I had to edit the XML if I changed the VB phrase. I have it working just the way I woudl like now.

Great hack, thank you.Could've just edited the phrase text, instead of creating a new phrase :) Thanks!


Ok, So How would I do the sub page? The input fields into a PM I might be able to work out but how would I create a subpage?Create a second page as per the instructions earlier in the thread (post 26 I believe), and then just slap a link near the bottom of the first page template.

The-Ensemble
09-11-2006, 05:42 AM
Yeah how would I Make the navbar reconise it?
so its like

Index-Usercp-Custom Page-SubPage

Thats what I want to know.

Wired1
09-11-2006, 01:38 PM
Yeah how would I Make the navbar reconise it?
so its like

Index-Usercp-Custom Page-SubPage

Thats what I want to know.

Oh, the breadcrumb, no idea, sorry!

KityKatze
09-19-2006, 01:06 PM
Hi Wired!

Fantastic mod and just what I was looking for.

I've installed it on my forums - A World of Warcraft Guild site, and am allowing users to list their alt characters with it.

One problem though, it doesn't seem to be working in Firefox, the dropdown box just displays the description text for the first entry field.

Works like a dream in IE and Opera.

Cheers for any help!

Ignore me, I found out it was a bit of duplicated code causing the error in FF. sorry!

Wired1
09-19-2006, 10:07 PM
no problemo, it's just reused vBulletin code, so it had better work lol!

futuredood
09-20-2006, 07:26 AM
thanks wired, i've been away from the web the last couple of weeks.. i just got the extra pages working fine.

*clicks add* ;)

wrang
09-20-2006, 04:45 PM
Im stupid or not but i have installed an test this on my page but its just a blank page when i click on the Edit Extra Options text

wrang
09-20-2006, 04:46 PM
Im stupid or not but i have installed an test this on my page but its just a blank page when i click on the Edit Extra Options text

how can i get some text

Wired1
09-20-2006, 05:32 PM
Have you made some profile fields that are under Extra: Options?

principino1984
09-22-2006, 06:16 AM
Im stupid or not but i have installed an test this on my page but its just a blank page when i click on the Edit Extra Options text


same with me, It worked ok on the vb 3.6.0, but as soon as I upgraded to vb 3.6.1 it gives me the same blank page

Marco

Wired1
09-22-2006, 12:55 PM
Did you reinstall the hack, including the manual hacks?

The-Ensemble
09-23-2006, 12:14 PM
same with me, It worked ok on the vb 3.6.0, but as soon as I upgraded to vb 3.6.1 it gives me the same blank page

Marco
I'm pretty sure it reverted the templates since when you install it they are all blank . .
I think you might have to rebuild them all:(

Wired1
09-24-2006, 02:01 AM
Correct, as asked above.

principino1984
09-24-2006, 03:59 PM
then I have to reinstall everything?

Tonight I'll try

Marco

The-Ensemble
09-24-2006, 05:08 PM
My question:

How would I seperate fields?

I want to put fields in one td, then fields in one lower down.

how do I manually add them to do this?

Wired1
09-24-2006, 07:19 PM
My question:

How would I seperate fields?

I want to put fields in one td, then fields in one lower down.

how do I manually add them to do this?

In the member page? if so, please ask in the correct thread.

The-Ensemble
09-24-2006, 07:25 PM
no, in the page I added.

principino1984
09-24-2006, 11:11 PM
ok, I'm reinstallin the hack, and it seems to work right now, but as soon as I add this part of the hack:

"FIND:

// END CUSTOM PROFILE FIELDS
// *************************

AFTER IT ADD:

($hook = vBulletinHook::fetch_hook('member_extras')) ? eval($hook) : false;"

I get database error..

why is that?
Will everythin work evern without this line?

Marco

Eagle Creek
09-25-2006, 12:12 PM
Im stupid or not but i have installed an test this on my page but its just a blank page when i click on the Edit Extra Options text

This is exactly my problem!
I reinstalled everything but it isn't working..

Eagle Creek
09-25-2006, 12:36 PM
I have a problem!

I can edit the profile fields within the user profile, when I'm logged in as admin. But: users can't edit the fields themself in their panel.

And: whem I look at the vB User Profile Field Manager, it doesn't show my fields!

It goes from 1-2-3-4-9 (!). 5-6-7-8 are gone!

principino1984
09-25-2006, 02:05 PM
I have a problem!

I can edit the profile fields within the user profile, when I'm logged in as admin. But: users can't edit the fields themself in their panel.

And: whem I look at the vB User Profile Field Manager, it doesn't show my fields!

It goes from 1-2-3-4-9 (!). 5-6-7-8 are gone!


I had to reinstall everything because when I upgraded to vb 3.6.1 it overwrited everythin.

Now in my forum everythin is workin right.

Marco

TeamDevotion
09-25-2006, 04:01 PM
any way to show these specs under the users name when they post like location, age, and post count do?

Eagle Creek
09-25-2006, 04:12 PM
I had to reinstall everything because when I upgraded to vb 3.6.1 it overwrited everythin.

Now in my forum everythin is workin right.

Marco

I also reinstalled everything. Made the file edits again etc.

But it almost looks like that the fields are gone?

The-Ensemble
09-25-2006, 05:12 PM
maybe you should add the profile fields again, or look in the template for creating the profile fields, you can code profile fields to appear and not work, just check they aint there.

marlita
09-25-2006, 10:27 PM
How do I get these new fields to show up on the memberlist and how can I set it so that I can search by these new fields?

The-Ensemble
09-25-2006, 10:35 PM
I'm not sure you can, Oo wait I'm sure you set it to do that in user profile field manager.

marlita
09-25-2006, 10:47 PM
user profile field manager? can you explain more, please? thanks

Wired1
09-26-2006, 12:04 AM
ok, I'm reinstallin the hack, and it seems to work right now, but as soon as I add this part of the hack:

"FIND:

// END CUSTOM PROFILE FIELDS
// *************************

AFTER IT ADD:

($hook = vBulletinHook::fetch_hook('member_extras')) ? eval($hook) : false;"

I get database error..

why is that?
Will everythin work evern without this line?That code does NOT exist in this hack. Please post in the correct area:
Additional Section within Profile and Dropdown within Posts (https://vborg.vbsupport.ru/showthread.php?t=123254)


I have a problem!

I can edit the profile fields within the user profile, when I'm logged in as admin. But: users can't edit the fields themself in their panel.

And: whem I look at the vB User Profile Field Manager, it doesn't show my fields!

It goes from 1-2-3-4-9 (!). 5-6-7-8 are gone!

In otherwords, under User Profile Fields in Area: Edit Profile you have 1-2-3-4-9, and there is no User Profile Fields in Area: Options: Extra Options under that, correct? If so, have you done ALL of the manual edits? Specifically, the edits to admincp/profilefield.php?


any way to show these specs under the users name when they post like location, age, and post count do?Please read the first post, as it does explain this.Additional Section within Profile and Dropdown within Posts (https://vborg.vbsupport.ru/showthread.php?t=123254)


How do I get these new fields to show up on the memberlist and how can I set it so that I can search by these new fields?a) Please read the first post, as it does explain this. Additional Section within Profile and Dropdown within Posts (https://vborg.vbsupport.ru/showthread.php?t=123254)
b) https://vborg.vbsupport.ru/showthread.php?t=98282 (3.5 version of this hack) - it has instructions at the end of the instruction file on how to make them searchable... HOWEVER IT WAS NEVER TESTED. I WILL NOT SUPPORT THAT CODE UNDER ANY VERSION OF THIS HACK.

Yes, you can set profile fields to be searchable when you create / edit a profile field... HOWEVER it will not work with the "extra options" profile fields. Code WILL need to be edited in the memberlist.php for it to work. The code listed in the 3.5 instructions for searchable profiles will DEFINITELY NOT work with 3.6 due to some changes in how Jelsoft changed some of their code. If you change query_read

to

query_read_slave

in the instructions, it will probably work, but again, I HAVE NOT TESTED THIS. NO GUARANTEE OF ANYTHING. If you screw up your forum, it's your fault. Test code on TEST forums, not live ones!

Eagle Creek
09-26-2006, 09:06 PM
maybe you should add the profile fields again, or look in the template for creating the profile fields, you can code profile fields to appear and not work, just check they aint there.
But how? It's making NEW fields with NEW ID's. So my members have to fill in their profile again?

The-Ensemble
09-26-2006, 09:59 PM
I'm not 100% myself, I know coding can make input fields which could cause your problem, I'd suggest just checking the code is right.

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

Could someone please tell me how to insert the input fields without using the $conditions thingy, I mean I want to put a certain amount of fields in a top tds, then have a new box with new title and have more fields in that one, to make things neater.
How would I do that and still have working fields?

Wired1
09-27-2006, 02:12 AM
But how? It's making NEW fields with NEW ID's. So my members have to fill in their profile again?NEW fields will of course get NEW IDs, however the old fields are still there, still marked with the extra options code. IF they're not showing in admin, you haven't done all of the steps in the instructions, specifically a MANUAL edit of a PHP file.


Could someone please tell me how to insert the input fields without using the $conditions thingy, I mean I want to put a certain amount of fields in a top tds, then have a new box with new title and have more fields in that one, to make things neater.
How would I do that and still have working fields?be more SPECIFIC. Do you mean splitting up the edit box, or splitting up the fields in the member page, or splitting up the fields in the dropdown?

The-Ensemble
09-28-2006, 05:51 AM
I want to add my own INPUT fields on the extra page. so members can fill them in and submit them, But I want to be able to split them up and put them on certain parts of the page.

Also I'd like to split up input boxes, drop downs for the extra page.

DannyITR
10-20-2006, 01:06 AM
Hi Wired,

I have the extra fields set to members list and searchable however they do not appear in the search members?advanced search page options nor in the members list. Can you help me?

MissKalunji
11-02-2006, 05:21 AM
ok i did everything said here (i have multiple one)

But its not showing the title of the profile field...

what am i forgetting?

Neutral Singh
11-02-2006, 07:49 AM
Fantastic addon!! Is it possible to show one of extra profile page if a use have selected a specific type of prfile field.

e.g. one user is buyer and another user is seller. Now based on selection a different set of fields show up in the extra profiles field.

Thanks for sharing this one.

Regards

Mookie
11-06-2006, 01:44 PM
I have created a extra profile field page and it works fine, updating my info and all but what i would like to do is be able to change the below code to allow me to change the location of my fields?

<form action="profile.php" method="post">

<input type="hidden" name="s" value="$session[dbsessionhash]" />

<input type="hidden" name="do" value="updateextra" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>

<td class="thead">$vbphrase[extra_options]</td>

</tr>

<tr>

<td class="panelsurround" align="center">

<div class="panel">

<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

$customfields[extra]



</div>

</div>

<div style="margin-top:$stylevar[cellpadding]px">

<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />

<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />

</div>

</td>

</tr>

</table>

</form>



I know $customfields[extra] is what imports my fields that I have selected but what would be the code so that i can manually input my desired code into the location that i want it in? ie Like i would like field10 and field12 on the same line instead of below each other and field14 before field2. If that makes any since.

Snake
11-11-2006, 05:23 PM
Wired, thanks for the hack again as I've re-installed it but is there a way to get rid of the redirect page when you later edit the extra infos? I really hate redirects.

adwade
11-20-2006, 05:16 AM
Hi Wired,

I have the extra fields set to members list and searchable however they do not appear in the search members?advanced search page options nor in the members list. Can you help me?

I just noticed this flaw myself.:cry: In AdminCP, in Profile Field Manager I had to set Which page displays this option? back to Edit Profile otherwise they would not show up in my Members Listing.:dead:

Are others experiencing this same thing?

adwade
11-20-2006, 05:25 AM
Thanks! Please post back if you're doing something cool with the mod :)

I run a Recumbent Bicycling Board (http://www.recumbentriders.org/) and this allows us to have a page with Riders Information (mileage to date, longest ride, etc) which is GREAT. Thanxx for the Add-on!

adwade
11-20-2006, 01:09 PM
any way to show these specs under the users name when they post like location, age, and post count do?

You might want to try this hack for doing that https://vborg.vbsupport.ru/showthread.php?t=123619

Slash_
11-22-2006, 07:14 AM
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

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

Kadi
11-24-2006, 02:19 PM
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?

Raw Sugar
11-27-2006, 04:51 AM
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!

Thorlax402
12-08-2006, 10:47 PM
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.

Raw Sugar
12-10-2006, 05:02 AM
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?

Thorlax402
12-10-2006, 10:08 PM
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

$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&amp;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&amp;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&amp;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&amp;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>&nbsp;&nbsp;</td>
<td width="100%">

<!-- main page contents -->
$HTML
<!-- / main page contents -->

</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>

Raw Sugar
12-11-2006, 03:41 AM
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.

$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&amp;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&amp;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&amp;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&amp;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>&nbsp;&nbsp;</td>
<td width="100%">

<!-- main page contents -->
$HTML
<!-- / main page contents -->

</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>

If you let me know what you mean by 'its just a blank page' then perhaps I can help you out a bit more?

Konstantinos
12-19-2006, 09:28 PM
why using this instead of creating custom fields using vb built system ?

Kadi
12-20-2006, 10:17 PM
Hi,

I'm installing this but I don't know where admincp/profilefield.php or includes/functions_user.php is for this part:

// *** 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

timetunnel
12-21-2006, 04:46 PM
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

Raw Sugar
12-22-2006, 11:04 PM
Alright since no one really responded to my question, I'm going to post it again. :)

How can you edit the template of this page? It doesn't really look all that great on my board, so I need to make it look better. Which template is it?

The dman
12-23-2006, 09:43 AM
OK I'm confused.

Could someone tell me (in simple terms) #1 how to change the title of "Extra Edit Options" to my own title and #2 how to add my own fields. I know it's user error but I would love to implement this and I'm not grasping the vbphrase concept. I already have 3 frustrating hours into this and no luck.:confused:

Thanks

Great mod by the way just what my site needs

Kadi
12-24-2006, 07:40 AM
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

I'm really sorry but I still don't get it.

I don't know where those files are.

The dman
12-24-2006, 09:46 AM
Kadi

profilefield.php is in your admin folder

functions_user.php is in your includes folder

The dman
12-24-2006, 11:44 AM
Sorry to be a pain but I have it all installed and I'm at a standstill. "Edit Extra Options" shows up and when I click on it it goes to an "Extra Options" page which has "save changes" and "reset fields" buttons but as far as entering my own fields I'm lost. Please can you explain a little bit more specifically on how to do this ?

I've read through this thread several times and and this mod is still kicking my butt.:confused:

Thanks

Raw Sugar
12-26-2006, 11:36 PM
Sorry to be a pain but I have it all installed and I'm at a standstill. "Edit Extra Options" shows up and when I click on it it goes to an "Extra Options" page which has "save changes" and "reset fields" buttons but as far as entering my own fields I'm lost. Please can you explain a little bit more specifically on how to do this ?

I've read through this thread several times and and this mod is still kicking my butt.:confused:

Thanks

Dman...

To add your own profile fields to the new page, you need to EDIT the fields you want there (or create a new one) and at the bottom of that page, it has a section called "Display Page". You need to change the drop down menu to say this: "Options: Extra Options". The address to the page you created is "/profile.php?do=extra". You can easily create a link to this page in the User CP by editing the usercp_shell template.

...Now... how do I edit the template???

The dman
12-27-2006, 12:26 AM
and at the bottom of that page, it has a section called "Display Page".

I see the light now:banana:

I'll have to take this up in the morning but thanks for the help and don't be surprised if I do ask that proverbial question:

...Now... how do I edit the template???

I know how to edit templates but I don't know if I specifically know how to do this edit,tomorrow will tell..:confused:

Thanks you've been a big help:cool:

Raw Sugar
12-28-2006, 03:21 PM
No problem, I love makin' myself feel smart so thank you for that opportunity, haha

Well, have ya figured it out? Any help would be so very greatly appreciated!

FrankP
01-02-2007, 07:03 AM
*Argh* ;-)

Yesterday we started the migration from 3.5.4 to current 3.6.4. I also updateded this Mod and I still have a problem which makes me crazy :confused:

In UserCP the link to the extra fields page is available, and a user is able to edit/save all the definied fields.

But I cannot find a way how to show the content of the fields inside the MEMBERINFO.

Using 3.5.4, we had a reference like

<td>$customfields2</td>

inside the template

Using this now in 3.6.4 shows absolutly nothing.

So I changed it to

<td>$customfields[extra]</td>

but all what's showing is a single "<"

It's a long time ago when we installed this mod into 3.5.4, so I cannot remember what we did that time.....

Maybe somebody is able to help me to show the content of those fields inside the member's profile (readable for everybody who has permissions to access the profile....)

Thanks in advance,

Frank

or

adwade
01-03-2007, 11:29 AM
I just noticed this flaw myself.:cry: In AdminCP, in Profile Field Manager I had to set Which page displays this option? back to Edit Profile otherwise they would not show up in my Members Listing.:dead:

Are others experiencing this same thing?

Any ideas on what's happened to Wired1? Says he's not been online since back in NOV06.

The bug I referred to above is serious enough that if I set the page that displays this option to "Extra Edit Options" then NONE of my Custom Profile Fields will show up in the Member List. By none, I'm not just referring to the ones used in this MOD, but I mean it prevents ALL Custom Data Fields from showing up in the members listing.

As such, I had to revert back to using the Edit Profile page in order to keep my members listing working correctly. However doing so means that one can no longer access the Custom Data Fields for this MOD. Neither to edit, or even see them.:disappointed:

RedGTiVR6
01-03-2007, 01:27 PM
I've gotten this mod working without a hitch. Now I just need to tailor the wording.

In the options window, it lists this as 'Edit Extra Options' and the title of the window as 'Extra Options'.

I'd like to change this to 'Edit CarPC Specs' and 'CarPC Specs'.

Based on the screen shots Wired1 posted, it's $vbphrase[edit_extra_options] and $vbphrase[extra_options]...however...I don't know what do to beyond that. I've changed the first to: $vbphrase[edit_carpc_specs] and $vbphrase[CarPC_Specs] only to find that the page dissapears when I refresh. So I gather that's not right...so where do I find where [edit_extra_options] and [extra_options] are determined?

RedGTiVR6
01-03-2007, 02:59 PM
got it!

wonderful mod!

nikki712
01-10-2007, 01:53 PM
What am I doing wrong? I installed this and I see the "Edit Extra Options" in my User CP, but I can't see the extra profile fields when VIEWING my profile. Can anyone help me out on this?

I also have the "Friends and Buddies (https://vborg.vbsupport.ru/showthread.php?p=873177)" modification installed. Could this be the reason my extra profile fields aren't viewable, except for when editing the profile?

nikki712
01-10-2007, 02:22 PM
Any ideas on what's happened to Wired1? Says he's not been online since back in NOV06.

The bug I referred to above is serious enough that if I set the page that displays this option to "Extra Edit Options" then NONE of my Custom Profile Fields will show up in the Member List. By none, I'm not just referring to the ones used in this MOD, but I mean it prevents ALL Custom Data Fields from showing up in the members listing.

As such, I had to revert back to using the Edit Profile page in order to keep my members listing working correctly. However doing so means that one can no longer access the Custom Data Fields for this MOD. Neither to edit, or even see them.:disappointed:
I just checked my member list and see that I'm experiencing the same thing you experienced. I'm removing this mod. It's a great concept, but it's definitely not working for me.

kafi
01-10-2007, 03:42 PM
Thank you Wired1 for this nice add-on.

I wish to save timestamp along with userfield. I want to display date when these userfield were edited. How will I achieve this?

Thank you!!!

Neutral Singh
02-03-2007, 12:06 AM
Is there anyway to do this without the core file edit? I am sure there must be.

Wired1
02-03-2007, 05:14 AM
I'm back. I'm responding to ones that I don't think have gotten answered yet, although the bast majority of these have already been answered in various forms in this thread, as well as the previous thread.


I've gotten this mod working without a hitch. Now I just need to tailor the wording.

In the options window, it lists this as 'Edit Extra Options' and the title of the window as 'Extra Options'.

I'd like to change this to 'Edit CarPC Specs' and 'CarPC Specs'.

Based on the screen shots Wired1 posted, it's $vbphrase[edit_extra_options] and $vbphrase[extra_options]...however...I don't know what do to beyond that. I've changed the first to: $vbphrase[edit_carpc_specs] and $vbphrase[CarPC_Specs] only to find that the page dissapears when I refresh. So I gather that's not right...so where do I find where [edit_extra_options] and [extra_options] are determined?Those are exactly what they state they are... VBPHRASES.

ADMINCP -> Languages & Phrases -> Search in Phrases

look for "extra_options". Edit how you like. In order to change the phrase variables to "$vbphrase[CarPC_Specs]", you first have to CREATE them.


What am I doing wrong? I installed this and I see the "Edit Extra Options" in my User CP, but I can't see the extra profile fields when VIEWING my profile. Can anyone help me out on this?

I also have the "Friends and Buddies (https://vborg.vbsupport.ru/showthread.php?p=873177)" modification installed. Could this be the reason my extra profile fields aren't viewable, except for when editing the profile?No. Read the first post again, CAREFULLY. There is an ADDON that does this.


I just checked my member list and see that I'm experiencing the same thing you experienced. I'm removing this mod. It's a great concept, but it's definitely not working for me.Read the 3.5.x hack instructions. There's BETA search code in there (which is really just vB's search code w/ one minor change). Search for the new code in 3.6.x (they changed like 1 minor thing in it IIRC), and it should work fine. A proper way to do this would involve a heavy rewrite, which I simply don't have the time for (hence why I haven't been around much).



I wish to save timestamp along with userfield. I want to display date when these userfield were edited. How will I achieve this?That's outside the scope of this hack.


Is there anyway to do this without the core file edit? I am sure there must be.uummmm..... NO. There are hacks similar to it, that don't require core hacks, but they require SQL edits, which is not something this hack needs. Neither are perfect, choose your poison.

UaeStar
02-03-2007, 08:21 AM
but not showing Extra Options why? no space!!!!!!!

i have vBulletin V3.6.4

UaeStar
02-04-2007, 09:42 AM
some help?

Wired1
02-06-2007, 06:29 PM
Can you be more specific?

adwade
02-08-2007, 07:51 PM
Read the 3.5.x hack instructions. There's BETA search code in there (which is really just vB's search code w/ one minor change). Search for the new code in 3.6.x (they changed like 1 minor thing in it IIRC), and it should work fine.
OH, this sounds like what I need to do!? But for someone who's not a coder, could you say that one-more-time...a little slower? :confused:

Are you saying to find/copy the BETA code out of the 3.5.x version into the 3.6.x version -or- to locate the 'similar code' in the 3.6.x version and then tidy it up somehow to get it to work properly? If the latter, the 'somehow' part would stump me. :(

Has anyone installed this MOD on vB3.6x that could copy/paste their modified memberlist.php file into a CODE box perhaps?

I LOVE the idea of this MOD, but at present it's broken on my system. :o

afmarko99
02-19-2007, 03:14 PM
Ok I installed this hack but like others I am having problems. I can go to my User CP and click on (Computer Specs) and it will bring me to the extra page. From there the only thing that is displayed is 'Save Changes' and 'Reset Fields'. Where do I go to add fields?

Did I miss something in the editing? The help file for this mod doesn't tell you how to add fields? The add-on does show you how to make certain fields display but I can't figure out this mod first.

afmarko99
02-19-2007, 06:58 PM
Ok so I have this mod working on my forum and I will say that I like it a lot.

Thank you.

I have two questions.

How would I move it to the right side under: Join Date, Location, Etc.
Also I am trying to figure out how to remove the box placed around 'EaglezEye's Computer Specs'. I want it to just display the text.

Can anyone help me?

????

Wired1
02-19-2007, 10:56 PM
How would I move it to the right side under: Join Date, Location, Etc.Example: http://www.thepublicenemy.net/member.php?u=1

What you have said is on the right, is on the left. What do you mean exactly?


Also I am trying to figure out how to remove the box placed around 'EaglezEye's Computer Specs'. I want it to just display the text.I don't see a box, which I'm assuming means you've fixed it? I'm assuming you were talking about a box created by a table or cell, or some vBulletin CSS code.

afmarko99
02-20-2007, 06:12 PM
Doh....I meant to post this problem under the posbit hack. I will move the post over.

imranbaig
02-26-2007, 08:01 AM
Hey man nice hack.
I tried installing this got an Error.
Did everything followed all steps, getting a blank page for user profile fields >> User Profile Field Manager

?? any suggestions?

Wired1
02-28-2007, 12:26 PM
un/reinstall it, it's a typo somewhere.

RedGTiVR6
03-02-2007, 11:16 PM
Can anyone tell me if this mod added any tables to the DB and if so, what are the names of those tables?

Perhaps I should ask for some assistance on this.

I have added Zoints to our web site.

One of the blocks that's avaliable out there will take the additional fields that are added to the normal profile (for lack of a better term) and port them over to your Zoints profile page.

It calls on table "cprofilefield" for this information.

I'm gathering that this mod uses the same table?

I'm trying to figure out how to tell this block to look at the fields for this mod rather than the fields that are under the normal profile area. I'm sure it's super easy (or maybe I'm just that ignorant), but I can't figure it out.

I've attached the code below.

# vBulletin Custom Profile Fields
# 1.0
# Soup (soup@zoints.com)
# http://dev.zoints.com/
#
# This block lets you display your custom profile fields
# from the old vBulletin profile
class user_vbulletin_custom_profile_fields extends z_module
{
function contents()
{
$vbulletin = $this->_zoints->external->vbulletin;
$languageid = intval($vbulletin->userinfo['languageid']);

# get custom phrases used in this block
$vbphrase = array();
$phrases = $vbulletin->db->query_read("
SELECT * FROM " . TABLE_PREFIX . "phrase
WHERE fieldname = 'cprofilefield'
AND (languageid = $languageid OR languageid = -1)
ORDER BY languageid DESC
");
while ($phrase = $vbulletin->db->fetch_array($phrases))
{
$vbphrase[$phrase['varname']] = $phrase['text'];
}
unset($phrase);
$vbulletin->db->free_result($phrases);

# get data from usertextfield for this user
$extended_info = $vbulletin->db->query_first("
SELECT * FROM " . TABLE_PREFIX . "userfield
WHERE userid = " . $this->zuser . "
");

$profilefields = $vbulletin->db->query_read("
SELECT profilefieldid, required, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0
AND hidden = 0
ORDER BY displayorder
");

$search = array(
'#(\r\n|\n|\r)#',
'#(<br />){3,}#', // Replace 3 or more <br /> with two <br />
);
$replace = array(
'<br />',
'<br /><br />',
);

$customfields = '';
while ($profilefield = $vbulletin->db->fetch_array($profilefields))
{
$profilefieldname = "field$profilefield[profilefieldid]";
$profilefield['title'] = $vbphrase[$profilefieldname . '_title'];

if ($profilefield['type'] == 'checkbox' OR $profilefield['type'] == 'select_multiple')
{
$data = unserialize($profilefield['data']);
foreach ($data AS $key => $val)
{
if ($extended_info["$profilefieldname"] & pow(2, $key))
{
$profilefield['value'] .= iif($profilefield['value'], ', ') . $val;
}
}
}
else if ($profilefield['type'] == 'textarea')
{
$profilefield['value'] = preg_replace($search, $replace, trim($extended_info["$profilefieldname"]));
}
else
{
$profilefield['value'] = $extended_info["$profilefieldname"];
}

if ($profilefield['value'] != '')
{
$customfields .= '<div class="' . $this->style['phead'] . '">' . $profilefield['title'] . '</div>';
$customfields .= '<div class="' . $this->style['pmain1'] . '">' . $profilefield['value'] . '</div>';
}

}
$vbulletin->db->free_result($profilefields);

return $customfields;
}
}

Any help would be greatly appreciated!

Wired1
03-05-2007, 01:39 PM
Can anyone tell me if this mod added any tables to the DB and if so, what are the names of those tables?At the top of all hacks it states if tables are added or not, or if any SQL changes have been made.

The answer is NO.


One of the blocks that's avaliable out there will take the additional fields that are added to the normal profile (for lack of a better term) and port them over to your Zoints profile page.

It calls on table "cprofilefield" for this information.

I'm gathering that this mod uses the same table?NO.

RedGTiVR6
03-05-2007, 04:06 PM
wow - sorry dood - just looking for a bit of help....perhaps from someone else in the thread.

Sorry!

Lionel
03-13-2007, 09:16 PM
This is cool. Thanks for sharing. I have 2 questions.

1-How can I fix the drop down on the extreme right as per image?

2-I am using for boat specs. How do I handle the gut with 2 boats, or do you handle the guy with 2 pc with 2 different config?

sheryarpatel
03-13-2007, 10:35 PM
does it work on 3.6.5 or 3.6.4

calord
03-25-2007, 08:57 AM
I'd like to make use of this mod, but I admit ...the instructions have me absolutely lost with how to create different pages for different profiles. I simply don't understand the editing of vbphrases, variables, and other such.

It's a gaming site. I need to be able to create "Edit X Profile" pages in the UserCP for each game. For example, users need to be able to create a profile for EVE, VG, and WoW. Please help me accomplish that. I need very specific instructions.

I downloaded the instructions you posted in page 2 of this thread (page.zip) and that just made me more confused. I don't get it. What do I need to edit, where, and how to create these extra pages? Sorry I'm not so VB savvy, I try, but my experiments aren't producing any results. The whole "change the ### to a number" was ....lost on me.

Any help is appreciated, and thank you for your patience.

Ted S
03-25-2007, 06:48 PM
does it work on 3.6.5 or 3.6.4

Yes.

OmniBuzz
04-05-2007, 01:36 PM
Hello Wired1, first thank you for this hack !
Everything is running fine (I have my extra page, the fields are there, etc.) but I have one simple issue : if I click on a user profile, I have an empty space with the extra page title, but nothing in it...
See the picture file attached if my english is not crystal clear (englsh is not my language)
How could I remove this ?
Thanks in advance for your help.

Wired1
04-06-2007, 02:00 PM
Hello Wired1, first thank you for this hack !
Everything is running fine (I have my extra page, the fields are there, etc.) but I have one simple issue : if I click on a user profile, I have an empty space with the extra page title, but nothing in it...
See the picture file attached if my english is not crystal clear (englsh is not my language)
How could I remove this ?
Thanks in advance for your help.

This hack does not touch that area, the Additional Section within Profile and Dropdown within Posts (https://vborg.vbsupport.ru/showthread.php?t=123254) does that. I'd un/reinstall it.

Tralala
04-21-2007, 11:45 PM
Read the 3.5.x hack instructions. There's BETA search code in there (which is really just vB's search code w/ one minor change). Search for the new code in 3.6.x (they changed like 1 minor thing in it IIRC), and it should work fine. A proper way to do this would involve a heavy rewrite, which I simply don't have the time for (hence why I haven't been around much).

To clarify, I just tried it... and found what worked for me. This is with this version of the hack, and vBulletin 3.6.5. And now the "extra" fields I choose are showing up in Members List and are searchable too.


All it took was changing two instances of form = 0 to form = 0 OR 6


In memberlist.php:


FIND:

$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
WHERE form = 0 "

REPLACE WITH:

$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
WHERE form = 0 OR 6 "



FIND:

// get extra profile fields
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND form = 0

REPLACE WITH:

// get extra profile fields
$profilefields = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "profilefield
WHERE searchable = 1
AND form = 0 OR 6



The only downside is that right now I have three "regular" User Profile fields that I had designated as "not searchable" -- and now, as result of this edit, they appear in the "Members List: Advanced Search." These particular fields don't work, mind you (searching in those fields just ends up showing the entire member list.) Which is fine by me... I didn't want them to be searchable in the first place. But the fact that the fields show up in the Advanced Search might be a bit confusing, that's all.

This is a compromise I am willing to make, because I wanted to have many of the "Extra" Profile Fields I created with this hack to show up in my Member List, and be Searchable... and now they are.

Thanks!

/clicks install

sross
04-29-2007, 10:59 PM
To clarify, I just tried it... and found what worked for me.


i tried that same thing and got an error :( i was hoping it would work.

Invalid SQL:

SELECT *
FROM profilefield
WHERE searchable = 1
WHERE form = 0 OR 6
ORDER BY displayorder;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE form = 0 OR 6
ORDER BY displayorder' at line 4
Error Number : 1064
Date : Sunday, April 29th 2007 @ 06:41:25 PM
Script : http://www.mysite.org/forums/memberlist.php
Referrer :

Any ideas? I need these fields to be searchable, getting desperate..

RedGTiVR6
04-29-2007, 11:30 PM
Thanks for posting the code.

I will give this a try on our forum and see if it works for us!

I'd really like these fields to be searchable as this would be invaluable market information for our site.

RedGTiVR6
05-24-2007, 03:20 PM
has anyone tried this on 3.6.6 or 3.6.7?

I have just upgraded to 3.6.7PL1 and I'm having an issue with the page not showing up under the UserCP.

I'm not sure where to search for this solution.

When I go to the UserCP and click on the link to go to where I would enter in the information, it's the below image:

http://www.mj-garage.com/pics/UserCP.JPG

When I go to the memberinfo page I see the following (yes, other mods installed too, but they are working):

http://www.mj-garage.com/pics/memberinfo.JPG

Thanks for the help anyone can provide!

Wired1
05-24-2007, 06:59 PM
has anyone tried this on 3.6.6 or 3.6.7?

I have just upgraded to 3.6.7PL1 and I'm having an issue with the page not showing up under the UserCP.

I'm not sure where to search for this solution.

When I go to the UserCP and click on the link to go to where I would enter in the information, it's the below image:

http://www.mj-garage.com/pics/UserCP.JPG

When I go to the memberinfo page I see the following (yes, other mods installed too, but they are working):

http://www.mj-garage.com/pics/memberinfo.JPG

Thanks for the help anyone can provide!

can't see it not working on newer versions as it's very basic code (haven't gotten a chance to test it yet); try un/reinstalling it; my guess is that you need to manually re-edit one of the template files again.

RedGTiVR6
05-25-2007, 01:23 PM
OK - fixed the first issue.

functions_user.php - I missed the file edit here when I was using Araxis Merge to compare old files to the new updated ones.

Still have the second issue though - but I'll take this over to the other thread for that part of the mod.

Raw Sugar
06-11-2007, 01:44 AM
Using 3.6.7 PL:

I am having the same problem that RedGTiVR6 was having... I can't seem to figure out how to fix it. Uninstalling and then reinstalling didn't work. :-/

Also, the extra profile fields I had before I upgraded no longer show up in the User Profile Fields Manager, but I can add new ones. However, they don't show up on the extra page. They do still show up in MEMBERINFO, though.

Any help would be greatly appreciated!

RedGTiVR6
06-11-2007, 02:00 AM
I'm still having trouble with the profile fields in the profile field page showing up all funny...like the columns are all off.

I had to go back and double check the template info to get it to all show up in the first place.

Still no word from Wired1 on it though...:(

Wired1
06-13-2007, 05:54 AM
can't duplicate the tables getting squinched on a fresh install, but someone just pointed out a variable that goes nowhere. Looks like a whole plugin is somehow missing from the uploaded code. I'll re-upload it tomorrow (sleep calls!)

Raw Sugar
06-13-2007, 02:52 PM
So all that we will need to do is re-download the plugin?

4x4 Mecca
06-14-2007, 03:39 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 :)


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


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.
I've done this on three seperate pages, and everything works fine until i to edit the field. No options show up there. Nothing does except a save button and a reset button

Ronin Storm
06-21-2007, 10:02 AM
i tried that same thing and got an error :( i was hoping it would work.

Invalid SQL:

SELECT *
FROM profilefield
WHERE searchable = 1
WHERE form = 0 OR 6
ORDER BY displayorder;



You've almost certainly either had this answered by PM or gone off and gotten bored in waiting but while I was searching for the answer to how to get the additional fields on the memberlist search I saw your problem...

... and it's an easy fix.

In your SQL code, it reads:

SELECT *
FROM profilefield
WHERE searchable = 1
WHERE form = 0 OR 6
ORDER BY displayorder;

See the second "WHERE form = 0 OR 6"? That's a cut and paste error. That should read "AND form = 0 OR 6".

Saviour
06-23-2007, 08:28 AM
Nice...

Clicked Installed.

xt0m
06-25-2007, 11:54 PM
No options show up there. Nothing does except a save button and a reset button

Same here and did it by the book.. Twice. :(

Tried un/re-installing but still same thing - shows the edit extra options over on the left, and the save and reset in the middle area. No fields to fill with information. Looking at the user profile there's only the extra options box and a white empty field below it :confused:

Saskia
06-27-2007, 10:42 AM
Okay finally I've had it do what I want, I didn't want the complete USER_CP shell on the extra profile page and forced a style on the page, to make it seem like a stand-alone RPG edit profile page.

I keep on loving this hack :D. Keep up the great work.

Saskia
06-27-2007, 01:02 PM
Sorry for doubleposting, but I'd like the page to redirect to somewhere other than the usercp.php page (as it is by default right now) when you submit your info. Since it uses the profile.php redirect it automatically gets redirected to usercp.php. Any idea on how to do a different redirect for this extra profile page?

EDIT: Nevermind, figured it out :).

ChrisBaktis
07-26-2007, 01:21 AM
This is something I have needed for a long time - how can I do a second set of extra fields...im going to offer advertising on my site - and I want to give access to extra profile fields for 1 group - so I know I can use this hack to do the seperate page then just use condtionals to make it available....i dont want to mess anything up so can you assist me on adding a second new catagory?

Wired1
07-27-2007, 12:20 AM
not sure what you mean by a second category (refresh me, it's been a long week!)

Tom_S
08-01-2007, 08:41 PM
Is this working with 3.6.8? I am having a heck of a time.

Wired1
08-02-2007, 03:40 AM
haven't tested it yet, but IIRC when I skimmed the 3.6.8 notes nothing struck out at me that could potentially break it.

Tom_S
08-02-2007, 11:13 AM
Well I installed and uninstalled it over 10 times and got nothing. I even tried it three times with the add on and still no luck. I don't know what I am missing but I have never had this bad of luck with any mod and we really could use this mod on our site.

It is a new day and I will try it again. ;)

Tom_S
08-03-2007, 03:01 AM
Well it seems that everyones site I look at in this thread is using an older version of VB so I am guessing it don't work with 3.6.8. I sure can't get it to work so unless a skimming glance at code is all you can tell me that is you have that is making it a keeper then I have a 2 days of install and uninstall that says it is a dead mod for me at any rate. What I see as kind of odd as well is that VB.org isn't using 3.6.8 either. Am I on to something? Should I have not used it?

insolentmuse
08-06-2007, 02:50 PM
Nevermind, fixed ":)

nnjj.net
08-07-2007, 04:18 PM
what if I want the same put for photograpgy
Camera
Lens
other

nnjj.net
08-11-2007, 10:29 AM
any one?
and does it work on 3.6.8?

Tom_S
08-11-2007, 02:32 PM
Okay now VB.org is updated to 3.6.8. Now since they see this upgrade as stable does this mod work with the upgrade or is this going to be tested with the upgrade at any point soon? I still can't get it to work.

Saviour
08-27-2007, 04:14 PM
Two weeks have passed and no one has replied regarding compatibility with 3.6.8...oh well...better days..."clicks uninstalled".

UPDATE:

Okay...I have this working...

Now I have to get the Additional Section Within Profile and Dropdown menu working...

If these mods are going to be supported...it'd be nice to have someone support them instead of racking our brains trying to get them to work...

Or just a little note at the beginning of the mod which versions of vBulletin the mod is compatible with...instead of having to search every post to see if someone has already inquired as to its compatibility with other vBulletin versions. Instead we get answers like..."I see no reason why it shouldn't work with version 3.6.X." Sure you don't...but did you test it?

htscpl
09-05-2007, 10:40 AM
FYI
Works well with 3.6.8. Still had to do the php file edits, but all my extra fields and pages are there. :up:

nnjj.net
09-05-2007, 02:56 PM
what if I want the same put for photograpgy
Camera
Lens
other

any one?
and does it work on 3.6.8?



any one?

Wired1
09-25-2007, 02:06 AM
Like I said, it should work with 3.6.8, as they didn't do any major upgrades.

And YES, it was tested, just forgot to update the version # at the top.

Add-ons like this which require manual edits, require manual edits each time there's an upgrade.

nnjj.net
09-25-2007, 02:47 PM
what if I want the same put for photograpgy
Camera
Lens
other

any one?

Wired1
09-26-2007, 04:20 AM
any one?

I don't understand what this sentence means (due to broken english and typos):

what if I want the same put for photograpgy

Do you mean you would like to use this plugin for Photography items, such as Camera Model, Lens Model, etc?

If this is what you mean, this is definitely possible, as the plugin is not dependant on the profile field descriptions. Follow the instructions and you'll be fine.

Raw Sugar
09-28-2007, 04:45 AM
All that you have to do to get this to work is to uninstall, then reinstall. And then re-upload the PHP files in the download. Everytime that I upgrade I have to do this.

The-Ensemble
09-30-2007, 04:52 PM
Erm, something weird has happened to mine, the profile fields in the extra page class (to be displayed on the extra profile page) no longer appear in Profile Field manager, it didn't delete them because they are still there when I look at a user.

Help please?

Raw Sugar
10-01-2007, 02:12 AM
Hey James, 'tis Jaci! Just as I said in the above post. It will work fine once you do this...

Just uninstall the plug-in and then re-install it. Then you want to re-upload the two PHP files in the download. If ya need any help then IM me on MSN.

chickadee
10-02-2007, 02:45 PM
Can I put my own form on the new page created, instead of the custom profile fields?

The Realist
10-02-2007, 03:37 PM
What two php files?

I dont see any download only a single XML file.

Regards.

Hey James, 'tis Jaci! Just as I said in the above post. It will work fine once you do this...

Just uninstall the plug-in and then re-install it. Then you want to re-upload the two PHP files in the download. If ya need any help then IM me on MSN.

The Realist
10-02-2007, 03:52 PM
I cant get this to work in 3.6.8 and the extra options are not showing in my admin panel.

Raw Sugar
10-02-2007, 05:58 PM
What two php files?

I dont see any download only a single XML file.

Regards.

Oh my bad... I know what I did. When I first downloaded the instructions, I downloaded the two PHP files from my vbulletin files and saved them in the folder just in case. So just download the two PHP files you make the edits too, check to make sure the edits are still there, then re-upload. Then it should work. I'm sorry, I forgot I did it this way. LoL

Hope it works for ya!

The Realist
10-02-2007, 06:05 PM
Thought that was it but I did the edits and the option still does not show.

Raw Sugar
10-02-2007, 06:14 PM
Oh hmmm... I dunno. Did you try uninstalling and re-installing the .xml file?

Wired1
10-03-2007, 03:21 AM
Can I put my own form on the new page created, instead of the custom profile fields?No, ergo why it's called Extra Profile Fields Page.

There are no PHP files that I have created. He may be talking about the edits of the PHP files. You have to re-do ALL of the steps in the instructions.

chickadee
10-03-2007, 08:16 AM
Ah ok, thanks!

The Realist
10-03-2007, 12:31 PM
I have and the options still dont show up?

There are no PHP files that I have created. He may be talking about the edits of the PHP files. You have to re-do ALL of the steps in the instructions.

The Realist
10-03-2007, 01:20 PM
Ok getting somewhere.

I now found out how to add additional fields which are now showing within a users control panel which they can edit as needed but........

The actual details are NOT showing up within a users profile?

Just like the http://www.houseofhelp.com/forums/member.php?u=15 which is using this hack to show system specs, I dont see this section within a users profile page although the user has added details.

Any ideas why its not showing?

Do I have to edit another template for it to show up?

Regards.

Wired1
10-03-2007, 01:26 PM
Just like the http://www.houseofhelp.com/forums/member.php?u=15 which is using this hack to show system specs, I dont see this section within a users profile page although the user has added details.

Any ideas why its not showing?Yep, that's the add on!

https://vborg.vbsupport.ru/showthread.php?t=123254

The Realist
10-05-2007, 12:53 PM
Well I had a look at the instructions and Im lost on that one M8.

Says to edit this and change that.

Help, all I want is the additional section in the members profile.

Yep, that's the add on!

https://vborg.vbsupport.ru/showthread.php?t=123254

Wired1
10-06-2007, 09:14 PM
check the other thread

Wired1
10-08-2007, 11:12 PM
Please don't post in this thread just to say you've posted in the other one :)

l3it3r
10-11-2007, 05:58 PM
reminder for me to try later - thanks

Dave-M
10-16-2007, 12:03 AM
Hi Wired1,

Thanks for this :)

I am struggling to get it to work. I have this (http://www.extremepixels.com/forum/index.php?styleid=64) custom skin, and I have followed the instructions to the letter, and here is what I have.

https://vborg.vbsupport.ru/external/2007/10/7.png

https://vborg.vbsupport.ru/external/2007/10/8.png

https://vborg.vbsupport.ru/external/2007/10/5.png

As you can see, I dont have any extra options showing, but I do have the extra options in the User CP menu on the left.

If someone could point me in the right direction, i would be eternally greatful :)

Thanks.

Dave.

Wired1
10-17-2007, 12:35 AM
I'm guessing that you haven't made or marked any profile fields as for this mod: User Profile Fields in Area: Options: <Insert var name here>

rabbits slayer
10-18-2007, 03:51 PM
https://vborg.vbsupport.ru/external/2007/10/7.png

How do I change the "Edit Extra Options" on the user cp to something like "Edit Spec" Thanks.

Wired1
10-18-2007, 06:40 PM
https://vborg.vbsupport.ru/external/2007/10/7.png

How do I change the "Edit Extra Options" on the user cp to something like "Edit Spec" Thanks.

$vbphrase[edit_extra_options] - Change this in the adminCP for vB Phrases

rabbits slayer
10-18-2007, 07:09 PM
thankyou. :)

bandare
10-19-2007, 10:16 AM
ok, I am lost. I added everything and then went in to the adminCP to create a couple of extra fields for users to add. I then added them in my profile and then went to see it listed. However, it doesn't show. I have just read up about going somewhere else to then install something and change a load of templates.

What I don't understand is what is the point of this particular addition if nobody will see anything as a result, until you download and change something else?????

Or am I doing something wrong so the profile will show the extra data?

thanks in advance....

Wired1
10-19-2007, 11:58 AM
ok, I am lost. I added everything and then went in to the adminCP to create a couple of extra fields for users to add. I then added them in my profile and then went to see it listed. However, it doesn't show. I have just read up about going somewhere else to then install something and change a load of templates.

What I don't understand is what is the point of this particular addition if nobody will see anything as a result, until you download and change something else?????

Or am I doing something wrong so the profile will show the extra data?

thanks in advance....

Read The Description Post @ The Top. For What You Want You ALSO Need To Install The Addon.

bandare
10-19-2007, 02:25 PM
I am trying to work out how to change the text on the left where it currently says edit Extra Options. I have been in to the USERCP Shell and tried to change this line:

<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>

so that it will read:

<td class="$navclass[extra]" style="white-space:nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_System_Spec]</a></td>
</tr>

but that didn't seem to do it. Could you assist pls.

Wired1
10-19-2007, 06:39 PM
That won't do it at all, unless you have a vbphrase with that new name. You need to go into the AdminCP options, search for the var, and edit the phrase. The vBulletin manual on their website has the instructions on how to do that.

kafi
10-28-2007, 10:24 AM
Hello Wired1,

I am upgrading my board from 3.6.4 to 3.6.8 and I see that in functions_user.php is hook at the place you edit the file:


{
switch ($profilefield['form'])
{
case 1:
$customfields['login'] .= $tempcustom;
break;
case 2:
$customfields['messaging'] .= $tempcustom;
break;
case 3:
$customfields['threadview'] .= $tempcustom;
break;
case 4:
$customfields['datetime'] .= $tempcustom;
break;
case 5:
$customfields['other'] .= $tempcustom;
break;
default:
($hook = vBulletinHook::fetch_hook('profile_fetch_profilefi elds_loc')) ? eval($hook) : false;
}
}
}





Is it possible to take advantage of this hook and get rid of manual file edits with each upgrade?

Thanks for your add-on!!!

Wired1
10-28-2007, 03:14 PM
Nope, won't work.

CoryNickerson
11-05-2007, 02:19 AM
Hello wired1

does this support BB code posting into these extra fields? please let me know. thanks!

Wired1
11-06-2007, 02:30 AM
Hello wired1

does this support BB code posting into these extra fields? please let me know. thanks!

This is just a modification of editing profile fields, so they have the same limitations.

Audentio
11-06-2007, 06:00 AM
Im guessing this doesnt work with 3.6.8? I dont see where to edit any of this stuff, nor does it show up in usercp nor anywhere in the acp that I can see. I checked vb options, everywhere.

Wired1
11-06-2007, 03:44 PM
Im guessing this doesnt work with 3.6.8? I dont see where to edit any of this stuff, nor does it show up in usercp nor anywhere in the acp that I can see. I checked vb options, everywhere.

It says at the top it works with 3.6.8, and I'm running 3.6.8 PL1, so yeah, it works :) The steps are correct. What are you not finding?

principino1984
11-06-2007, 04:13 PM
I'm using right now with 3.6.8 lp2

Marco

Audentio
11-06-2007, 07:24 PM
It says at the top it works with 3.6.8, and I'm running 3.6.8 PL1, so yeah, it works :) The steps are correct. What are you not finding?

I don't know, I don't know where to edit anything :P.

RedGTiVR6
11-07-2007, 01:43 AM
I'm not sure if this is related or not but I just updated to 3.6.8.PL2 and when trying to access member.php I ran into an error.

The error was rather generic so it led me to do further research. Basically unexpected end to the code on the last line of code in member.php (line 848).

When I compared the 3.6.8 version of member.php to the new version (3.6.8.pl2) I found that there was an addition on lines 573-574 as follows. Removing the added code (the vbulletin code, not the modification code) let's it run normally.

Any ideas?

if ($execute['profilefields'])
{

This was right before the following code which has been added:

// *********************
// CUSTOM PROFILE FIELDS
$profilefield_categories = array(0 => array());
$profilefields_result = $db->query_read_slave("
SELECT pf.profilefieldid, pf.profilefieldcategoryid, pf.required, pf.type, pf.data, pf.def, pf.height
FROM " . TABLE_PREFIX . "profilefield AS pf
LEFT JOIN " . TABLE_PREFIX . "profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND pf.hidden = 0") . "
ORDER BY pfc.displayorder, pf.displayorder
");
while ($profilefield = $db->fetch_array($profilefields_result))
{
$profilefield_categories["$profilefield[profilefieldcategoryid]"][] = $profilefield;
}

$customfields = '';
$customfields_category = array();
foreach ($profilefield_categories AS $profilefieldcategoryid => $profilefields)
{
$category = array(
'title' => $vbphrase["category{$profilefieldcategoryid}_title"],
'description' => $vbphrase["category{$profilefieldcategoryid}_desc"],
'fields' => ''
);

foreach ($profilefields AS $profilefield)
{
exec_switch_bg();

fetch_profilefield_display($profilefield, $userinfo["field$profilefield[profilefieldid]"]);

($hook = vBulletinHook::fetch_hook('member_customfields')) ? eval($hook) : false;

if ($profilefield['value'] != '')
{
$show['extrainfo'] = true;
eval('$category[\'fields\'] .= "' . fetch_template('memberinfo_customfields') . '";');
}
}

$customfields_category["$profilefieldcategoryid"] = $category['fields'];

eval('$customfields .= "' . fetch_template('memberinfo_customfields_category') . '";');
}
// END CUSTOM PROFILE FIELDS
// *************************

Wired1
11-07-2007, 02:26 AM
I don't know, I don't know where to edit anything :P.
The instructions do state what files to edit, as well as what code to replace, or where in the code to edit.

I'm not sure if this is related or not but I just updated to 3.6.8.PL2 and when trying to access member.php I ran into an error.

Just got the notice about PL2. Time to work on a new version! :)

It probably only needs a bracket moved or added based upon that snipped you posted.

Reading the news post about it here (http://www.vbulletin.com/forum/showthread.php?p=1442161), only 3 pages were changed, which I don't recall being edited within the instructions.

Come to think of it, I think that was a change in PL1? May want to read through the current instructions here, but I don't recall editing that part of the instructions. Either way, I'll look at it tomorrow.

RedGTiVR6
11-07-2007, 02:33 AM
It could have been in pl1...I didn't have a chance to make the update until pl2 was already out.

Audentio
11-09-2007, 12:06 AM
Sorry, I guess I have mods that might be conflicting with this since Ive edited and edited and re edited twice so there must be something wrong...

EDIT: I got it to work by actually typing the url because the table row wont appear in USERCP_SHELL. And when I edit one of the extra options, it doesn't show in member.php. I do have interactive profiles installed as well as Princeton's USERCP_SHELL mod.

EDIT2: Found the right template for those using Princetons mod. Its called GTPM_USERCP_SHELL. You will need to place the link in there.

And as for us using advanced profile fields...that might be a tough fix, what do you think? These fields wont show in there...

Wired1
11-09-2007, 01:58 PM
Got a standard member test acount I can log in as? BTW, I checked your member page, search your members for .co.uk and other domain extensions. Looks like at least one person is SEO spamming your site.

fatal1980
11-15-2007, 04:05 PM
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 :)


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


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.

This broke within my vb installation, and I wasn't able to remove it afterwards. You need to change the id of the mod to something different than ###

Wired1
11-16-2007, 06:03 PM
... ### is an EXAMPLE. It is NOT an ID. That is why in the post you quoted I said to REPLACE ### with whatever number you wish, e.g. 1, 2, 3, etc.

Majava
11-19-2007, 01:32 AM
I have had this isntalled for quite some time, but I have just recently noticed that the one field I wanted to be searchable isnt. When I look in the field manager in the AdminCP, the option for it to show up and be searchable is there and marked but when you look in the members list, it doesnt show in list or in advanced search.

Is it SUPPOSED to be and I messed something up or not?

Wired1
11-19-2007, 12:28 PM
It's not supposed to be searchable. If you hack the memberpage it may work, never really tested it.

Charmedfan
11-22-2007, 02:24 PM
Hey,
very nice hack, is it possible that the useres have to fill it out by the registration or that they would be remebered after it?

Thanks!

Wired1
11-23-2007, 06:04 PM
Hey,
very nice hack, is it possible that the useres have to fill it out by the registration or that they would be remebered after it?

Thanks!

Any profile field can be mandatory, it's a standard option when you make profile fields. Personally, I choose to just show those fields at registration, and not make them mandatory.

Dinatius
01-14-2008, 03:10 PM
The only downside is that right now I have three "regular" User Profile fields that I had designated as "not searchable" -- and now, as result of this edit, they appear in the "Members List: Advanced Search."

Got this narrowed down a bit - if you create a second db query for "form = 6" instead of tacking it on after form = 0, you can get only the ones you've designated as searchable. The problem I'm running into now is that hidden fields aren't showing up for people who can see hidden fields.

Wired1
01-14-2008, 06:05 PM
When 3.7.0 comes out I may try tackling the search, or start looking for a mod that may do it.

Mr. Boo
01-27-2008, 09:06 AM
Hi, Just wondering if this will be released for VB 3.7 just upgraded the forums and now realising how much I needed this mod...

*slaps self* for not checking if it was compatible

Wired1
01-28-2008, 05:15 PM
When 3.7 comes out I will start working on it, yes.

TCE Killa
01-28-2008, 05:22 PM
This is great, just what I needed, thanks alot. Installed.

Wired1
01-28-2008, 06:18 PM
No problemo!

PRCNet
01-31-2008, 06:04 AM
First off, Great mod. Love it.

Got it installed, and essentially working. Only one issue.
I've created User Profile Fields in the Admincp for use with the Options:Characters (The vbphrase I chose to create/use) yet when I click on Edit Characters in the UserCP the page comes up but no Profile Fields are there.

I know, I'm an idiot. What did I do wrong?

Wired1
01-31-2008, 11:07 PM
If all the steps were done, it should work. Hrm...

kau
02-03-2008, 08:44 AM
How do you integrate this hack after upgrading from 3.5.x to 3.6.x

If I uninstall the 3.5.x version and install the 3.6.x will all my user's data get erased?

Nineaxis
02-03-2008, 09:27 PM
Hi Wired1. Great hack, thanks! Works good.

My question is, can we add more than one extra profile fields page?

If so, how would this work?

Say for example, I have users who have widgets, one red, one blue, one yellow.

How can I it say:

Edit Yellow Widgets
Edit Blue Widgets
Edit Red Widgets

And each one have their own profile page. Does this hack support this?

Thanks!!

TCE Killa
02-06-2008, 01:11 AM
Is there away to add a second one aswell? I have added one, I just need one more, thanks.

Wired1
02-06-2008, 03:25 AM
How do you integrate this hack after upgrading from 3.5.x to 3.6.xUninstall 3.5.x version by reversing the install, then install 3.6.x.

If I uninstall the 3.5.x version and install the 3.6.x will all my user's data get erased?No. It's just a different way to look at profile fields.


Nineaxis, TCE Killa: Yes. The instructions are somewhere in the thread, but basically it involves duplicating the hack, and changing a couple of variable names. Only other way to do it would be to create a database to hold the fields, which some are against.

Wired1
02-06-2008, 03:30 AM
PRCNet: did you edit the pages manually as per the instructions? Also, you've turned PM receiving off.

MiahBeSmokin420
02-10-2008, 05:40 AM
so i can just edit all that stuff such as extra options and lets just say extra options 2 for example

do that to all the file edits and the xml and then i can just upload it again and have 2 new pages right?

ya i think im about right on that im not too sure though idk ill test that out tomarrow

thanks

**Clicked Installed**

Wired1
02-10-2008, 06:29 AM
pretty much yea

Jase2
02-16-2008, 06:30 PM
Hello Wired1,

Does this have to be the light blue in the postbit like on your site, or can it be a different colour?

Regards Jason :)

Wired1
02-17-2008, 02:40 AM
IIRC, it follows the template of the forum.

Jase2
02-24-2008, 09:54 PM
Ok, thanks.

I see TechSpot (www.techspot.com/vb) are using this drop down on their site, is this yours, or have they custom coded that? They don't have the blue background, just blue writing and that's how I'd like mine (if possible).

Regards Jason :)

Geeps
02-24-2008, 10:13 PM
Just got it working on our forum. Should be a great addition for our members!

Hades-1
02-24-2008, 11:36 PM
i like how on the demo profile it replaces the usergroups section with the extra fields.

Will it do that to my site to? I dont use joinable usergroups anyway so swapping out those sections of memberinfo would be nice.

Wired1
02-25-2008, 05:37 PM
I see TechSpot (www.techspot.com/vb) are using this drop down on their site, is this yours, or have they custom coded that? They don't have the blue background, just blue writing and that's how I'd like mine (if possible).Looks like they coded that on their own. The dropdown is either by their own coding, or the vBulletin dropdown one, but modified.


Just got it working on our forum. Should be a great addition for our members!Thanks!


i like how on the demo profile it replaces the usergroups section with the extra fields.

Will it do that to my site to?If you follow all of the instructions, yes. IIRC there's a section in the instructions where it says that's what you're doing.

Hugo Firth
02-27-2008, 04:17 PM
Hi, Is it possible to add more than one set of fields (i.e. two seperate boxes on the user profile page) ? :) I Havent looked into this code much, but might try and construct a simple gallery with it.

Wired1
02-27-2008, 05:14 PM
Hi, Is it possible to add more than one set of fields (i.e. two seperate boxes on the user profile page) ? :) I Havent looked into this code much, but might try and construct a simple gallery with it.

Depends on what you want to do, but yes, the code could be somewhat easily modified to have some fields on one box, some in another.

What type of gallery are you thinking of though? If pictures, then read up on vBulletin 3.7.0 :)

Hugo Firth
02-27-2008, 05:26 PM
No - more of a portfolio (so actually - yeah - pictures :p my bad), I have that part already, Im not that advanced at php, but I was wondering whether I could combine your code and this to make a simple vB mod for designers etc :)

BUT, I would like to have Another field, with more conventional info on it, and possible using your dropdown mod :) and I wondered if I could do both

Wired1
02-27-2008, 08:01 PM
Hrm, a bit confused as to what you want to do exactly. Yes, you can have pics and my mod in your member profile page. 3.7.0 will drastically change the member page however, so I'd take a look at the screenshots of the new page in the vBulletin.com forums (under Announcements).

RokuDaMerlin
02-28-2008, 12:04 AM
i have installed this and i see not the link in my profil :/

Wired1
02-28-2008, 01:16 PM
i have installed this and i see not the link in my profil :/http://www.rdm-designportal.com Correct?

That site uses Version 3.7.0 Beta 5 as of this posting, and this mod is clearly NOT for 3.7.

PC-Junky
03-02-2008, 01:03 PM
For the Moment..... installed in my Testforum. Works fine. :)

NeuroLancer
03-03-2008, 12:32 PM
http://www.rdm-designportal.com Correct?

That site uses Version 3.7.0 Beta 5 as of this posting, and this mod is clearly NOT for 3.7.

This looks great, just the sort of thing I need. Will this mod be updated for 3.7?

Wired1
03-03-2008, 03:56 PM
Yep.

Hugo Firth
03-05-2008, 08:56 PM
When I am selecting the display page for another profile field, extra options doesnt show up - even though I have followed instructions to the letter up to now - I use vB 3.6.8 - any ideas ? :) thanks

Wired1
03-06-2008, 08:12 PM
When I am selecting the display page for another profile field, extra options doesnt show up - even though I have followed instructions to the letter up to now - I use vB 3.6.8 - any ideas ? :) thanks

You followed this to the letter, correct? If so, this should have done it. If not, please PM me the code around these edits. I'd guess that when you edited functions_user.php, it wasn't saved, or uploaded perhaps?

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

t55
03-09-2008, 07:41 PM
Just thought I should mention this, the link does not appear in the UserCP if you have this addon installed: GTUserCP - Enhanced USERCP Interface

I disabled the above addon and this finally appeared in the UserCP.

Wired1
03-09-2008, 09:23 PM
Just thought I should mention this, the link does not appear in the UserCP if you have this addon installed: GTUserCP - Enhanced USERCP InterfaceMakes sense considering that the GTUserCP mod replaces the USERCP_SHELL.

Took a quick look at it, and I THINK (NOTE: UNTESTED, TRY AT YOUR OWN RISK, preferably on a test bed first) you can make 2 quick edits to add the Extra Options link.

In GTPM_USERCP_SHELL Find:

<tr>
<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
</tr>


after it paste:

<tr>
<td class="$navclass[extra]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_extra_options]</a></td>
</tr>



and in gtpm_usercp_navbit Find:

<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>


after it paste:

<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=extra">$vbphrase[edit_extra_options]</a></td></tr>




Again, note: UNTESTED! Not my fault if you run it on a live server and blow it up!

Jase2
03-25-2008, 02:46 PM
Hi Wired1,

Any chance you can release a 3.7 one anytime soon, since it's in RC stage? It would be greatly appreciated.

Regards Jason :)

DieselTruck
03-25-2008, 07:56 PM
Talk about Nerve racking..:(

I've went over my edits to my .php files. There are all correct. Template Edits are correct..

I see the Edit Options in my Edit profile. But, I can't see to add any options to edit. Under USER PROFILE FIELD MANAGER:

I don't see the "Extra Options" Line anywhere on there...

I know this has been asked alot... Any Ideas?