Only removes History content from Profile, not the heading

asimov - October 15, 2008 - 17:38
Project:MyAccount_alter
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

When deselectng the History section from the profile page, the History content gets removed, but there's still a heading of "History" that still appears.

#1

Jody Lynn - October 23, 2008 - 16:07
Status:active» postponed (maintainer needs more info)

I can't reproduce this. Do you by chance have blog module enabled? That seems to be the only other module involved in the 'History' section. If you're using that I can debug from there. Otherwise please send a list of modules you have enabled.

#2

bio44 - December 9, 2008 - 22:34
Version:5.x-1.2» 6.x-1.x-dev

in D6, I disabled blog and Member for, but History title still appears on my account page if the user is part of an organic group because og's "Group:" list that shows your memberships. you aren't able to disable this with myaccount_alter

#3

bio44 - December 10, 2008 - 02:43

More testing with my setting.
If you view a users profile and they are not in a group, "History" doesn't show up. If they are in a group, History does show up but doesn't show the groups (blank History)

#4

Jody Lynn - January 2, 2009 - 18:38

I tried it with og and blog modules enabled and can't reproduce. Note that when you visit the myaccount_alter config page that it only shows you the sections which the current user has displayed on their my account page. In other words, you won't be able to disable 'Groups' from all your users unless you have that section appearing on your account page, since otherwise it has no way of knowing that that section exists.

Still I messed around with various combinations using blog and og modules turning off the sections and got the expected behavior ("History" only shows up when there is something appearing under it.)

Can you create a test site with just these modules and try to reproduce the bug and give me steps to reproduce?

#5

joostvdl - July 19, 2009 - 17:02

Issue still exist

Temporary solution is to login as a normal user after giving it the "administer myaccount_alter" right. The call the URL http://{website}/admin/user/myaccount-alter and change the settings. After that you can remove the rights, but now everything is removed from displaying.

 
 

Drupal is a registered trademark of Dries Buytaert.