I saw a few similar support requests, but none of their solutions worked for me.

On my user pages, there is already an "Edit" tab, with "User Profile" and "Account Settings" for sub-tabs.

If I go to Site Configuration -> Advanced Profile and check "User Profile" under "Select Types to Add Edit Tabs For," it adds an "Edit User Profile" tab. I don't want this (because there's already the Edit -> User Profile tabs described above), so I uncheck it. But then, there's an "Edit" tab in its place. When I click it, it goes to the "Create Content" page. How do I get rid of this "Edit" tab? It goes away when I turn off "Node profile helper," but then the node profiles don't show up on the user pages.

I really appreciate any help! Thanks!

Comments

michelle’s picture

Title: Extra Edit Tab » Extra Edit Tab when enabling and disabling tab in settings
Category: support » bug

Ok, it sounds like there's a bug in there when you enable and then disable a tab. That's not something I tested. I don't have a test site set up with nodeprofile right now since I use bio on my own sites. Will look at it soon as I can.

Michelle

kvcrawford’s picture

So it's not my fault? Haha, I thought I did something wrong. This is my first stab at Drupal, so everything is a big learning process right now...

I could give you access to my test site if you'd like. I used nodeprofile because it seemed it might be better suited for what I need to do (I'm making a dating website, and need user profiles with image galleries, front-end can be seen at http://kevinvancrawford.com/winggirl/kevincrawford.html). Would bio work for a profile like this? It seems like its implementation might be easier.

michelle’s picture

Assigned: Unassigned » michelle

You only need nodeprofile if you want multiple profile nodes per user. Otherwise bio works fine. Thanks for the site access offer but I need to set up a test site where I can get at the code to debug it. Just not sure when I can, sorry, I'm pretty bogged down in advforum right now and also need to get back to a client site that's been neglected lately.

Michelle

aterchin’s picture

Fixed the extra tabs issue by going to Advanced profile settings page at admin/settings/advanced-profile and unchecking any and every 'type' you've selected to add tabs for. Save, then recheck them and your tabs are back to normal.
http://drupal.org/node/253755

Sounds like youre having the same problem I was. Let me know if that works.

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

Setting this to needs more info waiting on a response to #4

Michelle

kvcrawford’s picture

Hey Michelle, the solution in post #4 doesn't do anything. The only type I have in that list is "User Profile," and when it's unchecked, an "Edit" tab is added that links to the content creation page. When it's checked, that "Edit" tab changes to "Edit User Profile," and it links to a page where they can edit their user profile.

Do you think I would be able to use bio instead? My original thinking was that the profile should be 1 node, and the user image galleries should be another node, and the two nodes should be displayed on the user pages with panels.

Thanks!

michelle’s picture

Status: Postponed (maintainer needs more info) » Active

Setting this back to active. Just cleaning up the queue right now. No time for the hard ones, sorry.

Michelle

Johnny vd Laar’s picture

Status: Postponed (maintainer needs more info) » Active

ok I ran into the same problem

I've set two contenttypes as node profile types but have only 1 checked in the admin/settings/advanced-profile page (uprofile)

the nodeprofile_helper.module has this on line 11:
$typenames = variable_get('advanced_profile_typenames','');

printing out the $typenames variable returned this:
Array ( [uprofile] => uprofile [page] => 0 )

so i've added this on line 17:
if($typename === 0) continue;

and now all works fine

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

I can't reproduce this. I have a test site set up with node profile and I started with the uprofile type that comes with advprofile and had that working fine. Then I added another type "alt-profile" and set that as a nodeprofile type but did not check that on the advprofile settings page. My tabs look just fine.

Could someone with this issue lay out the steps to reproduce this on a clean install, please?

Michelle

michelle’s picture

Status: Active » Fixed

10 days and no response. Going to consider this fixed.

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.